template-specs: lib.spec - static bcond in files and configure - verbose files

glen glen at pld-linux.org
Sat Jul 17 20:12:59 CEST 2010


Author: glen                         Date: Sat Jul 17 18:12:59 2010 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- static bcond in files and configure
- verbose files

---- Files affected:
template-specs:
   lib.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: template-specs/lib.spec
diff -u template-specs/lib.spec:1.15 template-specs/lib.spec:1.16
--- template-specs/lib.spec:1.15	Sun May 16 15:27:28 2010
+++ template-specs/lib.spec	Sat Jul 17 20:12:54 2010
@@ -76,7 +76,8 @@
 #%{__autoconf}
 #%{__autoheader}
 #%{__automake}
-%configure
+%configure \
+	%{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -97,21 +98,23 @@
 %defattr(644,root,root,755)
 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%attr(755,root,root) %{_libdir}/libFOO.so.*.*.*
 %{_datadir}/%{name}
 
 %files devel
 %defattr(644,root,root,755)
 %doc devel-doc/*
-%{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%{_libdir}/libFOO.so
+%{_libdir}/libFOO.la
 %{_includedir}/foo
-%{_aclocaldir}/*.m4
-%{_pkgconfigdir}/*.pc
+%{_aclocaldir}/FOO.m4
+%{_pkgconfigdir}/FOO.pc
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libFOO.a
+%endif
 
 %if %{with apidocs}
 %files apidocs
@@ -125,6 +128,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2010/07/17 18:12:54  glen
+- static bcond in files and configure
+- verbose files
+
 Revision 1.15  2010/05/16 13:27:28  glen
 - apidocs bcond
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/lib.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list