]> git.pld-linux.org Git - packages/libpng.git/blob - libpng.spec
- added gzipping man pages,
[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.1
8 Release:     7
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 Patch0:      libpng-rh.patch
15 Icon:        png-tiny.gif
16 URL:         http://www.cdrom.com/pub/png/
17 Buildroot:   /tmp/%{name}-%{version}-root
18
19 %description
20 The PNG library is a collection of routines used to crate and manipulate
21 PNG format graphics files.  The PNG format was designed as a replacement
22 for GIF, with many improvements and extensions.
23
24 %description -l de
25 Die PNG-Library ist eine Sammlung von Routinen zum Erstellen und Bearbeiten
26 von Grafiken im PNG-Format. Das PNG-Format wurde als Ersatz für GIF
27 entwickelt und enthält viele Verbesserungen und Erweiterungen.
28
29 %description -l fr
30 La librairie PNG est un ensemble de routines utilisées pour créer et 
31 manipuler des fichiers graphiques au format PNG. Le format PNG a été
32 élaboré pour remplacer le GIF, avec de nombreuses améliorations et
33 extensions.
34
35 %description -l tr
36 PNG kitaplýðý, PNG formatýndaki resim dosyalarýný iþlemeye yönelik yordamlarý
37 içerir. PNG, GIF formatýnýn yerini almak üzere tasarlanmýþ bir resim formatýdýr.
38
39 %package devel
40 Summary:     header files an documentation for PNG library
41 Summary(pl): Pliki nag³owkowe i dokumentacja do biblioteki PNG
42 Group:       Development/Libraries
43 Serial:      1
44 Requires:    %{name} = %{version}
45
46 %description devel
47 The header files and static libraries are only needed for development
48 of programs using the PNG library.
49
50 %description -l de devel
51 Die Header-Dateien und statischen Libraries werden nur zur Entwicklung
52 von Programmen mit der PNG-Library benötigt.
53
54 %description -l fr devel
55 Fichiers d'en-tete et les librairies qui sont requis seulement pour
56 le développement avec la librairie PNG.
57
58 %description -l tr devel
59 PNG kitaplýðýný kullanan programlar geliþtirmek için gereken kitaplýklar ve
60 baþlýk dosyalarý.
61
62 %package static
63 Summary:     PNG static library
64 Summary(pl): Biblioteka PNG - wersja statyczna
65 Group:       Development/Libraries
66 Serial:      1
67 Requires:    %{name}-devel = %{version}
68
69 %description static
70 The static PNG library.
71
72 %description -l pl static
73 Bibliotek PNG - wersja statyczna
74
75 %prep
76 %setup -q
77 %ifos Linux
78 ln -sf scripts/makefile.lnx Makefile
79 %endif
80 %patch0 -p1
81
82
83 %build
84 make
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88 install -d $RPM_BUILD_ROOT/usr/man/man{3,5}
89
90 make install prefix=$RPM_BUILD_ROOT/usr
91 install *.3 $RPM_BUILD_ROOT/usr/man/man3
92 install *.5 $RPM_BUILD_ROOT/usr/man/man5
93
94 strip $RPM_BUILD_ROOT/usr/lib/lib*.so.*.*
95
96 gzip -9nf $RPM_BUILD_ROOT/usr/man/man{3,5}/*
97
98 %post   -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
100
101 %files
102 %attr(755, root, root) /usr/lib/lib*.so.*.*
103 %attr(644, root,  man) /usr/man/man5/*
104
105 %files devel
106 %defattr(644, root, root, 755)
107 %doc *.txt example.c
108 /usr/include/*
109 /usr/lib/lib*.so
110 %attr(644, root,  man) /usr/man/man3/*
111
112 %files static
113 %attr(644, root, root) /usr/lib/lib*.a
114
115 %clean
116 rm -rf $RPM_BUILD_ROOT
117
118 %changelog
119 * Tue Dec 29 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
120   [1.0.1-7]
121 - added gzipping man pages,
122 - added man pages level 5,
123 - downgrade to 1.0.1 (added Serial).
124
125 * Sat Aug  8 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
126   [1.0.2-1]
127 - added pl translation,
128 - added -q %setup parameter,
129 - added using %%{name} and %%{version} macros in Buildroot,
130 - added %clean section,
131 - added package icon,
132 - added URL,
133 - added stripping sharebd lib,
134 - added "%ifos Linux .. %endif" around making sym link to proper Makefile,
135 - Buildroot changed to /tmp/%%{name}-%%{version}-root,
136 - added man pages to devel,
137 - added static subpackage,
138 - Rquires in devel changed to "%%{name} %%{version}"
139 - changed permission on shared libs to 755 (now ldd output on this files is
140   correct),
141 - added %defattr and %attr macros in %files (allows building package from
142   non-root account).
143
144 * Thu May 07 1998 Prospector System <bugs@redhat.com>
145 - translations modified for de, fr, tr
146
147 * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
148 - devel subpackage moved to Development/Libraries
149
150 * Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
151 - upgraded to 1.0.1
152 - added buildroot
153
154 * Tue Oct 14 1997 Donnie Barnes <djb@redhat.com>
155 - updated to new version
156 - spec file cleanups
157
158 * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
159 - built against glibc
This page took 0.040812 seconds and 4 git commands to generate.