228 lines
7.1 KiB
RPMSpec
228 lines
7.1 KiB
RPMSpec
Name: lirc
|
|
Version: 0.9.3a
|
|
Epoch: 1
|
|
Release: 1mamba
|
|
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/
|
|
#Source: http://downloads.sourceforge.net/project/lirc/LIRC/%{version}/lirc-%{version}.tar.bz2
|
|
#Source: http://downloads.sourceforge.net/project/lirc/LIRC/%{version}/lirc-debian-src-%{version}.tar.gz
|
|
Source: http://downloads.sourceforge.net/project/lirc/LIRC/%{version}/lirc-%{version}.tar.bz2
|
|
#http://downloads.sourceforge.net/project/lirc/LIRC/%{version}/lirc-%{version}.tar.gz
|
|
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
|
|
|
|
%make systemddir=%{_unitdir}
|
|
#make -C drivers %{BUILD_OPTS} -j1
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
#sed -i "s|/bin/mknod|/bin/true|" drivers/Makefile drivers/*/Makefile
|
|
#sed -i "s|/sbin/depmod|/bin/true|" drivers/Makefile drivers/*/Makefile
|
|
|
|
#install -d %{buildroot}%{_sysconfdir}/lirc
|
|
#cp -a remotes/* %{buildroot}%{_sysconfdir}/lirc
|
|
%makeinstall systemddir=%{_unitdir}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%post
|
|
if [ $1 -ge 1 ]; then
|
|
systemctl -q daemon-reload
|
|
fi
|
|
:
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%dir %{_sysconfdir}/lirc
|
|
%{_sysconfdir}/lirc/*
|
|
%{_bindir}/*
|
|
%{_sbindir}/lircd
|
|
%{_sbindir}/lircmd
|
|
%{_sbindir}/lirc-lsplugins
|
|
%{_unitdir}/lircd.service
|
|
%{_unitdir}/lircd.socket
|
|
%{_unitdir}/lircmd.service
|
|
%{_libdir}/liblirc_client.so.*
|
|
%{_libdir}/liblirc.so.*
|
|
%{_libdir}/liblirc_driver.so.*
|
|
%{_libdir}/libirrecord.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/choosers.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/*
|
|
%dir %{_datadir}/lirc/plugindocs
|
|
%{_datadir}/lirc/plugindocs/README
|
|
%{_mandir}/man1/*.1*
|
|
%{_mandir}/man4/lirc.4*
|
|
%{_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
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/lirc_*.h
|
|
%dir %{_includedir}/lirc
|
|
%{_includedir}/lirc/*.h
|
|
%{_includedir}/lirc/input_map.inc
|
|
%dir %{_includedir}/lirc/include
|
|
%dir %{_includedir}/lirc/include/media
|
|
%{_includedir}/lirc/include/media/lirc.h
|
|
%{_libdir}/libirrecord.la
|
|
%{_libdir}/libirrecord.so
|
|
%{_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
|
|
%dir %{_docdir}/lirc
|
|
%{_docdir}/lirc/*
|
|
#%doc ChangeLog NEWS README TODO
|
|
|
|
%changelog
|
|
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3a-1mamba
|
|
- update to 0.9.3a
|
|
|
|
* Wed Oct 07 2015 Automatic Build System <autodist@mambasoft.it> 0.9.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Mar 09 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.2a-1mamba
|
|
- update to 0.9.2a
|
|
|
|
* Fri Jan 23 2015 Automatic Build System <autodist@mambasoft.it> 0.9.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Aug 31 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1a-1mamba
|
|
- update to 0.9.1a
|
|
|
|
* Thu Jun 12 2014 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* 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
|