SPECS: libmng.spec - added bcond_without static_libs
witekfl
witekfl at pld-linux.org
Fri Aug 31 18:08:29 CEST 2007
Author: witekfl Date: Fri Aug 31 16:08:29 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added bcond_without static_libs
---- Files affected:
SPECS:
libmng.spec (1.52 -> 1.53)
---- Diffs:
================================================================
Index: SPECS/libmng.spec
diff -u SPECS/libmng.spec:1.52 SPECS/libmng.spec:1.53
--- SPECS/libmng.spec:1.52 Mon Jul 16 20:12:56 2007
+++ SPECS/libmng.spec Fri Aug 31 18:08:24 2007
@@ -1,9 +1,10 @@
# $Revision$, $Date$
#
# Conditional build:
-%bcond_without gtk # don't build GTK+-based contribs
-%bcond_without motif # don't build Motif-based contribs
-%bcond_without sdl # don't build SDL-based contribs
+%bcond_without gtk # don't build GTK+-based contribs
+%bcond_without motif # don't build Motif-based contribs
+%bcond_without sdl # don't build SDL-based contribs
+%bcond_without static_libs # don't build static libraries
#
Summary: A library of functions for manipulating MNG format files
Summary(pl.UTF-8): Biblioteka do obróbki plików w formacie MNG
@@ -176,7 +177,8 @@
--enable-shared \
--enable-static \
--with-zlib \
- --with-jpeg
+ --with-jpeg \
+ %{!?with_static_libs:--disable-static}
%{__make}
%{__make} -C contrib/gcc/fbmngplay fbmngplay \
@@ -239,9 +241,11 @@
%{_includedir}/*
%{_mandir}/man3/*
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libmng.a
+%endif
%files progs
%defattr(644,root,root,755)
@@ -272,6 +276,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.53 2007/08/31 16:08:24 witekfl
+- added bcond_without static_libs
+
Revision 1.52 2007/07/16 18:12:56 qboosh
- updated to 1.0.10
- updated patches
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libmng.spec?r1=1.52&r2=1.53&f=u
More information about the pld-cvs-commit
mailing list