]> git.pld-linux.org Git - packages/fox.git/commitdiff
- up to 1.6.0 stable (builds, not tested)
authortwittner <twittner@pld-linux.org>
Tue, 21 Mar 2006 20:28:19 +0000 (20:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added static_libs bcond

Changed files:
    fox.spec -> 1.83

fox.spec

index a436f86921a9cef1a522e85f337fb635dafdf7b7..00ea067f77b6b66703850a057b8f197aac46e85c 100644 (file)
--- a/fox.spec
+++ b/fox.spec
@@ -1,3 +1,6 @@
+#
+%bcond_without static_libs # don't build static libraries
+#
 Summary:       The FOX C++ GUI Toolkit
 Summary(pl):   FOX - toolkit graficzny w C++
 Name:          fox
@@ -6,7 +9,7 @@ Release:        1
 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
@@ -111,7 +114,8 @@ Dokumentacja programisty do biblioteki FOX.
 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
@@ -154,9 +158,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_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)
This page took 0.108633 seconds and 4 git commands to generate.