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