SPECS: lib765.spec - added bcond_without static libs
witekfl
witekfl at pld-linux.org
Tue Jun 14 18:20:54 CEST 2005
Author: witekfl Date: Tue Jun 14 16:20:54 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added bcond_without static libs
---- Files affected:
SPECS:
lib765.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: SPECS/lib765.spec
diff -u SPECS/lib765.spec:1.12 SPECS/lib765.spec:1.13
--- SPECS/lib765.spec:1.12 Sun Feb 6 02:02:17 2005
+++ SPECS/lib765.spec Tue Jun 14 18:20:48 2005
@@ -1,4 +1,5 @@
# $Revision$, $Date$
+%bcond_without static_libs # don't build static library
Summary: 765 FDC library
Summary(pl): Biblioteka FDC 765
Name: lib765
@@ -70,7 +71,8 @@
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure
+%configure \
+ %{!?with_static_libs:--disable-static}
%{__make}
%install
@@ -97,9 +99,11 @@
%{_libdir}/lib765.la
%{_includedir}/*.h
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/lib*.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -107,6 +111,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2005/06/14 16:20:48 witekfl
+- added bcond_without static libs
+
Revision 1.12 2005/02/06 01:02:17 qboosh
- ...but soname has changed
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/lib765.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list