X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=checkinstall.spec;h=825ea8311f99a9af9b26f5b9d6eeb418581b36cf;hb=e2c3f69f79d56f21b13e447db2c0716fc73af227;hp=1f54af3a57a8a2dc6e0a261f81427a10c285a9d8;hpb=73defee6b1d3df7f97243504874b2ad2e666c788;p=packages%2Fcheckinstall.git diff --git a/checkinstall.spec b/checkinstall.spec index 1f54af3..825ea83 100644 --- a/checkinstall.spec +++ b/checkinstall.spec @@ -1,18 +1,14 @@ -%define iw_version 0.6.1 -Summary: CheckInstall installations tracker, version 1.4.1 -Summary(pl): Proste narzêdzie do tworzenia i zarzadzania pakietami (.tgz, .rpm, .deb) +Summary: CheckInstall installations tracker +Summary(pl): Proste narzêdzie do tworzenia i zarz±dzania pakietami (.tgz, .rpm, .deb) Name: checkinstall -Version: 1.4.1 -Release: 1 +Version: 1.5.1 +Release: 2 License: GPL Group: Development -Group(de): Entwicklung -Group(es): Desarrollo -Group(pl): Programowanie -Group(pt_BR): Desenvolvimento -Group(ru): òÁÚÒÁÂÏÔËÁ -Group(uk): òÏÚÒÏÂËÁ +Requires: bash +Requires: installwatch >= 0.6.3 Source0: http://asic-linux.com.mx/~izto/%{name}-%{version}.tgz +# Source0-md5: dd418f56c483014f5759b09aa59ea42d BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -20,35 +16,33 @@ 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. (deb isn't supported yet) +standard package management utilities. %description -l pl Program do ¶ledzenia modyfikacji robionych przez skrypty instalacyjne ("make install", "setup", itp), potrafi zbudowaæ standartow± paczkê i zainstalowaæ j± w twoim systemie z mo¿liwo¶ci± odinstalowania jej -narzêdziami dostêpnymi w twojej dystrybucji (rpm, deb, tgz). (deb nie -jest jeszcze obslugiwany) +narzêdziami dostêpnymi w twojej dystrybucji (obs³uguje rpm, deb, tgz). %prep %setup -q -%build -%{__make} CC="gcc %{rpmcflags} -Wall" - %install rm -rf $RPM_BUILD_ROOT mkdir $RPM_BUILD_ROOT%{_prefix}/{bin,sbin,lib/checkinstall} -p +sed -e "s|#\!/bin/sh|#\!/bin/bash|" < checkinstall > foo +sed -e "s|/usr/local|%{_prefix}|" < foo > checkinstall + install {checkinstall,makepak} $RPM_BUILD_ROOT%{_sbindir} install checkinstallrc $RPM_BUILD_ROOT%{_libdir}/checkinstall -install installwatch-%{iw_version}/installwatch $RPM_BUILD_ROOT%{_bindir} -install installwatch-%{iw_version}/installwatch.so $RPM_BUILD_ROOT%{_libdir} -gzip -9nfr doc-pak/* %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%{_prefix}/* %doc doc-pak +%attr(755,root,root) %{_sbindir}/checkinstall +%attr(755,root,root) %{_sbindir}/makepak +%config %{_libdir}/checkinstall/checkinstallrc