]> git.pld-linux.org Git - packages/fbida.git/blobdiff - fbida.spec
fix missing ; in .desktop MimeType
[packages/fbida.git] / fbida.spec
index 82d63d018b7f8e663c7ade3e242d802c9b744130..0d43c31829d7da4721b49722fd303c506ad44fac 100644 (file)
 %bcond_without png     # without PNG images support
 %bcond_without sane    # without SANE scanning support (in ida)
 %bcond_without tiff    # without TIFF images support
-#
-%if !%{with motif}
+%bcond_without webp    # without WebP images support
+
+%if %{without motif}
 # SANE used only in ida
 %undefine      with_sane
 %endif
 Summary:       fbida - a few applications for viewing and editing images
 Summary(pl.UTF-8):     fbida - kilka aplikacji do oglądania i edycji obrazków
 Name:          fbida
-Version:       2.07
-Release:       2
+Version:       2.09
+Release:       13
 License:       GPL
 Group:         Applications/Graphics
-Source0:       http://dl.bytesex.org/releases/fbida/%{name}-%{version}.tar.gz
-# Source0-md5: 3e05910fb7c1d9b2bd3e272d96db069c
+Source0:       http://www.kraxel.org/releases/fbida/%{name}-%{version}.tar.gz
+# Source0-md5: 62415c7cb28d995f9d317868de0f2830
 Patch0:                %{name}-config-noforce.patch
 Patch1:                %{name}-desktop.patch
-Patch2:                %{name}-libpng-1.4.patch
-URL:           http://linux.bytesex.org/fbida/
+Patch2:                format-security.patch
+Patch3:                %{name}-giflib.patch
+URL:           http://www.kraxel.org/blog/linux/fbida/
 BuildRequires: ImageMagick-devel
 %{?with_curl:BuildRequires:    curl-devel}
 BuildRequires: fontconfig-devel
@@ -41,9 +43,10 @@ BuildRequires:       libjpeg-devel
 %{?with_pcd:BuildRequires:     libpcd-devel >= 1:1.0.1}
 %{?with_png:BuildRequires:     libpng-devel}
 %{?with_tiff:BuildRequires:    libtiff-devel}
+%{?with_webp:BuildRequires:    libwebp-devel}
 %{?with_lirc:BuildRequires:    lirc-devel}
 # acc. to README lesstif is not sufficient
-%{?with_motif:BuildRequires:   openmotif-devel >= 2.0}
+%{?with_motif:BuildRequires:   motif-devel >= 2.0}
 BuildRequires: perl-base
 BuildRequires: pkgconfig
 %{?with_sane:BuildRequires:    sane-backends-devel}
@@ -124,6 +127,7 @@ Dostępne jest też trochę podstawowych funkcji edycyjnych.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 CFLAGS="%{rpmcflags}" \
@@ -134,6 +138,7 @@ CFLAGS="%{rpmcflags}" \
        %{!?with_gif:HAVE_LIBUNGIF=no} \
        %{!?with_png:HAVE_LIBPNG=no} \
        %{!?with_tiff:HAVE_LIBTIFF=no} \
+       %{!?with_webp:HAVE_LIBWEBP=no} \
        %{!?with_sane:HAVE_LIBSANE=no} \
        %{!?with_curl:HAVE_LIBCURL=no} \
        %{!?with_lirc:HAVE_LIBLIRC=no} \
@@ -150,6 +155,7 @@ rm -rf $RPM_BUILD_ROOT
        %{!?with_gif:HAVE_LIBUNGIF=no} \
        %{!?with_png:HAVE_LIBPNG=no} \
        %{!?with_tiff:HAVE_LIBTIFF=no} \
+       %{!?with_webp:HAVE_LIBWEBP=no} \
        %{!?with_sane:HAVE_LIBSANE=no} \
        %{!?with_curl:HAVE_LIBCURL=no} \
        %{!?with_lirc:HAVE_LIBLIRC=no} \
This page took 0.065436 seconds and 4 git commands to generate.