Skip to content

Instantly share code, notes, and snippets.

@thwarted
Created June 9, 2013 03:37
Show Gist options
  • Save thwarted/5737526 to your computer and use it in GitHub Desktop.
Save thwarted/5737526 to your computer and use it in GitHub Desktop.
RPM spec file for evrouter
%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