SPECS: md5deep.spec - cleanup - back to make install (much cleaner now); ha...
qboosh
qboosh at pld-linux.org
Tue Sep 30 18:52:47 CEST 2008
Author: qboosh Date: Tue Sep 30 16:52:47 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- cleanup
- back to make install (much cleaner now); hashdeep is included now
- .so links instead of multiple copies of md5deep(1) manual
- added COPYING (some licensing notes)
---- Files affected:
SPECS:
md5deep.spec (1.23 -> 1.24)
---- Diffs:
================================================================
Index: SPECS/md5deep.spec
diff -u SPECS/md5deep.spec:1.23 SPECS/md5deep.spec:1.24
--- SPECS/md5deep.spec:1.23 Tue Sep 30 16:24:11 2008
+++ SPECS/md5deep.spec Tue Sep 30 18:52:42 2008
@@ -47,30 +47,26 @@
%build
%configure
-%{__make} \
- LDFLAGS="%{rpmldflags}" \
- OURCC="%{__cc}" \
- OPTFLAGS="%{rpmcflags}"
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
-for m in md5deep.1 sha1deep.1 sha256deep.1 tigerdeep.1 whirlpooldeep.1; do
- cp -f %{name}/$m $RPM_BUILD_ROOT%{_mandir}/man1
+for m in sha1deep.1 sha256deep.1 tigerdeep.1 whirlpooldeep.1; do
+ echo '.so md5deep.1' > $RPM_BUILD_ROOT%{_mandir}/man1/$m
done
-install %{name}/%{name} %{name}/sha1deep %{name}/sha256deep %{name}/tigerdeep %{name}/whirlpooldeep $RPM_BUILD_ROOT%{_bindir}
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README AUTHORS NEWS TODO ChangeLog
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
+%doc AUTHORS COPYING ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/*deep
+%{_mandir}/man1/*deep.1*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -78,6 +74,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.24 2008/09/30 16:52:42 qboosh
+- cleanup
+- back to make install (much cleaner now); hashdeep is included now
+- .so links instead of multiple copies of md5deep(1) manual
+- added COPYING (some licensing notes)
+
Revision 1.23 2008/09/30 14:24:11 duddits
- up to 3.1
- Makefile patch obsolete
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/md5deep.spec?r1=1.23&r2=1.24&f=u
More information about the pld-cvs-commit
mailing list