Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Name: demoproject
- Version: 0.1
- Release: 1%{?dist}
- Summary: Demo script for doing something cool
- Group: DemoGroup
- License: GPL
- Source0: demoproject-0.1.tar.gz
- BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
- %description
- Demo project that does something interesting
- %prep
- %setup -q
- %build
- %install
- install --directory $RPM_BUILD_ROOT/usr/sbin
- install --directory $RPM_BUILD_ROOT/etc
- install --directory $RPM_BUILD_ROOT/etc/cron.d/
- install -m 0755 demoscript $RPM_BUILD_ROOT/usr/sbin
- install -m 0744 demoscript.conf $RPM_BUILD_ROOT/etc
- install -m 0744 cron/democronscript $RPM_BUILD_ROOT/etc/cron.d/
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- /usr/sbin/demoscript
- /etc/demoscript.conf
- /etc/cron.d/democronscript
- %changelog
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement