3 %bcond_without static_libs # don't build static library
5 Summary: FlashPIX OpenSource Toolkit
6 Summary(pl): 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.simplesystems.org/pub/ImageMagick/delegates/%{name}-%{version}.tar.bz2
15 # Source0-md5: 5e781a17ec96e8f9af8c2ff319e8d706
16 URL: http://www.i3a.org/i_flashpix.html
17 BuildRequires: autoconf >= 2.55
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.
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): 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
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): Statyczna biblioteka FlashPIX
52 Group: Development/Libraries
53 Requires: %{name}-devel = %{version}-%{release}
57 Static version of FlashPIX library.
59 %description static -l pl
60 Statyczna wersja biblioteki FlashPIX.
71 --enable-fast-install \
72 %{!?with_static_libs:--disable-static}
76 rm -rf $RPM_BUILD_ROOT
79 DESTDIR=$RPM_BUILD_ROOT
82 rm -rf $RPM_BUILD_ROOT
84 %post -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
88 %defattr(644,root,root,755)
89 %doc AUTHORS COPYING ChangeLog NEWS README
90 %attr(755,root,root) %{_libdir}/libfpx.so.*.*.*
93 %defattr(644,root,root,755)
94 %doc doc/*.pdf doc/readme.txt
95 %attr(755,root,root) %{_libdir}/libfpx.so
97 %{_includedir}/fpxlib.h
99 %if %{with static_libs}
101 %defattr(644,root,root,755)