diff --git a/README.md b/README.md index 6703570..462e119 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # debianutils +Debianutils includes installkernel mkboot mktemp readlink run-parts savelog sensible-editor sensible-pager tempfile which. + diff --git a/debianutils-2.8.4-mkbootfix.patch b/debianutils-2.8.4-mkbootfix.patch new file mode 100644 index 0000000..6443493 --- /dev/null +++ b/debianutils-2.8.4-mkbootfix.patch @@ -0,0 +1,11 @@ +--- debianutils-2.8.4/mkboot ++++ debianutils-2.8.4/mkboot +@@ -71,7 +71,7 @@ + # make a lilo boot disk + makelilo () { + ( +- b=$tmpdir/boot$$ ++ b=`mktemp $tmpdir/boot.XXXXXX` + trap "set +e; cd /; umount $FLOPPY; rmdir $b" EXIT + mkdir $b + mke2fs -q $FLOPPY diff --git a/debianutils.spec b/debianutils.spec new file mode 100644 index 0000000..adb00b6 --- /dev/null +++ b/debianutils.spec @@ -0,0 +1,130 @@ +Name: debianutils +Version: 4.4 +Release: 1mamba +Summary: Miscellaneous utilities from Debian +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://packages.debian.org/stable/base/debianutils.html +Source: http://ftp.debian.org/debian/pool/main/d/debianutils/%{name}_%{version}.tar.gz +Patch: %{name}-2.8.4-mkbootfix.patch +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot + +%description +Debianutils includes installkernel mkboot mktemp readlink run-parts savelog sensible-editor sensible-pager tempfile which. + +%prep +%setup -q +#%patch -p1 + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall + +#install -d %{buildroot}/bin +#mv %{buildroot}%{_bindir}/mktemp %{buildroot}/bin/mktemp +# create a link for backward compatibility +#ln -sf /bin/mktemp %{buildroot}%{_bindir}/mktemp + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%{_bindir}/ischroot +%{_bindir}/run-parts +%{_bindir}/savelog +#%{_bindir}/sensible-browser +#%{_bindir}/sensible-editor +#%{_bindir}/sensible-pager +%{_bindir}/tempfile +%{_bindir}/which +%{_sbindir}/installkernel +%{_sbindir}/add-shell +%{_sbindir}/remove-shell +%{_mandir}/man1/ischroot.1.gz +%{_mandir}/man1/which.1.gz +%{_mandir}/man1/tempfile.1.gz +%{_mandir}/man8/installkernel.8.gz +%{_mandir}/man8/run-parts.8.gz +%{_mandir}/man8/savelog.8.gz +%{_mandir}/man8/add-shell.8.gz +%{_mandir}/man8/remove-shell.8.gz +%lang(de) %{_mandir}/de/man*/* +%lang(es) %{_mandir}/es/man*/* +%lang(fr) %{_mandir}/fr/man*/* +%lang(it) %{_mandir}/it/man*/* +%lang(ja) %{_mandir}/ja/man*/* +%lang(pl) %{_mandir}/pl/man*/* +%lang(sl) %{_mandir}/sl/man*/* + +%changelog +* Fri Aug 02 2013 Automatic Build System 4.4-1mamba +- automatic update by autodist + +* Mon Oct 15 2012 Automatic Build System 4.3.4-1mamba +- automatic version update by autodist + +* Sat Aug 11 2012 Automatic Build System 4.3.3-1mamba +- automatic version update by autodist + +* Thu Apr 26 2012 Automatic Build System 4.3-1mamba +- automatic version update by autodist + +* Sat Jun 25 2011 Automatic Build System 4.0.2-1mamba +- automatic update by autodist + +* Wed Feb 23 2011 Automatic Build System 3.4.4-1mamba +- automatic update by autodist + +* Fri Jan 21 2011 Automatic Build System 3.4.3-1mamba +- automatic update by autodist + +* Sat Nov 20 2010 Automatic Build System 3.4.2-1mamba +- automatic update by autodist + +* Fri Oct 01 2010 Automatic Build System 3.4.1-1mamba +- automatic update by autodist + +* Tue Aug 10 2010 Automatic Build System 3.4-1mamba +- automatic update by autodist + +* Fri Jul 02 2010 Automatic Build System 3.3-1mamba +- automatic update by autodist + +* Tue Jan 12 2010 Automatic Build System 3.2.2-1mamba +- automatic update by autodist + +* Mon Aug 10 2009 Automatic Build System 3.2.1-1mamba +- automatic update by autodist + +* Sat Jul 11 2009 Automatic Build System 3.2-1mamba +- automatic update by autodist + +* Sun May 17 2009 Automatic Build System 3.1.3-1mamba +- automatic update by autodist + +* Wed Apr 15 2009 Silvan Calarco 3.0.1-1mamba +- automatic update by autodist + +* Thu Jan 29 2009 Silvan Calarco 2.31-1mamba +- automatic update by autodist + +* Tue Jul 01 2008 Silvan Calarco 2.30-1mamba +- update to 2.30 +- removed mktemp, now provided by coreutils 6.12 + +* Mon Sep 26 2005 Stefano Cotta Ramusino 2.8.4-1qilnx +- update to version 2.8.4 by autospec + +* Fri Jan 21 2005 Davide Madrisan 2.5.2-2qilnx +- moved mktemp to /bin + +* Thu Jun 05 2003 Silvan Calarco 2.5.2-1qilnx +- first build