Created
June 9, 2013 03:37
-
-
Save thwarted/5737526 to your computer and use it in GitHub Desktop.
RPM spec file for evrouter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%define version 0.4 | |
Summary: evrouter | |
Name: evrouter | |
Version: %{version} | |
Release: 1 | |
License: GPL2 | |
Group: Applications | |
URL: http://www.bedroomlan.org/projects/evrouter | |
Source: http://debian.bedroomlan.org/debian/pool/main/e/evrouter/evrouter_%{version}.tar.gz | |
BuildArch: x86_64 | |
Packager: Andy Bakun <packages@thwartedefforts.org> | |
%description | |
An Event Router for the Linux Event Interface | |
%prep | |
%setup | |
%build | |
./autogen.sh | |
./configure --prefix=/usr | |
make | |
%install | |
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT | |
make install DESTDIR=$RPM_BUILD_ROOT | |
%clean | |
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT | |
%post | |
%preun | |
%files | |
%defattr(-,root,root,-) | |
/usr/bin/evrouter | |
/usr/share/man/man1/evrouter.1.gz | |
%doc AUTHORS ChangeLog COPYING INSTALL README | |
%changelog | |
* Sat Jun 08 2013 Andy Bakun <packages@thwartedefforts.org> 0.4-1 | |
- initial spec file release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment