]> git.pld-linux.org Git - packages/checkinstall.git/commitdiff
- updated to 1.5.1 (stable, mainly bugfixes)
authorfilon <filon@sokrates.mimuw.edu.pl>
Sun, 23 Dec 2001 20:34:21 +0000 (20:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added real %%files, fixed installing
- changed hardcoded paths
- removed version information from summary
- finished, STBR

Changed files:
    checkinstall.spec -> 1.3

checkinstall.spec

index 99852ba3ebbc6f32c8efd7b56effd55507802c91..743e2d9121d8d2f35303169925c901d9d93feb8e 100644 (file)
@@ -1,8 +1,8 @@
-%define                iw_version      0.6.1
-Summary:       CheckInstall installations tracker, version 1.4.1
+%define                iw_version      0.6.3
+Summary:       CheckInstall installations tracker
 Summary(pl):   Proste narzêdzie do tworzenia i zarzadzania pakietami (.tgz, .rpm, .deb)
 Name:          checkinstall
-Version:       1.5.0
+Version:       1.5.1
 Release:       1
 License:       GPL
 Group:         Development
@@ -12,6 +12,7 @@ Group(pl):    Programowanie
 Group(pt_BR):  Desenvolvimento
 Group(ru):     òÁÚÒÁÂÏÔËÁ
 Group(uk):     òÏÚÒÏÂËÁ
+Requires:      bash
 Source0:       http://asic-linux.com.mx/~izto/%{name}-%{version}.tgz
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -38,9 +39,18 @@ narz
 rm -rf $RPM_BUILD_ROOT
 mkdir $RPM_BUILD_ROOT%{_prefix}/{bin,sbin,lib/checkinstall} -p
 
+sed -e "s|#PREFIX#|%{_prefix}|" < installwatch-%{iw_version}/installwatch > installwatch
+
+sed -e "s|INSTALLWATCH_PREFIX=\"/usr/local\"|INSTALLWATCH_PREFIX=\"%{_prefix}\"|" \
+       < checkinstallrc > foo
+mv foo checkinstallrc
+
+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 $RPM_BUILD_ROOT%{_bindir}
 install installwatch-%{iw_version}/installwatch.so $RPM_BUILD_ROOT%{_libdir}
 gzip -9nfr doc-pak/* 
 
@@ -49,5 +59,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_prefix}/*
 %doc doc-pak
+%attr(755,root,root) %{_bindir}/installwatch
+%attr(755,root,root) %{_sbindir}/checkinstall
+%attr(755,root,root) %{_sbindir}/makepak
+%config %{_libdir}/checkinstall/checkinstallrc
+%{_libdir}/installwatch.so
This page took 0.063683 seconds and 4 git commands to generate.