SPECS: libwpd.spec, libgsf.spec, libunicode.spec - added bcond_wit...
witekfl
witekfl at pld-linux.org
Sun Aug 19 21:29:53 CEST 2007
Author: witekfl Date: Sun Aug 19 19:29:53 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added bcond_without static_libs
---- Files affected:
SPECS:
libwpd.spec (1.24 -> 1.25) , libgsf.spec (1.57 -> 1.58) , libunicode.spec (1.32 -> 1.33)
---- Diffs:
================================================================
Index: SPECS/libwpd.spec
diff -u SPECS/libwpd.spec:1.24 SPECS/libwpd.spec:1.25
--- SPECS/libwpd.spec:1.24 Sun Jun 17 22:06:46 2007
+++ SPECS/libwpd.spec Sun Aug 19 21:29:47 2007
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
Summary: Library for reading and converting WordPerfect(TM) documents
Summary(pl.UTF-8): Biblioteka do odczytu i konwersji dokumentów WordPerfecta(TM)
Name: libwpd
@@ -77,7 +81,8 @@
%{__autoheader}
%{__automake}
%configure \
- --enable-static
+ --enable-static \
+ %{!?with_static_libs:--disable-static}
%{__make}
%install
@@ -104,9 +109,11 @@
%{_includedir}/libwpd*
%{_pkgconfigdir}/*.pc
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/lib*.a
+%endif
%files tools
%defattr(644,root,root,755)
@@ -118,6 +125,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.25 2007/08/19 19:29:47 witekfl
+- added bcond_without static_libs
+
Revision 1.24 2007/06/17 20:06:46 qboosh
- updated to 0.8.10
================================================================
Index: SPECS/libgsf.spec
diff -u SPECS/libgsf.spec:1.57 SPECS/libgsf.spec:1.58
--- SPECS/libgsf.spec:1.57 Sat Aug 4 13:48:11 2007
+++ SPECS/libgsf.spec Sun Aug 19 21:29:47 2007
@@ -3,6 +3,7 @@
# Conditional build:
%bcond_without apidocs # disable gtk-doc
%bcond_without gnome # without GNOME extensions packages
+%bcond_without static_libs # don't build static libraries
#
Summary: GNOME Structured File library
Summary(pl.UTF-8): Biblioteka plików strukturalnych dla GNOME
@@ -176,7 +177,8 @@
%configure \
%{?with_apidocs:--enable-gtk-doc} \
--with-html-dir=%{_gtkdocdir} \
- %{!?with_gnome:--without-gnome}
+ %{!?with_gnome:--without-gnome} \
+ %{!?with_static_libs:--disable-static}
%{__make}
%install
@@ -222,9 +224,11 @@
%{_includedir}/libgsf-1/gsf
%{_pkgconfigdir}/libgsf-?.pc
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libgsf-?.a
+%endif
%if %{with apidocs}
%files apidocs
@@ -244,9 +248,11 @@
%{_includedir}/libgsf-1/gsf-gnome
%{_pkgconfigdir}/libgsf-gnome-?.pc
+%if %{with static_libs}
%files gnome-static
%defattr(644,root,root,755)
%{_libdir}/libgsf-gnome-?.a
+%endif
%files -n gsf-office-thumbnailer
%defattr(644,root,root,755)
@@ -274,6 +280,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.58 2007/08/19 19:29:47 witekfl
+- added bcond_without static_libs
+
Revision 1.57 2007/08/04 11:48:11 qboosh
- License is LGPL v2.1 (with no option)
================================================================
Index: SPECS/libunicode.spec
diff -u SPECS/libunicode.spec:1.32 SPECS/libunicode.spec:1.33
--- SPECS/libunicode.spec:1.32 Tue Feb 13 07:46:52 2007
+++ SPECS/libunicode.spec Sun Aug 19 21:29:47 2007
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
%define snap 20020919
@@ -72,8 +76,10 @@
%setup -q -n %{name}
%build
-./autogen.sh
-%configure
+./autogen.sh \
+ %{!?with_static_libs:--disable-static}
+%configure \
+ %{!?with_static_libs:--disable-static}
%{__make}
%install
@@ -101,9 +107,11 @@
%attr(755,root,root) %{_libdir}/*.sh
%{_includedir}/*.h
+%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
@@ -111,6 +119,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.33 2007/08/19 19:29:47 witekfl
+- added bcond_without static_libs
+
Revision 1.32 2007/02/13 06:46:52 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libwpd.spec?r1=1.24&r2=1.25&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libgsf.spec?r1=1.57&r2=1.58&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libunicode.spec?r1=1.32&r2=1.33&f=u
More information about the pld-cvs-commit
mailing list