SPECS: glib.spec - added bcond_without static_libs
witekfl
witekfl at pld-linux.org
Tue Jun 14 18:10:03 CEST 2005
Author: witekfl Date: Tue Jun 14 16:10:03 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added bcond_without static_libs
---- Files affected:
SPECS:
glib.spec (1.104 -> 1.105)
---- Diffs:
================================================================
Index: SPECS/glib.spec
diff -u SPECS/glib.spec:1.104 SPECS/glib.spec:1.105
--- SPECS/glib.spec:1.104 Tue May 3 21:45:46 2005
+++ SPECS/glib.spec Tue Jun 14 18:09:58 2005
@@ -1,4 +1,5 @@
# $Revision$, $Date$
+%bcond_without static_libs # don't build static library
Summary: Useful routines for 'C' programming
Summary(cs): Šikovná knihovna s funkcemi pro pomocné programy
Summary(da): Nyttige biblioteksfunktioner
@@ -106,7 +107,8 @@
%{__automake}
%configure \
--enable-debug=%{?debug:yes}%{!?debug:minimum} \
- --enable-threads
+ --enable-threads \
+ %{!?with_static_libs:--disable-static}
%{__make}
%install
@@ -147,9 +149,11 @@
%{_infodir}/glib.info*
%{_mandir}/man1/glib-config.1.*
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/lib*.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -157,6 +161,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.105 2005/06/14 16:09:58 witekfl
+- added bcond_without static_libs
+
Revision 1.104 2005/05/03 19:45:46 pluto
- release 11 for Th.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/glib.spec?r1=1.104&r2=1.105&f=u
More information about the pld-cvs-commit
mailing list