SPECS: xorg-lib-libXaw.spec - added bcond_without static_libs
witekfl
witekfl at pld-linux.org
Mon Jul 23 19:19:38 CEST 2007
Author: witekfl Date: Mon Jul 23 17:19:38 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added bcond_without static_libs
---- Files affected:
SPECS:
xorg-lib-libXaw.spec (1.19 -> 1.20)
---- Diffs:
================================================================
Index: SPECS/xorg-lib-libXaw.spec
diff -u SPECS/xorg-lib-libXaw.spec:1.19 SPECS/xorg-lib-libXaw.spec:1.20
--- SPECS/xorg-lib-libXaw.spec:1.19 Mon Feb 12 23:09:24 2007
+++ SPECS/xorg-lib-libXaw.spec Mon Jul 23 19:19:33 2007
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
Summary: X Athena Widgets library
Summary(pl.UTF-8): Biblioteka X Athena Widgets
Name: xorg-lib-libXaw
@@ -75,7 +79,8 @@
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure
+%configure \
+ %{!?with_static_libs:--disable-static}
%{__make}
%install
@@ -117,11 +122,13 @@
%{_pkgconfigdir}/xaw8.pc
%{_mandir}/man3/*.3x*
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libXaw6.a
%{_libdir}/libXaw7.a
%{_libdir}/libXaw8.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -129,6 +136,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.20 2007/07/23 17:19:33 witekfl
+- added bcond_without static_libs
+
Revision 1.19 2007/02/12 22:09:24 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/xorg-lib-libXaw.spec?r1=1.19&r2=1.20&f=u
More information about the pld-cvs-commit
mailing list