SPECS: libmspack.spec - added bcond_without static_libs
witekfl
witekfl at pld-linux.org
Wed Aug 29 21:46:14 CEST 2007
Author: witekfl Date: Wed Aug 29 19:46:14 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added bcond_without static_libs
---- Files affected:
SPECS:
libmspack.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/libmspack.spec
diff -u SPECS/libmspack.spec:1.7 SPECS/libmspack.spec:1.8
--- SPECS/libmspack.spec:1.7 Tue Feb 13 07:46:51 2007
+++ SPECS/libmspack.spec Wed Aug 29 21:46:09 2007
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static libraries
+#
Summary: A library for Microsoft compression formats
Summary(pl.UTF-8): Biblioteka do formatów kompresji używanych przez Microsoft
Name: libmspack
@@ -53,7 +57,8 @@
%setup -q
%build
-%configure
+%configure \
+ %{!?with_static_libs:--disable-static}
%{__make}
%install
@@ -80,9 +85,11 @@
%{_libdir}/libmspack.la
%{_includedir}/mspack.h
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libmspack.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -90,6 +97,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2007/08/29 19:46:09 witekfl
+- added bcond_without static_libs
+
Revision 1.7 2007/02/13 06:46:51 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libmspack.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list