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: http://download.sourceforge.net/libpng/%{name}-%{version}.tar.gz
15 Patch0: %{name}-pngminus.patch
16 Patch1: %{name}-badchunks.patch
17 Patch2: %{name}-opt.patch
18 Patch3: %{name}-symlinks.patch
19 BuildRequires: zlib-devel
20 URL: http://www.libpng.org/pub/png/libpng.html
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
29 Die PNG-Library ist eine Sammlung von Routinen zum Erstellen und
30 Bearbeiten von Grafiken im PNG-Format. Das PNG-Format wurde als Ersatz
31 für GIF entwickelt und enthält viele Verbesserungen und Erweiterungen.
34 Esta biblioteca es una colección de rutinas para crear y manipular
35 archivos gráficos en el formato PNG. Este formato fue proyectado para
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
45 Biblioteki PNG s± kolekcj± form u¿ywanych do tworzenia i manipulowania
46 plikami w formacie graficznym PNG. Format ten zosta³ stworzony jako
47 zamiennik dla formatu GIF, z wieloma rozszerzeniami i nowo¶ciami.
50 Esta biblioteca é uma coleção de rotinas para criar e manipular
51 arquivos gráficos no formato PNG. Este formato foi projetado para
52 substituir o formato GIF, com extensões e melhorias.
55 PNG kitaplýðý, PNG formatýndaki resim dosyalarýný iþlemeye yönelik
56 yordamlarý içerir. PNG, GIF formatýnýn yerini almak üzere tasarlanmýþ
60 Summary: Header files for libpng
61 Summary(de): libpng Headers
62 Summary(es): Archivos de inclusión y bibliotecas estáticas
63 Summary(fr): en-têtes et bibliothèques statiques
64 Summary(pl): Pliki nag³ówkowe libpng
65 Summary(pt_BR): Arquivos de inclusão e bibliotecas estáticas
66 Summary(tr): baþlýk dosyalarý ve statik kitaplýklar
67 Group: Development/Libraries
68 Requires: %{name} = %{version}
72 The header files are only needed for development of programs using the
75 %description devel -l de
76 Die Header-Dateien werden nur zur Entwicklung von Programmen mit der
79 %description devel -l es
80 Archivos de inclusión y bibliotecas estáticas que son necesarios
81 solamente para el desarrollo de programas que usan la biblioteca PNG.
83 %description devel -l fr
84 Fichiers d'en-tete et les librairies qui sont requis seulement pour le
85 développement avec la librairie PNG.
87 %description devel -l pl
88 W pakiecie tym znajduj± siê pliki nag³ówkowe, przeznaczone dla
89 programistów u¿ywaj±cych bibliotek PNG.
91 %description devel -l pt_BR
92 Arquivos de inclusão e bibliotecas estáticas que são necessários
93 somente para o desenvolvimento de programas que usam a biblioteca PNG.
95 %description devel -l tr
96 PNG kitaplýðýný kullanan programlar geliþtirmek için gereken
97 kitaplýklar ve baþlýk dosyalarý.
100 Summary: Static PNG libraries
101 Summary(de): Statischen PNG Libraries
102 Summary(es): Static libraries for libpng development
103 Summary(pl): Biblioteki statyczne PNG
104 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com libpng
105 Group: Development/Libraries
106 Requires: %{name}-devel = %{version}
109 Static PNG libraries.
111 %description static -l de
112 Statischen PNG Libraries.
114 %description static -l es
115 Static libraries for libpng development.
117 %description static -l pl
118 Biblioteki statyczne PNG.
120 %description static -l pt_BR
121 Bibliotecas estáticas para desenvolvimento com libpng.
124 Summary: libpng utility programs
125 Summary(pl): Narzêdzia do plików PNG
126 Group: Applications/Graphics
129 This package contains utility programs to convert png files to and
132 %description progs -l pl
133 Narzêdzia do konwersji plików png z lub do plików pnm.
142 ln -sf scripts/makefile.linux ./Makefile
146 OPT_FLAGS="%{rpmcflags}"
147 %{__make} -C contrib/pngminus -f makefile.std \
148 OPT_FLAGS="%{rpmcflags}"
151 rm -rf $RPM_BUILD_ROOT
152 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_mandir}/man{3,5},%{_pkgconfigdir}}
155 prefix=$RPM_BUILD_ROOT%{_prefix}
157 install png.5 $RPM_BUILD_ROOT%{_mandir}/man5/
158 install {libpngpf,libpng}.3 $RPM_BUILD_ROOT%{_mandir}/man3/
159 install contrib/pngminus/{png2pnm,pnm2png} $RPM_BUILD_ROOT%{_bindir}
160 sed -e 's=@PREFIX@=%{_prefix}=g' scripts/libpng.pc.in >$RPM_BUILD_ROOT/%{_pkgconfigdir}/libpng`echo %{version}|sed 's/\([0-9]\+\)\.\([0-9]\+\)\..*/\1\2/'`.pc
163 %post -p /sbin/ldconfig
164 %postun -p /sbin/ldconfig
167 rm -rf $RPM_BUILD_ROOT
170 %defattr(644,root,root,755)
171 %attr(755,root,root) %{_libdir}/*.so.*.*
174 %defattr(644,root,root,755)
175 %doc *.txt ANNOUNCE CHANGES KNOWNBUG README
176 %attr(755,root,root) %{_libdir}/lib*.so
182 %defattr(644,root,root,755)
186 %defattr(644,root,root,755)
187 %attr(755,root,root) %{_bindir}/*