SPECS: logg.spec, tgui.spec - generate dynamic lib and add it to -...

lisu lisu at pld-linux.org
Tue Aug 14 13:45:58 CEST 2007


Author: lisu                         Date: Tue Aug 14 11:45:58 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- generate dynamic lib and add it to -devel package

---- Files affected:
SPECS:
   logg.spec (1.3 -> 1.4) , tgui.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/logg.spec
diff -u SPECS/logg.spec:1.3 SPECS/logg.spec:1.4
--- SPECS/logg.spec:1.3	Sat Aug 11 10:08:26 2007
+++ SPECS/logg.spec	Tue Aug 14 13:45:53 2007
@@ -1,6 +1,5 @@
 # $Revision$, $Date$
 # TODO:
-# - Generate .so and .la files and add they to the -devel package
 # - binary files play_ogg and stream_ogg doesn't work properly - check it
 
 Summary:	Library for playing OGG/Vorbis audio files
@@ -65,6 +64,8 @@
 	CC="%{__cc}" \
 	FLAGS="%{rpmcflags}"
 
+%{__cc} -shared %{name}.o -o liblogg.so
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir},%{_libdir}}
@@ -73,6 +74,7 @@
 	DESTDIR=$RPM_BUILD_ROOT
 
 install *_ogg $RPM_BUILD_ROOT%{_bindir}
+install liblogg.so $RPM_BUILD_ROOT%{_libdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -83,6 +85,7 @@
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/liblogg.so
 %{_includedir}/logg.h
 
 %files static
@@ -95,6 +98,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007/08/14 11:45:53  lisu
+- generate dynamic lib and add it to -devel package
+
 Revision 1.3  2007/08/11 08:08:26  lisu
 - more BRs and Rs
 

================================================================
Index: SPECS/tgui.spec
diff -u SPECS/tgui.spec:1.5 SPECS/tgui.spec:1.6
--- SPECS/tgui.spec:1.5	Wed Aug  8 23:12:33 2007
+++ SPECS/tgui.spec	Tue Aug 14 13:45:53 2007
@@ -1,7 +1,4 @@
 # $Revision$, $Date$
-# TODO:
-# - Generate .so and .la files and add they to the -devel package
-
 Summary:	Allegro GUI toolkit
 Summary(pl.UTF-8):	Zestaw narzędzi GUI używający Allegro
 Name:		tgui
@@ -64,6 +61,8 @@
 	CXX="%{__cxx}" \
 	FLAGS="%{rpmcxxflags}"
 
+%{__cxx} -shared %{name}.o -o libtgui.so
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir},%{_libdir}}
@@ -71,6 +70,8 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install libtgui.so $RPM_BUILD_ROOT%{_libdir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -80,6 +81,7 @@
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libtgui.so
 %{_includedir}/TGUI
 
 %files static
@@ -92,6 +94,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007/08/14 11:45:53  lisu
+- generate dynamic lib and add it to -devel package
+
 Revision 1.5  2007/08/08 21:12:33  lisu
 - TODO edit
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/logg.spec?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/SPECS/tgui.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list