SPECS: neon.spec - added bcond_without static_libs
twittner
twittner at pld-linux.org
Fri Jun 17 21:36:03 CEST 2005
Author: twittner Date: Fri Jun 17 19:36:03 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added bcond_without static_libs
---- Files affected:
SPECS:
neon.spec (1.46 -> 1.47)
---- Diffs:
================================================================
Index: SPECS/neon.spec
diff -u SPECS/neon.spec:1.46 SPECS/neon.spec:1.47
--- SPECS/neon.spec:1.46 Mon Mar 21 19:33:16 2005
+++ SPECS/neon.spec Fri Jun 17 21:35:58 2005
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static libraries
+#
Summary: An HTTP and WebDAV client library
Summary(pl): Biblioteka kliencka HTTP i WebDAV
Name: neon
@@ -88,6 +92,7 @@
%configure \
--with-ssl \
--enable-shared \
+ %{!?with_static_libs:--enable-static=no} \
--with-libxml2
%{__make}
@@ -122,9 +127,11 @@
%{_mandir}/man*/*
%{_pkgconfigdir}/neon.pc
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/*.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -132,6 +139,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.47 2005/06/17 19:35:58 twittner
+- added bcond_without static_libs
+
Revision 1.46 2005/03/21 18:33:16 mmazur
- rel 4 for th
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/neon.spec?r1=1.46&r2=1.47&f=u
More information about the pld-cvs-commit
mailing list