SPECS: libassetml.spec - BR: tetex - added bcond_without static
witekfl
witekfl at pld-linux.org
Tue Jun 14 21:59:08 CEST 2005
Author: witekfl Date: Tue Jun 14 19:59:08 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- BR: tetex
- added bcond_without static
---- Files affected:
SPECS:
libassetml.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/libassetml.spec
diff -u SPECS/libassetml.spec:1.5 SPECS/libassetml.spec:1.6
--- SPECS/libassetml.spec:1.5 Wed Apr 7 18:47:00 2004
+++ SPECS/libassetml.spec Tue Jun 14 21:59:03 2005
@@ -1,4 +1,5 @@
# $Revision$, $Date$
+%bcond_without static # don't build static library
Summary: Library assetml to share and reuse content like image and audio file
Summary(pl): Biblioteka assetml to współdzielenia zasobów typu obrazki i dźwięki
Name: libassetml
@@ -14,6 +15,7 @@
BuildRequires: glib2-devel >= 2.0.0
BuildRequires: libxml2-devel
BuildRequires: popt-devel
+BuildRequires: tetex
BuildRequires: texinfo
BuildRequires: automake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -63,7 +65,8 @@
%build
cp /usr/share/automake/config.sub .
%configure \
- --enable-static
+ --enable-static \
+ %{!?with_static:--disable-static}
%{__make}
%install
@@ -100,9 +103,11 @@
%{_pkgconfigdir}/libassetml.pc
%{_infodir}/*.info*
+%if %{with static}
%files static
%defattr(644,root,root,755)
%{_libdir}/lib*.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -110,6 +115,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2005/06/14 19:59:03 witekfl
+- BR: tetex
+- added bcond_without static
+
Revision 1.5 2004/04/07 16:47:00 jajcus
- Release: 2
- config.sub refreshed for AMD64
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libassetml.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list