iguanair-lirc/iguanair-lirc.spec

55 lines
1.8 KiB
RPMSpec
Raw Normal View History

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