]> git.pld-linux.org Git - packages/libpng.git/blob - libpng.spec
[1.0.3-5]
[packages/libpng.git] / libpng.spec
1 Summary:        PNG library
2 Summary(de):    PNG-Library
3 Summary(fr):    Librarie PNG
4 Summary(pl):    Biblioteki PNG 
5 Summary(tr):    PNG kitaplýðý
6 Name:           libpng
7 Version:        1.0.3
8 Release:        5
9 Copyright:      distributable
10 Group:          Libraries
11 Group(pl):      Biblioteki
12 Serial:         1
13 Source:         ftp://ftp.uu.net/graphics/png/src/%{name}-%{version}.tar.gz
14 Patch:          libpng-opt.patch
15 Buildroot:      /tmp/%{name}-%{version}-root
16 Conflicts:      glibc <= 2.0.7
17
18 %description
19 The PNG library is a collection of routines used to create and manipulate
20 PNG format graphics files. The PNG format was designed as a replacement
21 for GIF, with many improvements and extensions.
22
23 %description -l pl
24 Biblioteki PNG s± kolekcj± form u¿ywanych do tworzenia i manipulowania
25 plikami w formatacie graficznym PNG. Format ten zosta³ stworzony jako
26 zamiennik dla formatu GIF, z wieloma rozszerzeniami i nowo¶ciami.
27
28 %description -l de
29 Die PNG-Library ist eine Sammlung von Routinen zum Erstellen und Bearbeiten
30 von Grafiken im PNG-Format. Das PNG-Format wurde als Ersatz für GIF
31 entwickelt und enthält viele Verbesserungen und Erweiterungen.
32
33 %description -l fr
34 La librairie PNG est un ensemble de routines utilisées pour créer et 
35 manipuler des fichiers graphiques au format PNG. Le format PNG a été
36 élaboré pour remplacer le GIF, avec de nombreuses améliorations et
37 extensions.
38
39 %description -l tr
40 PNG kitaplýðý, PNG formatýndaki resim dosyalarýný iþlemeye yönelik yordamlarý
41 içerir. PNG, GIF formatýnýn yerini almak üzere tasarlanmýþ bir resim formatýdýr.
42
43 %package devel
44 Summary:        headers 
45 Summary(de):    Headers und statische Libraries 
46 Summary(fr):    en-têtes et bibliothèques statiques
47 Summary(pl):    Pliki nag³ówkowe
48 Summary(tr):    baþlýk dosyalarý ve statik kitaplýklar
49 Group:          Development/Libraries
50 Group(pl):      Programowanie/Biblioteki
51 Requires:       %{name} = %{version}
52
53 %description devel
54 The header files and static libraries are only needed for development
55 of programs using the PNG library.
56
57 %description -l pl devel
58 W pakiecie tym znajduj± siê pliki nag³ówkowe, przeznaczone dla programistów 
59 u¿ywaj±cych bibliotek PNG.
60
61 %description -l de devel
62 Die Header-Dateien und statischen Libraries werden nur zur Entwicklung
63 von Programmen mit der PNG-Library benötigt.
64
65 %description -l fr devel
66 Fichiers d'en-tete et les librairies qui sont requis seulement pour
67 le développement avec la librairie PNG.
68
69 %description -l tr devel
70 PNG kitaplýðýný kullanan programlar geliþtirmek için gereken kitaplýklar ve
71 baþlýk dosyalarý.
72
73 %package        static
74 Summary:        static libraries
75 Summary(pl):    Biblioteki statyczne
76 Group:          Development/Libraries
77 Group(pl):      Programowanie/Biblioteki
78 Requires:       %{name}-devel = %{version}
79
80 %description static
81 Static libraries.
82
83 %description -l pl static
84 Biblioteki statyczne.
85
86 %prep
87 %setup -q
88 %patch -p1
89 ln -s scripts/makefile.lnx ./Makefile
90
91 %build
92 make  
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96 install -d $RPM_BUILD_ROOT/usr/{lib,man/man{3,5}}
97
98 make prefix=$RPM_BUILD_ROOT/usr install
99
100 install png.5 $RPM_BUILD_ROOT/usr/man/man5/
101 install {libpngpf,libpng}.3 $RPM_BUILD_ROOT/usr/man/man3/
102
103 strip $RPM_BUILD_ROOT/usr/lib/lib*so.*.*
104
105 gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/*
106 gzip -9nf *.txt ANNOUNCE CHANGES KNOWNBUG README
107
108 %post   -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
110
111 %files
112 %attr(755,root,root) /usr/lib/*.so.*.*
113 %attr(644,root,root) /usr/man/man5/*
114
115 %files devel
116 %defattr(644,root,root,755)
117 %doc {*.txt,ANNOUNCE,CHANGES,KNOWNBUG,README}.gz
118 %attr(755,root,root) /usr/lib/lib*.so
119 /usr/include/*
120 /usr/man/man3/*
121
122 %files static
123 %attr(644,root,root) /usr/lib/lib*.a
124
125 %clean
126 rm -rf $RPM_BUILD_ROOT
127
128 %changelog
129 * Sun Mar 14 1999 Micha³ Kuratczyk <kura@pld.org.pl>
130   [1.0.3-5]
131 - gzipping documentation (instead bzipping)
132 - minor changes
133
134 * Fri Mar  5 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
135   [1.0.3-4]
136 - added striping shared libraries,
137 - added "Conflicts: glibc <= 2.0.7" fr prevent installing package
138   in proper enviroment,
139 - added installing man pages.
140
141 * Fri Jan 22 1999 Pawe³ Gajda <pagaj@shadow.eu.org>
142   [1.0.3-1d]
143 - all files install now into /usr
144
145 * Sun Nov 15 1998 Marcin Korzonek <mkorz@shadow.eu.org>
146   [1.0.2-1d]
147 - added some docs files,
148 - added %%lang macros.
149
150 * Thu Jul 16 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
151   [1.0.1-5d]
152 - build against glibc-2.1,
153 - added pl translation,
154 - moved %changelog at the end of spec,
155 - changed permisions of *.so libs to 755,
156 - addes static subpackage.
157
158 * Thu May 07 1998 Prospector System <bugs@redhat.com>
159 - translations modified for de, fr, tr
160
161 * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
162 - devel subpackage moved to Development/Libraries
163
164 * Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
165 - upgraded to 1.0.1
166 - added buildroot
167
168 * Tue Oct 14 1997 Donnie Barnes <djb@redhat.com>
169 - updated to new version
170 - spec file cleanups
171
172 * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
173 - built against glibc
This page took 0.069618 seconds and 4 git commands to generate.