lirc-remotes/lirc-remotes.spec

42 lines
1.1 KiB
RPMSpec

Name: lirc-remotes
Version: 20151021git
Release: 1mamba
Summary: The lirc remotes database
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://lirc-remotes.sourceforge.net/
## GITSOURCE git://git.code.sf.net/p/lirc-remotes/code master
Source: git://git.code.sf.net/p/lirc-remotes/code/master/code-%{version}.tar.bz2
License: Public Domain
BuildArch: noarch
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The lirc remotes database.
%prep
%setup -q -n code-%{version}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_datadir}/lirc/
cp -a remotes %{buildroot}%{_datadir}/lirc/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_datadir}/lirc/remotes
%{_datadir}/lirc/remotes/*
%changelog
* Wed Oct 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 20151021git-1mamba
- package created using the webbuild interface