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