Skip to content

Instantly share code, notes, and snippets.

@keithchambers
Created September 7, 2014 22:14
Show Gist options
  • Save keithchambers/f26207663c6e6600f818 to your computer and use it in GitHub Desktop.
Save keithchambers/f26207663c6e6600f818 to your computer and use it in GitHub Desktop.
RPM spec file for rinse
%define debug_package %{nil}
Name: rinse
Version: 3.0.2
Release: 1%{?dist}
Summary: Carry out the installation of a new RPM-based distribution.
Group: Development/Tools
License: Artistic
URL: http://collab-maint.alioth.debian.org/rinse/
Source0: http://collab-maint.alioth.debian.org/rinse/download/rinse_%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: x86_64
BuildRequires: make
Requires: rpm
Requires: wget
%description
Rinse is a simple tool which is designed to carry out the installation of a new
RPM-based distribution.
Using rinse you can easily setup simple chroot() systems running different
RPM-based distributions, such as Centos, Scientific Linux or openSUSE.
The purpose and usage are analogous to the 'debootstrap' utility familiar to
users of Debian GNU/Linux. It was primarily designed to work with the xen-tools
software, which creates new guest images for running inder the Xen hypervisor.
%prep
%setup -n %{name}
%build
%install
make PREFIX=%{buildroot} install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README
%attr(755,root,root) %{_sbindir}/rinse
%{_mandir}/man8/rinse.8.gz
%{_localstatedir}/cache/rinse
%{_sysconfdir}/bash_completion.d/rinse
%{_sysconfdir}/rinse
%{%_libdir}/rinse
%changelog
* Sun Sep 07 2014 Keith Chambers 3.0.2-1
- Initial package spec.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment