From 54d46ba3f70a278201616be634f021e9db044379 Mon Sep 17 00:00:00 2001 From: lisu Date: Tue, 16 Mar 2010 11:28:42 +0000 Subject: [PATCH] - force install of man pages - should works at any time now Changed files: allegro.spec -> 1.73 --- allegro.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/allegro.spec b/allegro.spec index e5d83fe..6621479 100644 --- a/allegro.spec +++ b/allegro.spec @@ -1,6 +1,5 @@ # # 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 # @@ -319,6 +318,7 @@ cd build %install rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_mandir}/man3 %{__make} -C build install \ DESTDIR=$RPM_BUILD_ROOT @@ -329,6 +329,9 @@ install modules.lst $RPM_BUILD_ROOT%{_libdir}/allegro/%{version} 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} @@ -355,7 +358,7 @@ mv $RPM_BUILD_ROOT%{_bindir}/test{,-allegro} %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/allegro-config %{_includedir}/* -#%%{_mandir}/man3/* +%{_mandir}/man3/* %{_infodir}/*.info* %if %{with svga} -- 2.44.0