]> git.pld-linux.org Git - packages/fox.git/blobdiff - fox.spec
- release 2 (by relup.sh)
[packages/fox.git] / fox.spec
index b67c3eee4fb271c0417b05eccebaae493fd30d5a..60a4fd946b58d67edbce0b4ea74ad827200d7e67 100644 (file)
--- a/fox.spec
+++ b/fox.spec
@@ -1,21 +1,22 @@
 #
 # Conditional build:
 %bcond_without cups            # CUPS support
+%bcond_without openjpeg        # JPEG2000 support
 %bcond_without static_libs     # don't build static libraries
 #
 Summary:       The FOX C++ GUI Toolkit
 Summary(pl.UTF-8):     FOX - toolkit graficzny w C++
 Name:          fox
-Version:       1.7.26
+# NOTE: after switching to 1.8.x keep stable (1.8.x) on HEAD and devel (1.9.x) on DEVEL
+Version:       1.7.49
 Release:       2
-License:       LGPL v2.1+
+License:       LGPL v3+ with relinking exemption
 Group:         X11/Libraries
-Source0:       http://fox-toolkit.org/ftp/%{name}-%{version}.tar.gz
-# Source0-md5: acaf8a1f33d02265b26a2b0c3fd06625
+Source0:       http://ftp.fox-toolkit.org/pub/%{name}-%{version}.tar.gz
+# Source0-md5: 8563e4c0eb8ebd3511ef02cd5ba0bf51
 Patch0:                %{name}-opt.patch
 Patch1:                %{name}-link.patch
 Patch2:                %{name}-Makefile.patch
-Patch3:                %{name}-Xlib.patch
 URL:           http://www.fox-toolkit.org/
 BuildRequires: OpenGL-GLU-devel
 BuildRequires: autoconf >= 2.59-9
@@ -28,6 +29,8 @@ BuildRequires:        libpng-devel >= 1.2.5
 BuildRequires: libstdc++-devel
 BuildRequires: libtiff-devel >= 3.5.7
 BuildRequires: libtool >= 2:1.5
+BuildRequires: libwebp-devel
+%{?with_openjpeg:BuildRequires:        openjpeg-devel}
 BuildRequires: pkgconfig
 BuildRequires: xorg-lib-libXcursor-devel
 BuildRequires: xorg-lib-libXext-devel
@@ -80,6 +83,8 @@ Requires:     libjpeg-devel >= 6b
 Requires:      libpng-devel >= 1.2.5
 Requires:      libstdc++-devel
 Requires:      libtiff-devel >= 3.5.7
+Requires:      libwebp-devel
+%{?with_openjpeg:Requires:     openjpeg-devel}
 Requires:      xorg-lib-libXcursor-devel
 Requires:      xorg-lib-libXext-devel
 Requires:      xorg-lib-libXft-devel
@@ -133,7 +138,6 @@ FOX - przykładowe programy.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
 
 %build
 %{__libtoolize}
@@ -143,14 +147,16 @@ FOX - przykładowe programy.
 %configure \
        %{?with_cups:--enable-cups} \
        %{?debug:--enable-debug}%{!?debug:--enable-release} \
+       %{?with_openjpeg:--enable-jp2} \
        --enable-static%{!?with_static_libs:=no} \
+       --enable-webp \
        --with-opengl \
-       --with-xft \
        --with-shape \
-       --with-xshm \
        --with-xcursor \
+       --with-xft \
+       --with-xim \
        --with-xrandr \
-       --with-xim
+       --with-xshm
 
 %{__make}
 
@@ -199,6 +205,7 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %doc ADDITIONS TRACING
+%attr(755,root,root) %{_bindir}/fox-config
 %attr(755,root,root) %{_bindir}/reswrap
 %attr(755,root,root) %{_libdir}/libCHART-1.7.so
 %attr(755,root,root) %{_libdir}/libFOX-1.7.so
This page took 0.0825090000000001 seconds and 4 git commands to generate.