SPECS: fox.spec - up to 1.6.0 stable (builds, not tested) - added ...
twittner
twittner at pld-linux.org
Tue Mar 21 21:28:24 CET 2006
Author: twittner Date: Tue Mar 21 20:28:24 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 1.6.0 stable (builds, not tested)
- added static_libs bcond
---- Files affected:
SPECS:
fox.spec (1.82 -> 1.83)
---- Diffs:
================================================================
Index: SPECS/fox.spec
diff -u SPECS/fox.spec:1.82 SPECS/fox.spec:1.83
--- SPECS/fox.spec:1.82 Wed Oct 19 00:14:53 2005
+++ SPECS/fox.spec Tue Mar 21 21:28:19 2006
@@ -1,4 +1,7 @@
# $Revision$, $Date$
+#
+%bcond_without static_libs # don't build static libraries
+#
Summary: The FOX C++ GUI Toolkit
Summary(pl): FOX - toolkit graficzny w C++
Name: fox
@@ -7,7 +10,7 @@
License: LGPL
Group: X11/Libraries
Source0: ftp://ftp.fox-toolkit.com/pub/%{name}-%{version}.tar.gz
-# Source0-md5: 4f3a57360e1d27e07991a5d98c60b1b2
+# Source0-md5: cc700a729aecfad9b67e9300cf05b961
Patch0: %{name}-opt.patch
Patch1: %{name}-link.patch
Patch2: %{name}-Makefile.patch
@@ -112,7 +115,8 @@
LDFLAGS="%{rpmldflags} -L/usr/X11R6/%{_lib}"
%configure \
--with-opengl \
- %{?debug:--enable-debug}%{!?debug:--enable-release}
+ %{?debug:--enable-debug}%{!?debug:--enable-release} \
+ --enable-static=%{?with_static_libs:yes}%{!?with_static_libs:no}
%{__make}
%install
@@ -155,9 +159,11 @@
%{_libdir}/lib*.la
%{_includedir}/fox-1.6
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/lib*.a
+%endif
%files doc
%defattr(644,root,root,755)
@@ -169,6 +175,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.83 2006/03/21 20:28:19 twittner
+- up to 1.6.0 stable (builds, not tested)
+- added static_libs bcond
+
Revision 1.82 2005/10/18 22:14:53 qboosh
- updated to 1.6.0, updated link patch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/fox.spec?r1=1.82&r2=1.83&f=u
More information about the pld-cvs-commit
mailing list