SPECS: popt.spec - added bcond_without static_libs
twittner
twittner at pld-linux.org
Fri Jun 17 21:19:25 CEST 2005
Author: twittner Date: Fri Jun 17 19:19:25 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added bcond_without static_libs
---- Files affected:
SPECS:
popt.spec (1.73 -> 1.74)
---- Diffs:
================================================================
Index: SPECS/popt.spec
diff -u SPECS/popt.spec:1.73 SPECS/popt.spec:1.74
--- SPECS/popt.spec:1.73 Mon Mar 21 19:26:44 2005
+++ SPECS/popt.spec Fri Jun 17 21:19:20 2005
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static libraries
+#
Summary: C library for parsing command line parameters
Summary(de): C-Library zum Parsen von Befehlszeilenparametern
Summary(fr): Bibliothčque C pour analyser les paramčtres de la ligne de commande
@@ -156,7 +160,8 @@
%{__aclocal}
%{__autoconf}
%{__automake} -i
-%configure
+%configure \
+ %{!?with_static_libs:--disable-static}
%{__make}
@@ -192,9 +197,11 @@
%{_mandir}/man3/*
%{_includedir}/popt.h
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libpopt.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -202,6 +209,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.74 2005/06/17 19:19:20 twittner
+- added bcond_without static_libs
+
Revision 1.73 2005/03/21 18:26:44 mmazur
- rel 2 for th
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/popt.spec?r1=1.73&r2=1.74&f=u
More information about the pld-cvs-commit
mailing list