package created using the webbuild interface [release 20160823git-1mamba;Tue Aug 23 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 23:53:05 +01:00
parent 76ecd9e02f
commit b3e44cc33f
2 changed files with 56 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# iguanair-lirc
LIRC module for Iguanaworks USB IR device (iguanair).

54
iguanair-lirc.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 20160823git-1mamba
- package created using the webbuild interface