%define version 1.6.1 %define fversion %version %define release %mkrel 6 %define iwver 0.7.0beta5 Summary: CheckInstall installations tracker Name: checkinstall Version: %version Release: %release License: GPL Group: System/Configuration/Packaging Source: http://checkinstall.izto.org/files/source/%{name}-%{fversion}.tar.bz2 Patch0: checkinstall-1.6.0-mdk.patch Patch1: checkinstall-1.6.1-64bit.patch BuildRoot: %{_tmppath}/%{name}-buildroot Url: http://asic-linux.com.mx/~izto/checkinstall/ Provides: libcheckinstall1 Obsoletes: libcheckinstall1 Requires: rpm-build %description CheckInstall keeps track of all the files created or modified by your installation script ("make install" "make install_modules", "setup", etc), builds a standard binary package and installs it in your system giving you the ability to uninstall it with your distribution's standard package management utilities. %prep %setup -q -n %name-%fversion ln -s installwatch-%iwver installwatch-0.7.0beta4 %patch0 -p1 -b .mdv %patch1 -p1 -b .64bit %build make %install rm -rf %buildroot install -D -m 755 checkinstall %buildroot/%{_bindir}/checkinstall install -D -m 755 makepak %buildroot/%{_sbindir}/makepak install -m 755 installwatch-%iwver/installwatch %buildroot/%{_bindir} install -D -m 755 installwatch-%iwver/installwatch.so %buildroot/%{_libdir}/checkinstall/installwatch.so install -m 755 checkinstallrc-dist %buildroot/%{_libdir}/checkinstall/checkinstallrc install -D -m 644 locale/checkinstall-es.mo %buildroot%_libdir/checkinstall/locale/es/LC_MESSAGES/checkinstall.mo perl -pi -e "s!#PREFIX#!%_prefix!" %buildroot%_bindir/installwatch perl -pi -e "s!/lib/!/%_lib/!" %buildroot%_bindir/installwatch perl -pi -e "s!%_prefix/lib!%_libdir!" %buildroot%_bindir/* %clean rm -rf %buildroot %files %defattr(-,root,root,755) %doc README INSTALL RELNOTES BUGS TODO CREDITS COPYING %{_bindir}/installwatch %{_bindir}/checkinstall %{_sbindir}/makepak %dir %{_libdir}/checkinstall/ %{_libdir}/checkinstall/checkinstallrc %{_libdir}/checkinstall/installwatch.so %lang(es) %{_libdir}/checkinstall/locale/es %dir %{_libdir}/checkinstall/locale/ %changelog * Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.6.1-6mdv2009.0 + Revision: 243862 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Tue Oct 16 2007 Götz Waschk <waschk@mandriva.org> 1.6.1-4mdv2008.1 + Revision: 99075 - fix path to installwatch.so * Mon Oct 15 2007 Götz Waschk <waschk@mandriva.org> 1.6.1-3mdv2008.1 + Revision: 98371 - replace remaining /usr/lib on 64 bit, fixing bug #34775 * Wed Apr 18 2007 Götz Waschk <waschk@mandriva.org> 1.6.1-3mdv2008.0 + Revision: 14740 - fix for x86_64 * Mon Nov 27 2006 Götz Waschk <waschk@mandriva.org> 1.6.1-2mdv2007.0 + Revision: 87354 - fix build on 64 bit - Import checkinstall * Fri Nov 24 2006 Götz Waschk <waschk@mandriva.org> 1.6.1-1mdv2007.1 - drop patch 1 - New version 1.6.1 * Fri Jul 21 2006 Götz Waschk <waschk@mandriva.org> 1.6.0-1mdv2007.0 - Rebuild * Mon Feb 13 2006 Götz Waschk <waschk@mandriva.org> 1.6.0-2mdk - fix bug #21100 (switched options), thanks to danxuliu) * Fri Aug 12 2005 Götz Waschk <waschk@mandriva.org> 1.6.0-1mdk - rediff patch, it was partitially merged - new version * Tue Aug 09 2005 Götz Waschk <waschk@mandriva.org> 1.6.0-0.beta4.3mdk - update patch to fix bug 16848 (thanks to sieczka) * Tue May 24 2005 Götz Waschk <waschk@mandriva.org> 1.6.0-0.beta4.2mdk - update patch 0 to fix bug 16110 (thanks to Jan Ciger) * Thu Dec 02 2004 Götz Waschk <waschk@linux-mandrake.com> 1.6.0-0.beta4.1mdk - update patch 0 - new version * Mon Jun 21 2004 Buchan Milne <bgmilne@linux-mandrake.com> 1.6.0-0.beta3.2mdk - require rpm-build * Tue May 04 2004 Götz Waschk <waschk@linux-mandrake.com> 1.6.0-0.beta3.1mdk - rediff patch - new version