]> git.pld-linux.org Git - packages/libpng.git/blob - libpng.spec
- release 3.
[packages/libpng.git] / libpng.spec
1 Summary:        PNG library
2 Summary(de):    PNG-Library
3 Summary(fr):    Librarie PNG
4 Summary(pl):    Biblioteka PNG 
5 Summary(tr):    PNG kitaplýðý
6 Name:           libpng
7 Version:        1.0.11
8 Release:        3
9 Epoch:          2
10 License:        Distributable
11 Group:          Libraries
12 Group(de):      Libraries
13 Group(es):      Bibliotecas
14 Group(fr):      Librairies
15 Group(pl):      Biblioteki
16 Source0:        ftp://swrinde.nde.swri.edu/pub/png/src/%{name}-%{version}.tar.gz
17 Patch0:         %{name}-opt.patch
18 Patch1:         %{name}-pngminus.patch
19 Patch2:         %{name}-badchunks.patch
20 URL:            http://www.libpng.org/pub/png/libpng.html
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 The PNG library is a collection of routines used to create and
25 manipulate PNG format graphics files. The PNG format was designed as a
26 replacement for GIF, with many improvements and extensions.
27
28 %description -l pl
29 Biblioteki PNG s± kolekcj± form u¿ywanych do tworzenia i manipulowania
30 plikami w formatacie graficznym PNG. Format ten zosta³ stworzony jako
31 zamiennik dla formatu GIF, z wieloma rozszerzeniami i nowo¶ciami.
32
33 %description -l de
34 Die PNG-Library ist eine Sammlung von Routinen zum Erstellen und
35 Bearbeiten von Grafiken im PNG-Format. Das PNG-Format wurde als Ersatz
36 für GIF entwickelt und enthält viele Verbesserungen und Erweiterungen.
37
38 %description -l fr
39 La librairie PNG est un ensemble de routines utilisées pour créer et
40 manipuler des fichiers graphiques au format PNG. Le format PNG a été
41 élaboré pour remplacer le GIF, avec de nombreuses améliorations et
42 extensions.
43
44 %description -l tr
45 PNG kitaplýðý, PNG formatýndaki resim dosyalarýný iþlemeye yönelik
46 yordamlarý içerir. PNG, GIF formatýnýn yerini almak üzere tasarlanmýþ
47 bir resim formatýdýr.
48
49 %package devel
50 Summary:        headers 
51 Summary(de):    Headers und statische Libraries 
52 Summary(fr):    en-têtes et bibliothèques statiques
53 Summary(pl):    Pliki nag³ówkowe
54 Summary(tr):    baþlýk dosyalarý ve statik kitaplýklar
55 Group:          Development/Libraries
56 Group(de):      Entwicklung/Libraries
57 Group(fr):      Development/Librairies
58 Group(pl):      Programowanie/Biblioteki
59 Requires:       %{name} = %{version}
60 Requires:       zlib-devel
61
62 %description devel
63 The header files and static libraries are only needed for development
64 of programs using the PNG library.
65
66 %description -l pl devel
67 W pakiecie tym znajduj± siê pliki nag³ówkowe, przeznaczone dla
68 programistów u¿ywaj±cych bibliotek PNG.
69
70 %description -l de devel
71 Die Header-Dateien und statischen Libraries werden nur zur Entwicklung
72 von Programmen mit der PNG-Library benötigt.
73
74 %description -l fr devel
75 Fichiers d'en-tete et les librairies qui sont requis seulement pour le
76 développement avec la librairie PNG.
77
78 %description -l tr devel
79 PNG kitaplýðýný kullanan programlar geliþtirmek için gereken
80 kitaplýklar ve baþlýk dosyalarý.
81
82 %package static
83 Summary:        static libraries
84 Summary(pl):    Biblioteki statyczne
85 Group:          Development/Libraries
86 Group(de):      Entwicklung/Libraries
87 Group(fr):      Development/Librairies
88 Group(pl):      Programowanie/Biblioteki
89 Requires:       %{name}-devel = %{version}
90
91 %description static
92 Static libraries.
93
94 %description -l pl static
95 Biblioteki statyczne.
96
97 %package progs
98 Summary:        libpng utility programs
99 Group:          Applications/Graphics
100 Group(de):      Applikationen/Grafik
101 Group(pl):      Aplikacje/Grafika
102
103 %description progs
104 This package contains utility programs to convert png files to and
105 from pnm files.
106
107 %description -l pl progs
108 Narzêdzia do konwersji plików png z lub do plików pnm.
109
110 %prep
111 %setup -q
112 %patch0 -p1
113 %patch1 -p1
114 %patch2 -p1
115
116 ln -s scripts/makefile.linux ./Makefile
117
118 %build
119 %{__make} OPT_FLAGS="%{rpmcflags}"
120 cd contrib/pngminus
121 %{__make} -f makefile.std \
122         OPT_FLAGS="%{rpmcflags} -I../../"
123
124 %install
125 rm -rf $RPM_BUILD_ROOT
126 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_mandir}/man{3,5}}
127
128 %{__make} prefix=$RPM_BUILD_ROOT%{_prefix} install
129
130 install png.5 $RPM_BUILD_ROOT%{_mandir}/man5/
131 install {libpngpf,libpng}.3 $RPM_BUILD_ROOT%{_mandir}/man3/
132 install contrib/pngminus/{png2pnm,pnm2png} $RPM_BUILD_ROOT%{_bindir}
133
134 gzip -9nf *.txt ANNOUNCE CHANGES KNOWNBUG README
135
136 %post   -p /sbin/ldconfig
137 %postun -p /sbin/ldconfig
138
139 %clean
140 rm -rf $RPM_BUILD_ROOT
141
142 %files
143 %defattr(644,root,root,755)
144 %attr(755,root,root) %{_libdir}/*.so.*.*
145 %{_mandir}/man5/*
146
147 %files devel
148 %defattr(644,root,root,755)
149 %doc *.gz
150 %attr(755,root,root) %{_libdir}/lib*.so
151 %{_includedir}/*
152 %{_mandir}/man3/*
153
154 %files static
155 %defattr(644,root,root,755)
156 %{_libdir}/lib*.a
157
158 %files progs
159 %defattr(644,root,root,755)
160 %attr(755,root,root) %{_bindir}/*
This page took 0.051184 seconds and 4 git commands to generate.