packages: allegro/allegro.spec - force install of man pages - should works ...
lisu
lisu at pld-linux.org
Tue Mar 16 12:28:47 CET 2010
Author: lisu Date: Tue Mar 16 11:28:47 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- force install of man pages - should works at any time now
---- Files affected:
packages/allegro:
allegro.spec (1.72 -> 1.73)
---- Diffs:
================================================================
Index: packages/allegro/allegro.spec
diff -u packages/allegro/allegro.spec:1.72 packages/allegro/allegro.spec:1.73
--- packages/allegro/allegro.spec:1.72 Tue Mar 16 12:09:58 2010
+++ packages/allegro/allegro.spec Tue Mar 16 12:28:42 2010
@@ -1,7 +1,6 @@
# $Revision$, $Date$
#
# TODO: - check (and update if required) allegro-frame-pointer.patch
-# - force install man pages (sometimes it just doesn't work)
# - check allegro-vga and allegro-svga packages if they should contains any files
# - unpackaged files
#
@@ -320,6 +319,7 @@
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_mandir}/man3
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
@@ -330,6 +330,9 @@
find build/examples -perm 755 -maxdepth 1 -name "ex*" -exec install {} $RPM_BUILD_ROOT%{_bindir} \;
find build/tests -perm 755 -maxdepth 1 ! -name CMakeFiles -exec install {} $RPM_BUILD_ROOT%{_bindir} \;
+# force install man pages
+cp build/docs/man/* $RPM_BUILD_ROOT%{_mandir}/man3
+
mv $RPM_BUILD_ROOT%{_bindir}/play{,-allegro}
mv $RPM_BUILD_ROOT%{_bindir}/test{,-allegro}
@@ -356,7 +359,7 @@
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/allegro-config
%{_includedir}/*
-#%%{_mandir}/man3/*
+%{_mandir}/man3/*
%{_infodir}/*.info*
%if %{with svga}
@@ -479,6 +482,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.73 2010/03/16 11:28:42 lisu
+- force install of man pages - should works at any time now
+
Revision 1.72 2010/03/16 11:09:58 lisu
- start update to 4.4.1.1 (4.4 branch)
- switch to cmake build system
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/allegro/allegro.spec?r1=1.72&r2=1.73&f=u
More information about the pld-cvs-commit
mailing list