SPECS: libmbfl.spec - added bcond_without static_libs
witekfl
witekfl at pld-linux.org
Thu Jul 26 20:58:28 CEST 2007
Author: witekfl Date: Thu Jul 26 18:58:28 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added bcond_without static_libs
---- Files affected:
SPECS:
libmbfl.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/libmbfl.spec
diff -u SPECS/libmbfl.spec:1.6 SPECS/libmbfl.spec:1.7
--- SPECS/libmbfl.spec:1.6 Tue Feb 13 07:46:51 2007
+++ SPECS/libmbfl.spec Thu Jul 26 20:58:23 2007
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
Summary: Streamable kanji code filter and converter
Summary(pl.UTF-8): Strumieniowy filtr i konwerter kodu kanji
Name: libmbfl
@@ -57,7 +61,8 @@
%{__autoheader}
%{__automake}
%{__autoconf}
-%configure
+%configure \
+ %{!?with_static_libs:--disable-static}
%{__make}
%install
@@ -82,9 +87,11 @@
%{_libdir}/libmbfl.la
%{_includedir}/mbfl
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libmbfl.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -92,6 +99,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2007/07/26 18:58:23 witekfl
+- added bcond_without static_libs
+
Revision 1.6 2007/02/13 06:46:51 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libmbfl.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list