|
|
1610cc3 |
%if 0%{?fedora}
|
|
|
1610cc3 |
%global with_python 1
|
|
|
1610cc3 |
%endif
|
|
|
1610cc3 |
|
|
|
32ae099 |
Name: libcec
|
|
|
76d1a49 |
Version: 6.0.2
|
|
|
f0d37d6 |
Release: 16%{?dist}
|
|
|
32ae099 |
Summary: Library and utilities for HDMI-CEC device control
|
|
|
ef9e6d4 |
License: GPL-2.0-or-later
|
|
|
32ae099 |
URL: http://libcec.pulse-eight.com/
|
|
|
dd1f5dd |
Source0: https://github.com/Pulse-Eight/%{name}/archive/%{name}-%{version}.tar.gz
|
|
|
9dbd9c3 |
Patch1: libcec-pythonlib.patch
|
|
|
ef9e6d4 |
# Fix FTBFS with Python 3.13
|
|
|
ef9e6d4 |
Patch2: libcec-python13.patch
|
|
|
32ae099 |
|
|
|
92db8cd |
BuildRequires: gcc
|
|
|
92db8cd |
BuildRequires: gcc-c++
|
|
|
86e783a |
BuildRequires: cmake
|
|
|
86e783a |
BuildRequires: libXrandr-devel
|
|
|
86e783a |
BuildRequires: lockdev-devel
|
|
|
e0adfb9 |
BuildRequires: ncurses-devel
|
|
|
86e783a |
BuildRequires: platform-devel
|
|
|
1610cc3 |
%if 0%{?with_python}
|
|
|
e0adfb9 |
BuildRequires: python3-devel
|
|
|
1610cc3 |
%endif
|
|
|
e0adfb9 |
BuildRequires: swig
|
|
|
86e783a |
BuildRequires: systemd-devel
|
|
|
133e0bc |
BuildRequires: findutils
|
|
|
32ae099 |
|
|
|
32ae099 |
%description
|
|
|
32ae099 |
libCEC allows you in combination with the right hardware to control your device
|
|
|
32ae099 |
with your TV remote control over your existing HDMI cabling.
|
|
|
32ae099 |
|
|
|
32ae099 |
libCEC is an enabling platform for the CEC bus in HDMI, it allows developers to
|
|
|
32ae099 |
interact with other HDMI devices without having to worry about the communication
|
|
|
32ae099 |
overhead, handshaking, and the various ways of send messages for each vendor.
|
|
|
32ae099 |
|
|
|
e0adfb9 |
%package devel
|
|
|
e0adfb9 |
Summary: Development package for %{name}
|
|
|
e0adfb9 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
e0adfb9 |
Requires: pkgconfig
|
|
|
32ae099 |
|
|
|
32ae099 |
%description devel
|
|
|
32ae099 |
Files for development with %{name}.
|
|
|
32ae099 |
|
|
|
1610cc3 |
%if 0%{?with_python}
|
|
|
e0adfb9 |
%package -n python3-libcec
|
|
|
e0adfb9 |
Summary: A Python 3 interface to libcec
|
|
|
e0adfb9 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
b75f663 |
%py_provides python3-cec
|
|
|
e0adfb9 |
|
|
|
e0adfb9 |
%description -n python3-libcec
|
|
|
e0adfb9 |
Python 3 bindings for libcec
|
|
|
1610cc3 |
%endif
|
|
|
e0adfb9 |
|
|
|
32ae099 |
%prep
|
|
|
9dbd9c3 |
%autosetup -p1 -n %{name}-%{name}-%{version}
|
|
|
32ae099 |
|
|
|
32ae099 |
# Remove non linux binaries
|
|
|
dd1f5dd |
rm -rf support
|
|
|
32ae099 |
rm -rf driver
|
|
|
32ae099 |
|
|
|
32ae099 |
%build
|
|
|
133e0bc |
%cmake \
|
|
|
02e4a6d |
-DHAVE_LINUX_API=on
|
|
|
86e783a |
|
|
|
4fed02e |
%cmake_build
|
|
|
32ae099 |
|
|
|
32ae099 |
%install
|
|
|
4fed02e |
%cmake_install
|
|
|
32ae099 |
|
|
|
32ae099 |
#Remove libtool archives.
|
|
|
86e783a |
find %{buildroot} -name '*.la' -delete
|
|
|
86e783a |
|
|
|
86e783a |
# Remove versioned binaries
|
|
|
86e783a |
rm %{buildroot}/%{_bindir}/cec-client %{buildroot}/%{_bindir}/cecc-client
|
|
|
86e783a |
mv %{buildroot}/%{_bindir}/cec-client-%{version} %{buildroot}/%{_bindir}/cec-client
|
|
|
86e783a |
mv %{buildroot}/%{_bindir}/cecc-client-%{version} %{buildroot}/%{_bindir}/cecc-client
|
|
|
32ae099 |
|
|
|
c5d76a5 |
%ldconfig_scriptlets
|
|
|
32ae099 |
|
|
|
32ae099 |
%files
|
|
|
86e783a |
%license COPYING
|
|
|
8bffedc |
%doc AUTHORS
|
|
|
32ae099 |
%{_bindir}/cec-client
|
|
|
86e783a |
%{_bindir}/cecc-client
|
|
|
32ae099 |
%{_libdir}/libcec.so.*
|
|
|
32ae099 |
|
|
|
32ae099 |
%files devel
|
|
|
32ae099 |
%{_includedir}/libcec
|
|
|
32ae099 |
%{_libdir}/pkgconfig/libcec.pc
|
|
|
32ae099 |
%{_libdir}/libcec.so
|
|
|
32ae099 |
|
|
|
1610cc3 |
%if 0%{?with_python}
|
|
|
e0adfb9 |
%files -n python3-libcec
|
|
|
2d59468 |
%{_bindir}/pyCecClient
|
|
|
e0adfb9 |
%{python3_sitearch}/cec/
|
|
|
1610cc3 |
%endif
|
|
|
e0adfb9 |
|
|
|
32ae099 |
%changelog
|
|
|
f0d37d6 |
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.2-16
|
|
|
f0d37d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
f0d37d6 |
|
|
|
e75aa7a |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.2-15
|
|
|
e75aa7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
e75aa7a |
|
|
|
ef9e6d4 |
* Wed Oct 25 2023 Mohamed El Morabity <melmorabity@fedoraproject.org> - 6.0.2-14
|
|
|
ef9e6d4 |
- Fix RHBZ #2245791
|
|
|
ef9e6d4 |
- Switch license tag to SPDX
|
|
|
ef9e6d4 |
|
|
|
20673a9 |
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.2-13
|
|
|
20673a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
20673a9 |
|
|
|
4482e31 |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 6.0.2-12
|
|
|
4482e31 |
- Rebuilt for Python 3.12
|
|
|
4482e31 |
|
|
|
3b692a2 |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.2-11
|
|
|
3b692a2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
3b692a2 |
|
|
|
b75f663 |
* Wed Sep 28 2022 Petr Menšík <pemensik@redhat.com> - 6.0.2-10
|
|
|
b75f663 |
- Provide also name matching imported python module
|
|
|
b75f663 |
|
|
|
13cfd6a |
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.2-9
|
|
|
13cfd6a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
13cfd6a |
|
|
|
38e9bfa |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 6.0.2-8
|
|
|
38e9bfa |
- Rebuilt for Python 3.11
|
|
|
38e9bfa |
|
|
|
02e4a6d |
* Fri Mar 04 2022 Andrew Bauer <zonexpertconsulting@outlook.com> - 6.0.2-7
|
|
|
02e4a6d |
- The cmake macro should no longer be called with a folder name
|
|
|
02e4a6d |
|
|
|
133e0bc |
* Fri Mar 04 2022 Andrew Bauer <zonexpertconsulting@outlook.com> - 6.0.2-6
|
|
|
133e0bc |
- add findutils build dep
|
|
|
133e0bc |
- fix how cmake is called for newer cmake
|
|
|
133e0bc |
|
|
|
cf1833f |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.2-5
|
|
|
cf1833f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
cf1833f |
|
|
|
c9b00dc |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.2-4
|
|
|
c9b00dc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
c9b00dc |
|
|
|
c62af49 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 6.0.2-3
|
|
|
c62af49 |
- Rebuilt for Python 3.10
|
|
|
c62af49 |
|
|
|
8f8032c |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.2-2
|
|
|
8f8032c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
8f8032c |
|
|
|
76d1a49 |
* Wed Aug 26 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 6.0.2-1
|
|
|
76d1a49 |
- Update to 6.0.2
|
|
|
76d1a49 |
|
|
|
ac5266c |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-5
|
|
|
ac5266c |
- Second attempt - Rebuilt for
|
|
|
ac5266c |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
ac5266c |
|
|
|
bd86d8d |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-4
|
|
|
bd86d8d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
bd86d8d |
|
|
|
b85c5b8 |
* Tue Jun 02 2020 Charalampos Stratakis <cstratak@redhat.com> - 5.0.0-3
|
|
|
b85c5b8 |
- Improve python libs dir detection for pre-releases (#1791947)
|
|
|
b85c5b8 |
|
|
|
f2f741d |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 5.0.0-2
|
|
|
f2f741d |
- Rebuilt for Python 3.9
|
|
|
f2f741d |
|
|
|
49ca04b |
* Tue Apr 28 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 5.0.0-1
|
|
|
49ca04b |
- Update to 5.0.0 release
|
|
|
49ca04b |
- Enable Linux native CEC support
|
|
|
49ca04b |
|
|
|
d8df5c8 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.4-6
|
|
|
d8df5c8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
d8df5c8 |
|
|
|
e96b4a1 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 4.0.4-5
|
|
|
e96b4a1 |
- Rebuilt for Python 3.8
|
|
|
e96b4a1 |
|
|
|
8b1af88 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.4-4
|
|
|
8b1af88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
8b1af88 |
|
|
|
078dca4 |
* Mon Feb 18 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.0.4-1
|
|
|
078dca4 |
- Update to 4.0.4
|
|
|
078dca4 |
- Fix issue with python3 (RHBZ 1665546)
|
|
|
078dca4 |
|
|
|
828d43b |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.3-3
|
|
|
828d43b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
828d43b |
|
|
|
9dbd9c3 |
* Tue Dec 18 2018 Simone Caronni <negativo17@gmail.com> - 4.0.3-2
|
|
|
9dbd9c3 |
- Re-add updated Python libraries patch.
|
|
|
9dbd9c3 |
|
|
|
92db8cd |
* Mon Nov 12 2018 Peter Robinson <pbrobinson@fedoraproject.org> 4.0.3-1
|
|
|
92db8cd |
- Update to 4.0.3
|
|
|
92db8cd |
|
|
|
279b75c |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-9
|
|
|
279b75c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
279b75c |
|
|
|
e6cdce1 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 4.0.2-8
|
|
|
e6cdce1 |
- Rebuilt for Python 3.7
|
|
|
e6cdce1 |
|
|
|
cdce962 |
* Wed Mar 7 2018 Peter Robinson <pbrobinson@fedoraproject.org> 4.0.2-7
|
|
|
691ab02 |
- Add gcc BR
|
|
|
691ab02 |
|
|
|
1cdd7c4 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-6
|
|
|
1cdd7c4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
1cdd7c4 |
|
|
|
474ed6e |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-5
|
|
|
474ed6e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
474ed6e |
|
|
|
84e17b4 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-4
|
|
|
84e17b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
84e17b4 |
|
|
|
080dc39 |
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.2-3
|
|
|
080dc39 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
080dc39 |
|
|
Iryna Shcherbina |
8e8763a |
* Thu Feb 23 2017 Iryna Shcherbina <ishcherb@redhat.com> 4.0.2-2
|
|
Iryna Shcherbina |
8e8763a |
- Fix python3-libcec dragging in both Python 3 and Python 2 (RHBZ#1420396)
|
|
Iryna Shcherbina |
8e8763a |
|
|
|
49c6ec7 |
* Fri Feb 3 2017 Peter Robinson <pbrobinson@fedoraproject.org> 4.0.2-1
|
|
|
49c6ec7 |
- Update to 4.0.2
|
|
|
49c6ec7 |
|
|
|
573d27b |
* Sat Jan 7 2017 Peter Robinson <pbrobinson@fedoraproject.org> 4.0.1-1
|
|
|
573d27b |
- Update to 4.0.1
|
|
|
573d27b |
|
|
|
c56ac2b |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 4.0.0-2
|
|
|
c56ac2b |
- Rebuild for Python 3.6
|
|
|
c56ac2b |
|
|
|
dd1f5dd |
* Sun Oct 30 2016 Peter Robinson <pbrobinson@fedoraproject.org> 4.0.0-1
|
|
|
dd1f5dd |
- Update to 4.0.0
|
|
|
dd1f5dd |
|
|
|
73e48ab |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-3
|
|
|
73e48ab |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
73e48ab |
|
|
|
1610cc3 |
* Mon May 16 2016 Peter Robinson <pbrobinson@fedoraproject.org> 3.1.0-2
|
|
|
1610cc3 |
- Don't build python3 bindings on EPEL
|
|
|
1610cc3 |
|
|
|
e0adfb9 |
* Wed Jan 20 2016 Peter Robinson <pbrobinson@fedoraproject.org> 3.1.0-1
|
|
|
e0adfb9 |
- Update to 3.1.0
|
|
|
e0adfb9 |
- Build python3 bindings
|
|
|
de08571 |
|
|
|
938d665 |
* Mon Jan 18 2016 Ville Skyttä <ville.skytta@iki.fi> - 3.0.1-2
|
|
|
938d665 |
- Build with $RPM_OPT_FLAGS (use %%cmake macro)
|
|
|
938d665 |
|
|
|
86e783a |
* Tue Jan 12 2016 Peter Robinson <pbrobinson@fedoraproject.org> 3.0.1-1
|
|
|
86e783a |
- Update to 3.0.1
|
|
|
86e783a |
|
|
|
acf4c55 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-3
|
|
|
acf4c55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
acf4c55 |
|
|
|
3530973 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.2.0-2
|
|
|
3530973 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
3530973 |
|
|
|
553ea2d |
* Mon Nov 10 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2.2.0-1
|
|
|
553ea2d |
- Update to 2.2.0
|
|
|
553ea2d |
|
|
|
d1bc7e9 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.4-3
|
|
|
d1bc7e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
d1bc7e9 |
|
|
|
41790ee |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.4-2
|
|
|
41790ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
41790ee |
|
|
|
2e41d66 |
* Mon Dec 16 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2.1.4-1
|
|
|
2e41d66 |
- Update to 2.1.4
|
|
|
2e41d66 |
|
|
|
a16a534 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-2
|
|
|
a16a534 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
a16a534 |
|
|
|
c0a7176 |
* Fri May 17 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2.1.3-1
|
|
|
c0a7176 |
- Update to 2.1.3
|
|
|
c0a7176 |
|
|
|
b7ce838 |
* Mon Mar 4 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2.1.0-1
|
|
|
b7ce838 |
- Update to 2.1.0
|
|
|
b7ce838 |
|
|
|
660c461 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-2
|
|
|
660c461 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
660c461 |
|
|
|
c18e1e6 |
* Fri Dec 7 2012 Peter Robinson <pbrobinson@fedoraproject.org> 2.0.5-1
|
|
|
c18e1e6 |
- Update to 2.0.5
|
|
|
c18e1e6 |
|
|
|
32ae099 |
* Sun Nov 18 2012 Peter Robinson <pbrobinson@fedoraproject.org> 2.0.4-1
|
|
|
32ae099 |
- Update to 2.0.4
|
|
|
32ae099 |
|
|
|
32ae099 |
* Mon Nov 12 2012 Peter Robinson <pbrobinson@fedoraproject.org> 2.0.3-1
|
|
|
32ae099 |
- Update to 2.0.3
|
|
|
32ae099 |
|
|
|
32ae099 |
* Sun Nov 4 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.9.0-2
|
|
|
32ae099 |
- Updates from review
|
|
|
32ae099 |
|
|
|
32ae099 |
* Wed Sep 26 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.9.0-1
|
|
|
32ae099 |
- Update to 1.9.0
|
|
|
32ae099 |
|
|
|
32ae099 |
* Sat Jun 30 2012 Peter Robinson <pbrobinson@gmail.com> 1.7.1-1
|
|
|
32ae099 |
- Initial packaging
|