Skip to content

Instantly share code, notes, and snippets.

@thwarted
Created November 29, 2011 09:47
Show Gist options
  • Select an option

  • Save thwarted/1404209 to your computer and use it in GitHub Desktop.

Select an option

Save thwarted/1404209 to your computer and use it in GitHub Desktop.
RPM spec file for rinse
Name: rinse
Version: 1.9.1
Release: 0%{?dist}
Summary: Carry out the installation of a new RPM-based distribution.
Group: Development/Tools
License: Artistic
URL: http://www.steve.org.uk/Software/rinse/
Source: http://www.steve.org.uk/Software/rinse/rinse-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: make
%description
Rinse is a simple tool which is designed to carry out the installation of a
new RPM-based distribution.
It was primarily designed to work with the xen-tools software, which creates
new guest images for running inder the Xen hypervisor.
Using rinse you can easily setup simple chroot() systems running different
RPM-based distributions, such as Centos or Scientific Linux.
%clean
rm -rf $RPM_BUILD_ROOT
%prep
%setup -q
%build
%install
make PREFIX=%{buildroot} install
%files
%defattr(-,root,root,-)
%doc README INSTALL BUGS
%attr(755,root,root) %{_sbindir}/rinse
%{_mandir}/man8/rinse.8.gz
/var/cache/rinse
/etc/bash_completion.d/rinse
/etc/rinse
/usr/lib/rinse
%changelog
* Mon Nov 29 2011 Andy Bakun <rpmbuild@thwartedefforts.org> 1.9.1
- initial packaging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment