diff --git a/README.md b/README.md index c1b14c3..2b9b25e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # iguanair-lirc +LIRC module for Iguanaworks USB IR device (iguanair). + diff --git a/iguanair-lirc.spec b/iguanair-lirc.spec new file mode 100644 index 0000000..5a8cc4d --- /dev/null +++ b/iguanair-lirc.spec @@ -0,0 +1,54 @@ +Name: iguanair-lirc +Version: 20160823git +Release: 1mamba +Summary: LIRC module for Iguanaworks USB IR device (iguanair) +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.iguanaworks.net/ +## GITSOURCE https://github.com/iguanaworks/iguanair-lirc.git master +Source: https://github.com/iguanaworks/iguanair-lirc.git/master/iguanair-lirc-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libiguanair-devel +BuildRequires: lirc-devel +## AUTOBUILDREQ-END +Requires: iguanair +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +LIRC module for Iguanaworks USB IR device (iguanair). + +%debug_package + +%prep +%setup -q + +%build +%make iguanaIR.so LDFLAGS="`pkg-config --libs lirc-driver` -liguanaIR" + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -D -m0755 iguanaIR.so %{buildroot}`pkg-config --variable=plugindir lirc-driver`/iguanaIR.so +install -D -m0644 iguanaIR.html %{buildroot}`pkg-config --variable=plugindocs lirc-driver`/iguanaIR.html +install -D -m0644 60-blacklist-kernel-iguanair.conf \ + %{buildroot}/lib/modprobe.d/60-blacklist-kernel-iguanair.conf +install -D -m0644 iguanaIR.conf %{buildroot}`pkg-config --variable=configdir lirc-driver`/iguanaIR.conf + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +/lib/modprobe.d/60-blacklist-kernel-iguanair.conf +%{_libdir}/lirc/plugins/iguanaIR.so +%{_datadir}/doc/lirc/plugindocs/iguanaIR.html +%{_datadir}/lirc/configs/iguanaIR.conf +%doc LICENSE +%doc README + +%changelog +* Tue Aug 23 2016 Silvan Calarco 20160823git-1mamba +- package created using the webbuild interface