Created
April 20, 2014 15:53
-
-
Save schnell18/11117449 to your computer and use it in GitHub Desktop.
Template RPM spec file
This file contains hidden or 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
Summary: The world famous foo | |
Name: foo | |
Version: 1.03 | |
Release: 1 | |
License: GPL | |
Group: Applications/System | |
Source0: foo-%{version}.tar.bz2 | |
Source1: foo.sysvinit | |
Patch0: foo-fix1.patch | |
Patch1: foo-fix2.patch BuildRoot: /var/tmp/%{name}-root | |
%description | |
This foo daemon serves bar clients. | |
%prep | |
%setup -q | |
%build | |
%configure | |
make | |
%install | |
rm -rf %{buildroot} | |
%makeinstall | |
%clean | |
rm -rf %{buildroot} | |
%files | |
%defattr(-,root,root) | |
/etc/init.d/foo | |
%{_sbindir}/foo | |
/usr/share/man/man8/foo.8 | |
%files devel | |
%defattr(-,root,root) | |
/usr/include/foo.h | |
/usr/lib/foo.a | |
%changelog | |
* 2010-01-01 Add initial version by Justin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment