]> git.pld-linux.org Git - packages/libfpx.git/blame - libfpx.spec
- tabs in preamble
[packages/libfpx.git] / libfpx.spec
CommitLineData
b372f7bf 1#
3747df4a 2# Conditional build:
3%bcond_without static_libs # don't build static library
4#
964af0e2 5Summary: FlashPIX OpenSource Toolkit
68e7c762 6Summary(pl.UTF-8): Biblioteka do obróbki obrazków FlashPIX
8fe316d7 7Name: libfpx
b372f7bf 8Version: 1.2.0.13
450b75f8 9Release: 2
b3153ded 10License: distributable (see COPYING)
964af0e2 11Group: Libraries
964af0e2
JB
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.
f3fe73a1 14Source0: ftp://ftp.simplesystems.org/pub/ImageMagick/delegates/%{name}-%{version}.tar.bz2
b372f7bf 15# Source0-md5: 5e781a17ec96e8f9af8c2ff319e8d706
8fe316d7 16URL: http://www.i3a.org/i_flashpix.html
270d7eed
JB
17BuildRequires: autoconf >= 2.55
18BuildRequires: automake >= 1:1.9
f25ce4fd 19BuildRequires: libtool >= 2:1.5
f3fe73a1 20BuildRequires: libstdc++-devel >= 3.2.2
8fe316d7
AF
21Provides: fpx
22Obsoletes: fpx
964af0e2
JB
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26FlashPIX OpenSource Toolkit is based on source obtained from the
27Digital Imaging Group Inc. and includes a sample FlashPIX library
28implementation contributed by Eastman Kodak Company.
29
8aee36ee
JR
30%description -l pl.UTF-8
31FlashPIX OpenSource Toolkit jest bazowany na źródłach uzyskanych od
32Digital Imaging Group i zawiera przykładową implementację biblioteki
33FlashPIX, do której przyczynił się Eastman Kodak Company.
964af0e2
JB
34
35%package devel
36Summary: FlashPIX header file and documentation
68e7c762 37Summary(pl.UTF-8): Plik nagłówkowy i dokumentacja do FlashPIX
964af0e2 38Group: Development/Libraries
270d7eed 39Requires: %{name} = %{version}-%{release}
8fe316d7 40Obsoletes: fpx-devel
964af0e2
JB
41
42%description devel
43FlashPIX header files and programmer's documentation.
44
8aee36ee
JR
45%description devel -l pl.UTF-8
46Plik nagłówkowy potrzebny do kompilowania programów korzystających z
964af0e2
JB
47biblioteki FlashPIX oraz dokumentacja do tej biblioteki.
48
49%package static
50Summary: FlashPIX static library
68e7c762 51Summary(pl.UTF-8): Statyczna biblioteka FlashPIX
964af0e2 52Group: Development/Libraries
270d7eed 53Requires: %{name}-devel = %{version}-%{release}
8fe316d7 54Obsoletes: fpx-static
964af0e2
JB
55
56%description static
57Static version of FlashPIX library.
58
8aee36ee 59%description static -l pl.UTF-8
964af0e2
JB
60Statyczna wersja biblioteki FlashPIX.
61
62%prep
270d7eed 63%setup -q
964af0e2
JB
64
65%build
c079563a 66%{__libtoolize}
1e674391 67%{__aclocal}
e808a0a3 68%{__autoconf}
69%{__automake}
3763b874 70%configure \
3747df4a 71 --enable-fast-install \
72 %{!?with_static_libs:--disable-static}
964af0e2
JB
73%{__make}
74
75%install
76rm -rf $RPM_BUILD_ROOT
ead459f7 77
270d7eed
JB
78%{__make} install \
79 DESTDIR=$RPM_BUILD_ROOT
964af0e2 80
964af0e2
JB
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%post -p /sbin/ldconfig
85%postun -p /sbin/ldconfig
86
87%files
88%defattr(644,root,root,755)
38b41398 89%doc AUTHORS COPYING ChangeLog NEWS README
270d7eed 90%attr(755,root,root) %{_libdir}/libfpx.so.*.*.*
964af0e2
JB
91
92%files devel
93%defattr(644,root,root,755)
38b41398 94%doc doc/*.pdf doc/readme.txt
270d7eed
JB
95%attr(755,root,root) %{_libdir}/libfpx.so
96%{_libdir}/libfpx.la
97%{_includedir}/fpxlib.h
964af0e2 98
3747df4a 99%if %{with static_libs}
964af0e2
JB
100%files static
101%defattr(644,root,root,755)
270d7eed 102%{_libdir}/libfpx.a
3747df4a 103%endif
This page took 0.083253 seconds and 4 git commands to generate.