packages: allegro/allegro.spec - ghost soname symlink in base, .so in -deve...

qboosh qboosh at pld-linux.org
Thu Oct 14 08:06:50 CEST 2010


Author: qboosh                       Date: Thu Oct 14 06:06:50 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- ghost soname symlink in base, .so in -devel
- fixed empty clean

---- Files affected:
packages/allegro:
   allegro.spec (1.78 -> 1.79) 

---- Diffs:

================================================================
Index: packages/allegro/allegro.spec
diff -u packages/allegro/allegro.spec:1.78 packages/allegro/allegro.spec:1.79
--- packages/allegro/allegro.spec:1.78	Thu Jul 22 13:17:30 2010
+++ packages/allegro/allegro.spec	Thu Oct 14 08:06:45 2010
@@ -316,6 +316,7 @@
 %cmake .. \
 	-DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
 	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+	-DCMAKE_VERBOSE_MAKEFILE=1 \
 	-DMANDIR=%{_mandir} \
 	-DINFODIR=%{_infodir} \
 	-DPLATFORM_LIBS=-ldl \
@@ -346,21 +347,25 @@
 mv $RPM_BUILD_ROOT%{_bindir}/play{,-allegro}
 mv $RPM_BUILD_ROOT%{_bindir}/test{,-allegro}
 
+%{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc/allegro-4.4.1
+
 %clean
+rm -rf $RPM_BUILD_ROOT
+
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
-%post devel	-p	/sbin/postshell
+%post	devel -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun devel	-p	/sbin/postshell
+%postun	devel -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS CHANGES THANKS readme.txt todo.txt
 %attr(755,root,root) %{_libdir}/liballeg.so.*.*.*
-%attr(755,root,root) %{_libdir}/liballeg.so
+%attr(755,root,root) %ghost %{_libdir}/liballeg.so.4.4
 %dir %{_libdir}/allegro
 %dir %{_libdir}/allegro/4.4.1
 %{_libdir}/allegro/4.4.1/modules.lst
@@ -368,9 +373,17 @@
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/allegro-config
-%{_includedir}/*
-%{_mandir}/man3/*
-%{_infodir}/*.info*
+%attr(755,root,root) %{_libdir}/liballeg.so
+%{_includedir}/alleggl.h
+%{_includedir}/allegro.h
+%{_includedir}/jpgalleg.h
+%{_includedir}/logg.h
+%{_includedir}/xalleg.h
+%{_includedir}/allegro
+%{_includedir}/allegrogl
+# XXX: aren't some names too generic?
+%{_mandir}/man3/*.3*
+%{_infodir}/allegro.info*
 %{_pkgconfigdir}/allegro.pc
 %{_pkgconfigdir}/allegrogl.pc
 %{_pkgconfigdir}/jpgalleg.pc
@@ -379,6 +392,7 @@
 
 %files static
 %defattr(644,root,root,755)
+# XXX: static-only libs belong to -devel!
 %{_libdir}/liballeggl.a
 %{_libdir}/libjpgalleg.a
 %{_libdir}/libloadpng.a
@@ -504,6 +518,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.79  2010/10/14 06:06:45  qboosh
+- ghost soname symlink in base, .so in -devel
+- fixed empty clean
+
 Revision 1.78  2010/07/22 11:17:30  lisu
 - link with -ldl
 - proper find syntax
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/allegro/allegro.spec?r1=1.78&r2=1.79&f=u



More information about the pld-cvs-commit mailing list