]> git.pld-linux.org Git - packages/libpng.git/blob - libpng.spec
- release 2: use new rpm automation.
[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.8
8 Release:        2
9 Epoch:          1
10 License:        Distributable
11 Group:          Libraries
12 Group(de):      Libraries
13 Group(fr):      Librairies
14 Group(pl):      Biblioteki
15 Source0:        ftp://ftp.uu.net/graphics/png/src/%{name}-%{version}.tar.gz
16 Patch0:         %{name}-opt.patch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 The PNG library is a collection of routines used to create and
21 manipulate PNG format graphics files. The PNG format was designed as a
22 replacement for GIF, with many improvements and extensions.
23
24 %description -l pl
25 Biblioteki PNG s± kolekcj± form u¿ywanych do tworzenia i manipulowania
26 plikami w formatacie graficznym PNG. Format ten zosta³ stworzony jako
27 zamiennik dla formatu GIF, z wieloma rozszerzeniami i nowo¶ciami.
28
29 %description -l de
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.
33
34 %description -l fr
35 La librairie PNG est un ensemble de routines utilisées pour créer et
36 manipuler des fichiers graphiques au format PNG. Le format PNG a été
37 élaboré pour remplacer le GIF, avec de nombreuses améliorations et
38 extensions.
39
40 %description -l tr
41 PNG kitaplýðý, PNG formatýndaki resim dosyalarýný iþlemeye yönelik
42 yordamlarý içerir. PNG, GIF formatýnýn yerini almak üzere tasarlanmýþ
43 bir resim formatýdýr.
44
45 %package devel
46 Summary:        headers 
47 Summary(de):    Headers und statische Libraries 
48 Summary(fr):    en-têtes et bibliothèques statiques
49 Summary(pl):    Pliki nag³ówkowe
50 Summary(tr):    baþlýk dosyalarý ve statik kitaplýklar
51 Group:          Development/Libraries
52 Group(de):      Entwicklung/Libraries
53 Group(fr):      Development/Librairies
54 Group(pl):      Programowanie/Biblioteki
55 Requires:       %{name} = %{version}
56
57 %description devel
58 The header files and static libraries are only needed for development
59 of programs using the PNG library.
60
61 %description -l pl devel
62 W pakiecie tym znajduj± siê pliki nag³ówkowe, przeznaczone dla
63 programistów u¿ywaj±cych bibliotek PNG.
64
65 %description -l de devel
66 Die Header-Dateien und statischen Libraries werden nur zur Entwicklung
67 von Programmen mit der PNG-Library benötigt.
68
69 %description -l fr devel
70 Fichiers d'en-tete et les librairies qui sont requis seulement pour le
71 développement avec la librairie PNG.
72
73 %description -l tr devel
74 PNG kitaplýðýný kullanan programlar geliþtirmek için gereken
75 kitaplýklar ve baþlýk dosyalarý.
76
77 %package        static
78 Summary:        static libraries
79 Summary(pl):    Biblioteki statyczne
80 Group:          Development/Libraries
81 Group(de):      Entwicklung/Libraries
82 Group(fr):      Development/Librairies
83 Group(pl):      Programowanie/Biblioteki
84 Requires:       %{name}-devel = %{version}
85
86 %description static
87 Static libraries.
88
89 %description -l pl static
90 Biblioteki statyczne.
91
92 %prep
93 %setup -q
94 %patch -p1
95 ln -s scripts/makefile.linux ./Makefile
96
97 %build
98 %{__make}  
99
100 %install
101 rm -rf $RPM_BUILD_ROOT
102 install -d $RPM_BUILD_ROOT{%{_libdir},%{_mandir}/man{3,5}}
103
104 %{__make} prefix=$RPM_BUILD_ROOT%{_prefix} install
105
106 install png.5 $RPM_BUILD_ROOT%{_mandir}/man5/
107 install {libpngpf,libpng}.3 $RPM_BUILD_ROOT%{_mandir}/man3/
108
109 gzip -9nf *.txt ANNOUNCE CHANGES KNOWNBUG README
110
111 %post   -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
113
114 %clean
115 rm -rf $RPM_BUILD_ROOT
116
117 %files
118 %defattr(644,root,root,755)
119 %attr(755,root,root) %{_libdir}/*.so.*.*
120 %{_mandir}/man5/*
121
122 %files devel
123 %defattr(644,root,root,755)
124 %doc {*.txt,ANNOUNCE,CHANGES,KNOWNBUG,README}.gz
125 %attr(755,root,root) %{_libdir}/lib*.so
126 %{_includedir}/*
127 %{_mandir}/man3/*
128
129 %files static
130 %defattr(644,root,root,755)
131 %{_libdir}/lib*.a
This page took 0.079695 seconds and 4 git commands to generate.