]> git.pld-linux.org Git - packages/libfpx.git/blobdiff - libfpx.spec
- updated to 1.3.1-10 (fixes CVE-2017-12921 CVE-2017-12925 and possibly CVE-2017...
[packages/libfpx.git] / libfpx.spec
index a5196eaacc961e92ab9a90a8ff2866b848a5d53f..8811d271c695e62ea90c6d8955a107679b201995 100644 (file)
@@ -3,21 +3,22 @@
 %bcond_without static_libs     # don't build static library
 #
 Summary:       FlashPIX OpenSource Toolkit
-Summary(pl.UTF-8):   Biblioteka do obróbki obrazków FlashPIX
+Summary(pl.UTF-8):     Biblioteka do obróbki obrazków FlashPIX
 Name:          libfpx
-Version:       1.2.0.13
-Release:       2
+Version:       1.3.1.10
+Release:       1
 License:       distributable (see COPYING)
 Group:         Libraries
-# Strange... [URL] says you can order it (for money) and doesn't contain any
-# link, but sources can be freely redistributed. Can be found on any IM mirror.
-Source0:       ftp://ftp.simplesystems.org/pub/ImageMagick/delegates/%{name}-%{version}.tar.bz2
-# Source0-md5: 5e781a17ec96e8f9af8c2ff319e8d706
-URL:           http://www.i3a.org/i_flashpix.html
-BuildRequires: autoconf >= 2.55
-BuildRequires: automake >= 1:1.9
+Source0:       http://www.imagemagick.org/download/delegates/%{name}-1.3.1-10.tar.xz
+# Source0-md5: 6855850cde24262e3d7fd7b8514d0b1d
+Patch0:                %{name}-link.patch
+URL:           http://www.imagemagick.org/
+BuildRequires: autoconf >= 2.60
+BuildRequires: automake >= 1:1.11
 BuildRequires: libtool >= 2:1.5
 BuildRequires: libstdc++-devel >= 3.2.2
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
 Provides:      fpx
 Obsoletes:     fpx
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -34,7 +35,7 @@ FlashPIX, do której przyczynił się Eastman Kodak Company.
 
 %package devel
 Summary:       FlashPIX header file and documentation
-Summary(pl.UTF-8):   Plik nagłówkowy i dokumentacja do FlashPIX
+Summary(pl.UTF-8):     Plik nagłówkowy i dokumentacja do FlashPIX
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Obsoletes:     fpx-devel
@@ -48,7 +49,7 @@ biblioteki FlashPIX oraz dokumentacja do tej biblioteki.
 
 %package static
 Summary:       FlashPIX static library
-Summary(pl.UTF-8):   Statyczna biblioteka FlashPIX
+Summary(pl.UTF-8):     Statyczna biblioteka FlashPIX
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 Obsoletes:     fpx-static
@@ -60,7 +61,10 @@ Static version of FlashPIX library.
 Statyczna wersja biblioteki FlashPIX.
 
 %prep
-%setup -q
+%setup -q -n %{name}-1.3.1-10
+%patch0 -p1
+
+ln -f flashpix.h COPYING
 
 %build
 %{__libtoolize}
@@ -88,6 +92,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING ChangeLog NEWS README
 %attr(755,root,root) %{_libdir}/libfpx.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libfpx.so.1
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.048879 seconds and 4 git commands to generate.