3 %bcond_without static_libs # don't build static library
5 Summary: FlashPIX OpenSource Toolkit
6 Summary(pl.UTF-8): Biblioteka do obróbki obrazków FlashPIX
10 License: distributable (see COPYING)
12 Source0: http://www.imagemagick.org/download/delegates/%{name}-1.3.1-7.tar.xz
13 # Source0-md5: 1b3a5297aaae4101e84d1e50e6a853ee
14 Patch0: %{name}-link.patch
15 URL: http://www.imagemagick.org/
16 BuildRequires: autoconf >= 2.60
17 BuildRequires: automake >= 1:1.11
18 BuildRequires: libtool >= 2:1.5
19 BuildRequires: libstdc++-devel >= 3.2.2
20 BuildRequires: tar >= 1:1.22
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 FlashPIX OpenSource Toolkit is based on source obtained from the
28 Digital Imaging Group Inc. and includes a sample FlashPIX library
29 implementation contributed by Eastman Kodak Company.
31 %description -l pl.UTF-8
32 FlashPIX OpenSource Toolkit jest bazowany na źródłach uzyskanych od
33 Digital Imaging Group i zawiera przykładową implementację biblioteki
34 FlashPIX, do której przyczynił się Eastman Kodak Company.
37 Summary: FlashPIX header file and documentation
38 Summary(pl.UTF-8): Plik nagłówkowy i dokumentacja do FlashPIX
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
44 FlashPIX header files and programmer's documentation.
46 %description devel -l pl.UTF-8
47 Plik nagłówkowy potrzebny do kompilowania programów korzystających z
48 biblioteki FlashPIX oraz dokumentacja do tej biblioteki.
51 Summary: FlashPIX static library
52 Summary(pl.UTF-8): Statyczna biblioteka FlashPIX
53 Group: Development/Libraries
54 Requires: %{name}-devel = %{version}-%{release}
58 Static version of FlashPIX library.
60 %description static -l pl.UTF-8
61 Statyczna wersja biblioteki FlashPIX.
64 %setup -q -n %{name}-1.3.1-7
67 ln -f flashpix.h COPYING
75 --enable-fast-install \
76 %{!?with_static_libs:--disable-static}
80 rm -rf $RPM_BUILD_ROOT
83 DESTDIR=$RPM_BUILD_ROOT
86 rm -rf $RPM_BUILD_ROOT
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
93 %doc AUTHORS COPYING ChangeLog NEWS README
94 %attr(755,root,root) %{_libdir}/libfpx.so.*.*.*
95 %attr(755,root,root) %ghost %{_libdir}/libfpx.so.1
98 %defattr(644,root,root,755)
99 %doc doc/*.pdf doc/readme.txt
100 %attr(755,root,root) %{_libdir}/libfpx.so
102 %{_includedir}/fpxlib.h
104 %if %{with static_libs}
106 %defattr(644,root,root,755)