]> git.pld-linux.org Git - packages/libfpx.git/blob - libfpx.spec
- perl -pi -e "s/^libtoolize --copy --force/\%\{__libtoolize\}/"
[packages/libfpx.git] / libfpx.spec
1 Summary:        FlashPIX OpenSource Toolkit
2 Summary(pl):    Biblioteka do obróbki obrazków FlashPIX
3 Name:           fpx
4 Version:        1.2.0
5 Release:        3
6 License:        distributable (see COPYING)
7 Group:          Libraries
8 # Strange... [URL] says you can order it (for money) and doesn't contain any
9 # link, but sources can be freely redistributed. Can be found on any IM mirror.
10 Source0:        ftp://ftp.simplesystems.org/pub/ImageMagick/delegates/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-wchar-conflict.patch
12 Patch1:         %{name}-swap.patch
13 Patch2:         %{name}-statfs.patch
14 Patch3:         %{name}-shared.patch
15 Patch4:         %{name}-nolibrt.patch
16 URL:            http://www.digitalimaging.org/i_flashpix.html
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  libtool
20 BuildRequires:  gcc-c++
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 FlashPIX OpenSource Toolkit is based on source obtained from the
25 Digital Imaging Group Inc. and includes a sample FlashPIX library
26 implementation contributed by Eastman Kodak Company.
27
28 %description -l pl
29 FlashPIX OpenSource Toolkit jest bazowany na ¼ród³ach uzyskanych od
30 Digital Imaging Group i zawiera przyk³adow± implementacjê biblioteki
31 FlashPIX, do której przyczyni³ siê Eastman Kodak Company.
32
33 %package devel
34 Summary:        FlashPIX header file and documentation
35 Summary(pl):    Plik nag³ówkowy i dokumentacja do FlashPIX
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}
38
39 %description devel
40 FlashPIX header files and programmer's documentation.
41
42 %description devel -l pl
43 Plik nag³ówkowy potrzebny do kompilowania programów korzystaj±cych z
44 biblioteki FlashPIX oraz dokumentacja do tej biblioteki.
45
46 %package static
47 Summary:        FlashPIX static library
48 Summary(pl):    Statyczna biblioteka FlashPIX
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}
51
52 %description static
53 Static version of FlashPIX library.
54
55 %description static -l pl
56 Statyczna wersja biblioteki FlashPIX.
57
58 %prep
59 %setup -q -n lib%{name}-%{version}
60 %patch0 -p1
61 %patch1 -p1
62 %patch2 -p1
63 %patch3 -p1
64 %patch4 -p1
65 mv -f oless/h/wchar.h oless/h/owchar.h
66
67 %build
68 rm -f missing
69 %{__libtoolize}
70 aclocal
71 %{__autoconf}
72 %{__automake}
73 %configure
74 %{__make}
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78
79 %{__make} install DESTDIR=$RPM_BUILD_ROOT
80
81 gzip -9nf AUTHORS COPYING ChangeLog NEWS README doc/readme.txt
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %files
90 %defattr(644,root,root,755)
91 %doc *.gz
92 %attr(755,root,root) %{_libdir}/lib*.so.*.*
93
94 %files devel
95 %defattr(644,root,root,755)
96 %doc doc/*.pdf doc/*.gz
97 %attr(755,root,root) %{_libdir}/lib*.so
98 %attr(755,root,root) %{_libdir}/lib*.la
99 %{_includedir}/*
100
101 %files static
102 %defattr(644,root,root,755)
103 %{_libdir}/lib*.a
This page took 0.122366 seconds and 4 git commands to generate.