]> git.pld-linux.org Git - packages/libfpx.git/blob - libfpx.spec
- rel 2
[packages/libfpx.git] / libfpx.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
5 Summary:        FlashPIX OpenSource Toolkit
6 Summary(pl):    Biblioteka do obróbki obrazków FlashPIX
7 Name:           libfpx
8 Version:        1.2.0.13
9 Release:        2
10 License:        distributable (see COPYING)
11 Group:          Libraries
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
21 Provides:       fpx
22 Obsoletes:      fpx
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
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.
29
30 %description -l pl
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.
34
35 %package devel
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}
40 Obsoletes:      fpx-devel
41
42 %description devel
43 FlashPIX header files and programmer's documentation.
44
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.
48
49 %package static
50 Summary:        FlashPIX static library
51 Summary(pl):    Statyczna biblioteka FlashPIX
52 Group:          Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54 Obsoletes:      fpx-static
55
56 %description static
57 Static version of FlashPIX library.
58
59 %description static -l pl
60 Statyczna wersja biblioteki FlashPIX.
61
62 %prep
63 %setup -q
64
65 %build
66 %{__libtoolize}
67 %{__aclocal}
68 %{__autoconf}
69 %{__automake}
70 %configure \
71         --enable-fast-install \
72         %{!?with_static_libs:--disable-static}
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post   -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
86
87 %files
88 %defattr(644,root,root,755)
89 %doc AUTHORS COPYING ChangeLog NEWS README
90 %attr(755,root,root) %{_libdir}/libfpx.so.*.*.*
91
92 %files devel
93 %defattr(644,root,root,755)
94 %doc doc/*.pdf doc/readme.txt
95 %attr(755,root,root) %{_libdir}/libfpx.so
96 %{_libdir}/libfpx.la
97 %{_includedir}/fpxlib.h
98
99 %if %{with static_libs}
100 %files static
101 %defattr(644,root,root,755)
102 %{_libdir}/libfpx.a
103 %endif
This page took 0.072104 seconds and 4 git commands to generate.