2024-01-06 06:24:00 +01:00
|
|
|
Name: lirc
|
2024-01-06 06:24:00 +01:00
|
|
|
Version: 0.9.2
|
2024-01-06 06:24:00 +01:00
|
|
|
Epoch: 1
|
2024-01-06 06:24:00 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 06:24:00 +01:00
|
|
|
Summary: A package that allows you to decode and send infra-red signals
|
|
|
|
Group: System/Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.lirc.org/
|
2024-01-06 06:24:00 +01:00
|
|
|
Source: https://downloads.sourceforge.net/project/lirc/LIRC/%{version}/lirc-%{version}.tar.bz2
|
2024-01-06 06:24:00 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libpthread-stubs-devel
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXau-devel
|
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
BuildRequires: libXdmcp-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: help2man >= 1.36.3
|
|
|
|
## FIXME: lirc has portaudio v.18 support but system has 19, patch needed
|
|
|
|
#BuildConflicts: libportaudio-devel
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
LIRC is a package that allows you to decode and send infra-red signals of many (but not all) commonly used remote controls.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
LIRC is a package that allows you to decode and send infra-red signals of many (but not all) commonly used remote controls.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--with-driver=none
|
|
|
|
|
|
|
|
# --with-driver=all
|
|
|
|
# --with-kerneldir=/usr/src/linux-%{KERNEL_VER}%{KERNEL_TARGET} \
|
|
|
|
# --with-moduledir=/lib/modules/%{KERNEL_VER}%{KERNEL_TARGET}/misc
|
|
|
|
|
2024-01-06 06:24:00 +01:00
|
|
|
%make systemddir=%{_unitdir}
|
2024-01-06 06:24:00 +01:00
|
|
|
#make -C drivers %{BUILD_OPTS} -j1
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
2024-01-06 06:24:00 +01:00
|
|
|
#sed -i "s|/bin/mknod|/bin/true|" drivers/Makefile drivers/*/Makefile
|
|
|
|
#sed -i "s|/sbin/depmod|/bin/true|" drivers/Makefile drivers/*/Makefile
|
2024-01-06 06:24:00 +01:00
|
|
|
|
2024-01-06 06:24:00 +01:00
|
|
|
#install -d %{buildroot}%{_sysconfdir}/lirc
|
|
|
|
#cp -a remotes/* %{buildroot}%{_sysconfdir}/lirc
|
2024-01-06 06:24:00 +01:00
|
|
|
%makeinstall systemddir=%{_unitdir}
|
2024-01-06 06:24:00 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
2024-01-06 06:24:00 +01:00
|
|
|
%post
|
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
systemctl -q daemon-reload
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
2024-01-06 06:24:00 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_sysconfdir}/lirc
|
|
|
|
%{_sysconfdir}/lirc/*
|
|
|
|
%{_bindir}/*
|
2024-01-06 06:24:00 +01:00
|
|
|
%{_sbindir}/lircd
|
|
|
|
%{_sbindir}/lircmd
|
|
|
|
%{_sbindir}/lirc-lsplugins
|
2024-01-06 06:24:00 +01:00
|
|
|
%{_unitdir}/lircd.service
|
|
|
|
%{_unitdir}/lircd.socket
|
|
|
|
%{_unitdir}/lircmd.service
|
2024-01-06 06:24:00 +01:00
|
|
|
%{_libdir}/liblirc_client.so.*
|
2024-01-06 06:24:00 +01:00
|
|
|
%{_libdir}/liblirc.so.*
|
|
|
|
%{_libdir}/liblirc_driver.so.*
|
|
|
|
%dir %{_libdir}/lirc
|
|
|
|
%dir %{_libdir}/lirc/plugins
|
|
|
|
%{_libdir}/lirc/plugins/*
|
|
|
|
%dir %{python3_sitelib}/lirc
|
|
|
|
%dir %{python3_sitelib}/lirc/__pycache__
|
|
|
|
%{python3_sitelib}/lirc/__pycache__/*
|
|
|
|
%{python3_sitelib}/lirc/baseview.py
|
|
|
|
%{python3_sitelib}/lirc/configs
|
|
|
|
%{python3_sitelib}/lirc/lirc-setup
|
|
|
|
%{python3_sitelib}/lirc/lirc-setup.ui
|
|
|
|
%{python3_sitelib}/lirc/mvc_control.py
|
|
|
|
%{python3_sitelib}/lirc/mvc_model.py
|
|
|
|
%{python3_sitelib}/lirc/mvc_view.py
|
|
|
|
%{python3_sitelib}/lirc/selectors.py
|
|
|
|
%dir %{_datadir}/lirc
|
|
|
|
%dir %{_datadir}/lirc/configs
|
|
|
|
%{_datadir}/lirc/configs/*
|
|
|
|
%dir %{_datadir}/lirc/contrib
|
|
|
|
%{_datadir}/lirc/contrib/*
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
%{_mandir}/man5/lircd.conf.5*
|
|
|
|
%{_mandir}/man8/lircd.8*
|
|
|
|
%{_mandir}/man8/lircmd.8*
|
|
|
|
%{_mandir}/man8/lircrcd.8*
|
|
|
|
#/var/run/lirc/lircd
|
|
|
|
#/var/run/lirc/lircm
|
2024-01-06 06:24:00 +01:00
|
|
|
%doc AUTHORS COPYING
|
2024-01-06 06:24:00 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 06:24:00 +01:00
|
|
|
%{_includedir}/lirc_*.h
|
2024-01-06 06:24:00 +01:00
|
|
|
%dir %{_includedir}/lirc
|
|
|
|
%{_includedir}/lirc/*.h
|
2024-01-06 06:24:00 +01:00
|
|
|
%{_includedir}/lirc/input_map.inc
|
|
|
|
%dir %{_includedir}/lirc/include
|
|
|
|
%dir %{_includedir}/lirc/include/media
|
|
|
|
%{_includedir}/lirc/include/media/lirc.h
|
|
|
|
%{_libdir}/liblirc_client.la
|
|
|
|
%{_libdir}/liblirc_client.so
|
|
|
|
|
|
|
|
%{_libdir}/liblirc.la
|
|
|
|
%{_libdir}/liblirc.so
|
|
|
|
%{_libdir}/liblirc_driver.la
|
|
|
|
%{_libdir}/liblirc_driver.so
|
|
|
|
%{_libdir}/pkgconfig/lirc-driver.pc
|
|
|
|
%{_libdir}/pkgconfig/lirc.pc
|
2024-01-06 06:24:00 +01:00
|
|
|
%dir %{_docdir}/lirc
|
|
|
|
%{_docdir}/lirc/*
|
2024-01-06 06:24:00 +01:00
|
|
|
#%doc ChangeLog NEWS README TODO
|
2024-01-06 06:24:00 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 06:24:00 +01:00
|
|
|
* Fri Jan 23 2015 Automatic Build System <autodist@mambasoft.it> 0.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:24:00 +01:00
|
|
|
* Sun Aug 31 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1a-1mamba
|
|
|
|
- update to 0.9.1a
|
|
|
|
|
2024-01-06 06:24:00 +01:00
|
|
|
* Thu Jun 12 2014 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 06:24:00 +01:00
|
|
|
* Fri Jan 04 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-9mamba
|
|
|
|
- kernel 3.4 rebuild
|
|
|
|
|
|
|
|
* Sat Oct 27 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-8mamba
|
|
|
|
- kernel 3.6 rebuild
|
|
|
|
|
|
|
|
* Sat Jun 30 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-7mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Feb 29 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-6mamba
|
|
|
|
- rebuilt without kernel modules package (mostly provided in recent kernels)
|
|
|
|
|
|
|
|
* Sun Feb 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-5mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Jan 25 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-4mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-3mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-2mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Apr 20 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-1mamba
|
|
|
|
- update to 0.9.0
|
|
|
|
|
|
|
|
* Mon Feb 07 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.7-2mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Dec 16 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.7-1mamba
|
|
|
|
- update to 0.8.7
|
|
|
|
|
|
|
|
* Thu Dec 16 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.6-4mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Wed Jun 30 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.6-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sat Dec 26 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.6-2mamba
|
|
|
|
- rebuild for kernel 2.6.31
|
|
|
|
|
|
|
|
* Sat Dec 26 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.6-1mamba
|
|
|
|
- update to 0.8.6
|
|
|
|
|
|
|
|
* Sun Aug 09 2009 Automatic Build System <autodist@mambasoft.it> 0.8.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Oct 24 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Jul 18 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.2-2mamba
|
|
|
|
- update to 0.8.2
|
|
|
|
|
|
|
|
* Sat Mar 24 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.2-1qilnx
|
|
|
|
- update to version 0.8.2pre1 by autospec
|
|
|
|
|
|
|
|
* Fri Sep 22 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1pre1-2qilnx
|
|
|
|
- rebuilt for 2.6.18 kernel
|
|
|
|
|
|
|
|
* Mon May 15 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0.cvs20060516-1qilnx
|
|
|
|
- package created by autospec
|