diff --git a/README.md b/README.md index 461dedf..385982b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # rinse +The rinse utility is designed to install a minimal RPM-based distribution of GNU/Linux within a local directory. +The purpose and usage are analogous to the 'debootstrap' utility familiar to users of Debian GNU/Linux. + diff --git a/rinse.spec b/rinse.spec new file mode 100644 index 0000000..d552776 --- /dev/null +++ b/rinse.spec @@ -0,0 +1,136 @@ +Name: rinse +Version: 3.0.2 +Release: 1mamba +Summary: A utility designed to install a minimal RPM-based distribution within a local directory +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://launchpad.net/ubuntu/+source/rinse +Source: https://launchpad.net/ubuntu/+archive/primary/+files/rinse_%{version}.tar.gz +License: GPL, Artistic +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +BuildRequires: perl-libwww +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The rinse utility is designed to install a minimal RPM-based distribution of GNU/Linux within a local directory. +The purpose and usage are analogous to the 'debootstrap' utility familiar to users of Debian GNU/Linux. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +## note: you can add this requirement if .pc files are provided by this package +#Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q -n %{name} + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_sysconfdir}/bash_completion.d/rinse +%dir %{_sysconfdir}/rinse +%{_sysconfdir}/rinse/*.packages +%config %{_sysconfdir}/rinse/rinse.conf +%{_sbindir}/rinse +%dir %{_prefix}/lib/rinse +%dir %{_prefix}/lib/rinse/centos-4 +%{_prefix}/lib/rinse/centos-4/post-install.sh +%dir %{_prefix}/lib/rinse/centos-5 +%{_prefix}/lib/rinse/centos-5/post-install.sh +%dir %{_prefix}/lib//rinse/centos-6 +%{_prefix}/lib/rinse/centos-6/post-install.sh +%dir %{_prefix}/lib/rinse/centos-7 +%{_prefix}/lib/rinse/centos-7/post-install.sh +%dir %{_prefix}/lib/rinse/common +%{_prefix}/lib/rinse/common/10-resolv.conf.sh +%{_prefix}/lib/rinse/common/15-mount-proc.sh +%{_prefix}/lib/rinse/common/20-dev-zero.sh +%dir %{_prefix}/lib/rinse/fedora-10 +%{_prefix}/lib/rinse/fedora-10/post-install.sh +%dir %{_prefix}/lib/rinse/fedora-12 +%{_prefix}/lib/rinse/fedora-12/post-install.sh +%dir %{_prefix}/lib/rinse/fedora-13 +%{_prefix}/lib/rinse/fedora-13/post-install.sh +%dir %{_prefix}/lib/rinse/fedora-14 +%{_prefix}/lib/rinse/fedora-14/post-install.sh +%dir %{_prefix}/lib/rinse/fedora-15 +%{_prefix}/lib/rinse/fedora-15/post-install.sh +%dir %{_prefix}/lib/rinse/fedora-16 +%{_prefix}/lib/rinse/fedora-16/post-install.sh +%dir %{_prefix}/lib/rinse/fedora-18 +%{_prefix}/lib/rinse/fedora-18/post-install.sh +%dir %{_prefix}/lib/rinse/fedora-19 +%{_prefix}/lib/rinse/fedora-19/post-install.sh +%dir %{_prefix}/lib/rinse/fedora-7 +%{_prefix}/lib/rinse/fedora-7/post-install.sh +%dir %{_prefix}/lib/rinse/fedora-8 +%{_prefix}/lib/rinse/fedora-8/post-install.sh +%dir %{_prefix}/lib/rinse/fedora-9 +%{_prefix}/lib/rinse/fedora-9/post-install.sh +%dir %{_prefix}/lib/rinse/fedora-core-4 +%{_prefix}/lib/rinse/fedora-core-4/post-install.sh +%dir %{_prefix}/lib/rinse/fedora-core-5 +%{_prefix}/lib/rinse/fedora-core-5/post-install.sh +%dir %{_prefix}/lib/rinse/fedora-core-6 +%{_prefix}/lib/rinse/fedora-core-6/post-install.sh +%dir %{_prefix}/lib/rinse/opensuse-10.1 +%{_prefix}/lib/rinse/opensuse-10.1/post-install.sh +%dir %{_prefix}/lib/rinse/opensuse-10.2 +%{_prefix}/lib/rinse/opensuse-10.2/post-install.sh +%dir %{_prefix}/lib/rinse/opensuse-10.3 +%{_prefix}/lib/rinse/opensuse-10.3/post-install.sh +%dir %{_prefix}/lib/rinse/opensuse-11.0 +%{_prefix}/lib/rinse/opensuse-11.0/post-install.sh +%dir %{_prefix}/lib/rinse/opensuse-11.1 +%{_prefix}/lib/rinse/opensuse-11.1/post-install.sh +%dir %{_prefix}/lib/rinse/opensuse-11.2 +%{_prefix}/lib/rinse/opensuse-11.2/post-install.sh +%dir %{_prefix}/lib/rinse/opensuse-11.3 +%{_prefix}/lib/rinse/opensuse-11.3/post-install.sh +%dir %{_prefix}/lib/rinse/opensuse-12.1 +%{_prefix}/lib/rinse/opensuse-12.1/post-install.sh +%dir %{_prefix}/lib/rinse/opensuse-12.3 +%{_prefix}/lib/rinse/opensuse-12.3/post-install.sh +%dir %{_prefix}/lib/rinse/opensuse-13.1 +%{_prefix}/lib/rinse/opensuse-13.1/post-install.sh +%dir %{_prefix}/lib/rinse/rhel-5 +%{_prefix}/lib/rinse/rhel-5/post-install.sh +%dir %{_prefix}/lib/rinse/slc-5 +%{_prefix}/lib/rinse/slc-5/post-install.sh +%dir %{_prefix}/lib/rinse/slc-6 +%{_prefix}/lib/rinse/slc-6/post-install.sh +%{_mandir}/man8/rinse.8* +%doc README + +%changelog +* Tue Jul 15 2014 Silvan Calarco 3.0.2-1mamba +- package created using the webbuild interface