diff --git a/README.md b/README.md index 2002748..5db7b13 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # lirc-remotes +The lirc remotes database. + diff --git a/lirc-remotes.spec b/lirc-remotes.spec new file mode 100644 index 0000000..271e4f8 --- /dev/null +++ b/lirc-remotes.spec @@ -0,0 +1,41 @@ +Name: lirc-remotes +Version: 20151021git +Release: 1mamba +Summary: The lirc remotes database +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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 20151021git-1mamba +- package created using the webbuild interface