]> git.pld-linux.org Git - packages/fail.git/blobdiff - fail.spec
- release 6 (by relup.sh)
[packages/fail.git] / fail.spec
index 0117b2290a7efca6659033e05f8f45634b8b26bd..97cab12d3ff8dadda03d5c6999cb10c3213754f1 100644 (file)
--- a/fail.spec
+++ b/fail.spec
@@ -6,17 +6,22 @@
 %bcond_without html5   # HTML5 viewer
 %bcond_without magick  # ImageMagick coder
 #
+# html5 requires cito that requires mono that is not available yet on x32
+%ifarch x32
+%undefine      with_html5
+%endif
+
 Summary:       FAIL - First Atari Image Library
 Summary(pl.UTF-8):     FAIL (First Atari Image Library) - biblioteka do obrazów w formatach Atari
 Name:          fail
-Version:       2.0.0
-Release:       1
+Version:       2.0.1
+Release:       6
 License:       GPL v2+
 Group:         Applications/Graphics
 Source0:       http://downloads.sourceforge.net/fail/%{name}-%{version}.tar.gz
-# Source0-md5: de3592b78144ef3c6b2e98377522df69
+# Source0-md5: b9362106f9a23a1f99ff7bece94d9aa7
 URL:           http://fail.sourceforge.net/
-%{?with_magick:BuildRequires:  ImageMagick-devel >= 6.8}
+%{?with_magick:BuildRequires:  ImageMagick-devel >= 1:6.8}
 %{?with_html5:BuildRequires:   asciidoc}
 %{?with_html5:BuildRequires:   cito}
 BuildRequires: libpng-devel
@@ -25,7 +30,6 @@ BuildRequires:        zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %if %{with magick}
-%define                magick_ver      %(MagickCore-config --version || echo ERROR)
 %define                im_coders_dir   %{_libdir}/%(MagickCore-config --version | sed -e 's,^\\([.0-9]\\+\\) \\+\\(Q[0-9]\\+\\)\\( \\+\\(HDRI\\)\\)\\?.*,ImageMagick-\\1/modules-\\2\\4,')/coders
 %endif
 
@@ -65,9 +69,7 @@ Przeglądarka FAIL do plików z Atari w HTML5.
 Summary:       FAIL coder for ImageMagick
 Summary(pl.UTF-8):     Koder FAIL dla ImageMagicka
 Group:         Libraries
-%if %{with magick}
-Requires:      ImageMagick >= %{magick_ver}
-%endif
+%requires_ge_to        ImageMagick ImageMagick-devel
 
 %description -n ImageMagick-coder-fail
 FAIL coder for ImageMagick to read Atari formats.
This page took 0.052174 seconds and 4 git commands to generate.