2 Summary(de): PNG-Library
3 Summary(es): Biblioteca PNG
4 Summary(fr): Librarie PNG
5 Summary(pl): Biblioteka PNG
6 Summary(pt_BR): Biblioteca PNG
7 Summary(tr): PNG kitaplýðý
12 License: distributable
14 Source0: ftp://download.sourceforge.net/pub/sourceforge/libpng/%{name}-%{version}.tar.bz2
15 Patch0: %{name}-pngminus.patch
16 Patch1: %{name}-badchunks.patch
17 Patch2: %{name}-opt.patch
18 Patch3: %{name}-revert.patch
20 URL: http://www.libpng.org/pub/png/libpng.html
21 BuildRequires: zlib-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The PNG library is a collection of routines used to create and
26 manipulate PNG format graphics files. The PNG format was designed as a
27 replacement for GIF, with many improvements and extensions.
30 Die PNG-Library ist eine Sammlung von Routinen zum Erstellen und
31 Bearbeiten von Grafiken im PNG-Format. Das PNG-Format wurde als Ersatz
32 für GIF entwickelt und enthält viele Verbesserungen und Erweiterungen.
35 Esta biblioteca es una colección de rutinas para crear y manipular
36 archivos gráficos en el formato PNG. Este formato fue proyectado para
40 La librairie PNG est un ensemble de routines utilisées pour créer et
41 manipuler des fichiers graphiques au format PNG. Le format PNG a été
42 élaboré pour remplacer le GIF, avec de nombreuses améliorations et
46 Biblioteki PNG s± kolekcj± form u¿ywanych do tworzenia i manipulowania
47 plikami w formacie graficznym PNG. Format ten zosta³ stworzony jako
48 zamiennik dla formatu GIF, z wieloma rozszerzeniami i nowo¶ciami.
51 Esta biblioteca é uma coleção de rotinas para criar e manipular
52 arquivos gráficos no formato PNG. Este formato foi projetado para
53 substituir o formato GIF, com extensões e melhorias.
56 PNG kitaplýðý, PNG formatýndaki resim dosyalarýný iþlemeye yönelik
57 yordamlarý içerir. PNG, GIF formatýnýn yerini almak üzere tasarlanmýþ
61 Summary: Header files for libpng
62 Summary(de): libpng Headers
63 Summary(es): Archivos de inclusión y bibliotecas estáticas
64 Summary(fr): en-têtes et bibliothèques statiques
65 Summary(pl): Pliki nag³ówkowe libpng
66 Summary(pt_BR): Arquivos de inclusão e bibliotecas estáticas
67 Summary(tr): baþlýk dosyalarý ve statik kitaplýklar
68 Group: Development/Libraries
69 Requires: %{name} = %{version}
73 The header files are only needed for development of programs using the
76 %description devel -l de
77 Die Header-Dateien werden nur zur Entwicklung von Programmen mit der
80 %description devel -l es
81 Archivos de inclusión y bibliotecas estáticas que son necesarios
82 solamente para el desarrollo de programas que usan la biblioteca PNG.
84 %description devel -l fr
85 Fichiers d'en-tete et les librairies qui sont requis seulement pour le
86 développement avec la librairie PNG.
88 %description devel -l pl
89 W pakiecie tym znajduj± siê pliki nag³ówkowe, przeznaczone dla
90 programistów u¿ywaj±cych bibliotek PNG.
92 %description devel -l pt_BR
93 Arquivos de inclusão e bibliotecas estáticas que são necessários
94 somente para o desenvolvimento de programas que usam a biblioteca PNG.
96 %description devel -l tr
97 PNG kitaplýðýný kullanan programlar geliþtirmek için gereken
98 kitaplýklar ve baþlýk dosyalarý.
101 Summary: Static PNG libraries
102 Summary(de): Statischen PNG Libraries
103 Summary(es): Static libraries for libpng development
104 Summary(pl): Biblioteki statyczne PNG
105 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com libpng
106 Group: Development/Libraries
107 Requires: %{name}-devel = %{version}
110 Static PNG libraries.
112 %description static -l de
113 Statischen PNG Libraries.
115 %description static -l es
116 Static libraries for libpng development.
118 %description static -l pl
119 Biblioteki statyczne PNG.
121 %description static -l pt_BR
122 Bibliotecas estáticas para desenvolvimento com libpng.
125 Summary: libpng utility programs
126 Summary(pl): Narzêdzia do plików PNG
127 Group: Applications/Graphics
130 This package contains utility programs to convert png files to and
133 %description progs -l pl
134 Narzêdzia do konwersji plików png z lub do plików pnm.
144 ln -sf scripts/makefile.gcmmx ./Makefile
146 ln -sf scripts/makefile.linux ./Makefile
152 OPT_FLAGS="%{rpmcflags}"
153 %{__make} -C contrib/pngminus -f makefile.std \
154 OPT_FLAGS="%{rpmcflags}"
157 rm -rf $RPM_BUILD_ROOT
158 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_mandir}/man{3,5},%{_pkgconfigdir}}
161 DESTDIR=$RPM_BUILD_ROOT \
165 install contrib/pngminus/{png2pnm,pnm2png} $RPM_BUILD_ROOT%{_bindir}
168 rm -rf $RPM_BUILD_ROOT
170 %post -p /sbin/ldconfig
171 %postun -p /sbin/ldconfig
174 %defattr(644,root,root,755)
175 %doc ANNOUNCE CHANGES KNOWNBUG README
176 %attr(755,root,root) %{_libdir}/*.so.*.*
177 %{_libdir}/libpng.so.3
180 %defattr(644,root,root,755)
182 %attr(755,root,root) %{_bindir}/libpng*-config
183 %attr(755,root,root) %{_libdir}/lib*.so
189 %defattr(644,root,root,755)
193 %defattr(644,root,root,755)
194 %attr(755,root,root) %{_bindir}/p*