packages: libggimisc/libggimisc.spec - added static_modules bcond (libggi-l...
qboosh
qboosh at pld-linux.org
Sun Jan 15 19:07:45 CET 2012
Author: qboosh Date: Sun Jan 15 18:07:45 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- added static_modules bcond (libggi-like)
---- Files affected:
packages/libggimisc:
libggimisc.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: packages/libggimisc/libggimisc.spec
diff -u packages/libggimisc/libggimisc.spec:1.7 packages/libggimisc/libggimisc.spec:1.8
--- packages/libggimisc/libggimisc.spec:1.7 Sun Jan 15 18:00:37 2012
+++ packages/libggimisc/libggimisc.spec Sun Jan 15 19:07:40 2012
@@ -1,7 +1,8 @@
# $Revision$, $Date$
#
# Conditional build:
-%bcond_with svga # svgalib plugin
+%bcond_with svga # svgalib plugin
+%bcond_with static_modules # build static library AND make all modules builtin (also in shared lib)
#
Summary: LibGGIMisc - extension for misc graphics target features
Summary(pl.UTF-8): LibGGIMisc - rozszerzenie do różnych cech modułów wyświetlających
@@ -41,6 +42,9 @@
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: libggi-devel >= 2.2.2
+%if %{with static_modules}
+%{?with_svga:Requires: svgalib-devel}
+%endif
%description devel
Header files for libggimisc library.
@@ -77,6 +81,7 @@
%build
%configure \
+ %{!?with_dynamic_modules:--disable-static} \
%{!?with_svga:--disable-svgalib}
%{__make}
@@ -115,9 +120,11 @@
%{_includedir}/ggi/internal/misc.h
%{_mandir}/man3/ggi*.3*
+%if %{with static_modules}
%files static
%defattr(644,root,root,755)
%{_libdir}/libggimisc.a
+%endif
%if %{with svga}
%files svgalib
@@ -131,6 +138,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2012/01/15 18:07:40 qboosh
+- added static_modules bcond (libggi-like)
+
Revision 1.7 2012/01/15 17:00:37 qboosh
- updated to 2.2.2
- added svga bcond (off by default for Th but builds just fine)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libggimisc/libggimisc.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list