SPECS: aiksaurus.spec - without statc_libs bcond
charles
charles at pld-linux.org
Sun Jun 22 19:17:12 CEST 2008
Author: charles Date: Sun Jun 22 17:17:12 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- without statc_libs bcond
---- Files affected:
SPECS:
aiksaurus.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: SPECS/aiksaurus.spec
diff -u SPECS/aiksaurus.spec:1.14 SPECS/aiksaurus.spec:1.15
--- SPECS/aiksaurus.spec:1.14 Wed Mar 26 09:05:49 2008
+++ SPECS/aiksaurus.spec Sun Jun 22 19:17:06 2008
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static libraries
+#
Summary: An English-language thesaurus library
Summary(pl.UTF-8): Angielskojęzyczna biblioteka słownika wyrazów bliskoznacznych
Name: aiksaurus
@@ -111,7 +115,7 @@
%{__automake}
LDFLAGS="%{rpmldflags} -Wl,--as-needed"
%configure \
- --enable-static
+ %{?with_static_libs:--enable-static}
%{__make}
%install
@@ -145,9 +149,11 @@
%exclude %{_includedir}/Aiksaurus/AiksaurusGTK*.h
%{_pkgconfigdir}/aiksaurus-*.pc
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libAiksaurus.a
+%endif
%files gtk
%defattr(644,root,root,755)
@@ -161,9 +167,11 @@
%{_includedir}/Aiksaurus/AiksaurusGTK*.h
%{_pkgconfigdir}/gaiksaurus-*.pc
+%if %{with static_libs}
%files gtk-static
%defattr(644,root,root,755)
%{_libdir}/libAiksaurusGTK.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -171,6 +179,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2008/06/22 17:17:06 charles
+- without statc_libs bcond
+
Revision 1.14 2008/03/26 08:05:49 glen
- lower unneccessary ver bump
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/aiksaurus.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list