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 # Strange... [URL] says you can order it (for money) and doesn't contain any
13 # link, but sources can be freely redistributed. Can be found on any IM mirror.
14 Source0: ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/%{name}-%{version}-1.tar.bz2
15 # Source0-md5: d65c555aa68a296d6eba384929434d70
16 URL: http://www.i3a.org/technologies/digital-photography/flashpix/
17 BuildRequires: autoconf >= 2.60
18 BuildRequires: automake >= 1:1.9
19 BuildRequires: libtool >= 2:1.5
20 BuildRequires: libstdc++-devel >= 3.2.2
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 FlashPIX OpenSource Toolkit is based on source obtained from the
27 Digital Imaging Group Inc. and includes a sample FlashPIX library
28 implementation contributed by Eastman Kodak Company.
30 %description -l pl.UTF-8
31 FlashPIX OpenSource Toolkit jest bazowany na źródłach uzyskanych od
32 Digital Imaging Group i zawiera przykładową implementację biblioteki
33 FlashPIX, do której przyczynił się Eastman Kodak Company.
36 Summary: FlashPIX header file and documentation
37 Summary(pl.UTF-8): Plik nagłówkowy i dokumentacja do FlashPIX
38 Group: Development/Libraries
39 Requires: %{name} = %{version}-%{release}
43 FlashPIX header files and programmer's documentation.
45 %description devel -l pl.UTF-8
46 Plik nagłówkowy potrzebny do kompilowania programów korzystających z
47 biblioteki FlashPIX oraz dokumentacja do tej biblioteki.
50 Summary: FlashPIX static library
51 Summary(pl.UTF-8): Statyczna biblioteka FlashPIX
52 Group: Development/Libraries
53 Requires: %{name}-devel = %{version}-%{release}
57 Static version of FlashPIX library.
59 %description static -l pl.UTF-8
60 Statyczna wersja biblioteki FlashPIX.
65 ln -f flashpix.h COPYING
73 --enable-fast-install \
74 %{!?with_static_libs:--disable-static}
78 rm -rf $RPM_BUILD_ROOT
81 DESTDIR=$RPM_BUILD_ROOT
84 rm -rf $RPM_BUILD_ROOT
86 %post -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
90 %defattr(644,root,root,755)
91 %doc AUTHORS COPYING ChangeLog NEWS README
92 %attr(755,root,root) %{_libdir}/libfpx.so.*.*.*
93 %attr(755,root,root) %ghost %{_libdir}/libfpx.so.1
96 %defattr(644,root,root,755)
97 %doc doc/*.pdf doc/readme.txt
98 %attr(755,root,root) %{_libdir}/libfpx.so
100 %{_includedir}/fpxlib.h
101 %{_includedir}/fpxlib-config.h
103 %if %{with static_libs}
105 %defattr(644,root,root,755)