]> git.pld-linux.org Git - packages/libfpx.git/blob - libfpx.spec
- s/Distibutable/distributable/ in License
[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 for details)
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
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.gz
15 Patch0:         %{name}-wchar-conflict.patch
16 Patch1:         %{name}-swap.patch
17 Patch2:         %{name}-statfs.patch
18 Patch3:         %{name}-shared.patch
19 Patch4:         %{name}-nolibrt.patch
20 URL:            http://www.digitalimaging.org/i_flashpix.html
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  libtool
24 BuildRequires:  gcc-c++
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 FlashPIX OpenSource Toolkit is based on source obtained from the
29 Digital Imaging Group Inc. and includes a sample FlashPIX library
30 implementation contributed by Eastman Kodak Company.
31
32 %description -l pl
33 FlashPIX OpenSource Toolkit jest bazowany na ¼ród³ach uzyskanych od
34 Digital Imaging Group i zawiera przyk³adow± implementacjê biblioteki
35 FlashPIX, do której przyczyni³ siê Eastman Kodak Company.
36
37 %package devel
38 Summary:        FlashPIX header file and documentation
39 Summary(pl):    Plik nag³ówkowy i dokumentacja do FlashPIX
40 Group:          Development/Libraries
41 Group(de):      Entwicklung/Libraries
42 Group(fr):      Development/Librairies
43 Group(pl):      Programowanie/Biblioteki
44 Requires:       %{name} = %{version}
45
46 %description devel
47 FlashPIX header files and programmer's documentation.
48
49 %description devel -l pl
50 Plik nag³ówkowy potrzebny do kompilowania programów korzystaj±cych z
51 biblioteki FlashPIX oraz dokumentacja do tej biblioteki.
52
53 %package static
54 Summary:        FlashPIX static library
55 Summary(pl):    Statyczna biblioteka FlashPIX
56 Group:          Development/Libraries
57 Group(de):      Entwicklung/Libraries
58 Group(fr):      Development/Librairies
59 Group(pl):      Programowanie/Biblioteki
60 Requires:       %{name}-devel = %{version}
61
62 %description static
63 Static version of FlashPIX library.
64
65 %description static -l pl
66 Statyczna wersja biblioteki FlashPIX.
67
68 %prep
69 %setup -q -n lib%{name}-%{version}
70 %patch0 -p1
71 %patch1 -p1
72 %patch2 -p1
73 %patch3 -p1
74 %patch4 -p1
75 mv -f oless/h/wchar.h oless/h/owchar.h
76
77 %build
78 rm -f missing
79 libtoolize --copy --force
80 aclocal
81 autoconf
82 automake -a -c
83 %configure
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install DESTDIR=$RPM_BUILD_ROOT
90
91 gzip -9nf AUTHORS COPYING ChangeLog NEWS README doc/readme.txt
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %post   -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
98
99 %files
100 %defattr(644,root,root,755)
101 %doc *.gz
102 %attr(755,root,root) %{_libdir}/lib*.so.*.*
103
104 %files devel
105 %defattr(644,root,root,755)
106 %doc doc/*.pdf doc/*.gz
107 %attr(755,root,root) %{_libdir}/lib*.so
108 %attr(755,root,root) %{_libdir}/lib*.la
109 %{_includedir}/*
110
111 %files static
112 %defattr(644,root,root,755)
113 %{_libdir}/lib*.a
This page took 0.033934 seconds and 4 git commands to generate.