]> git.pld-linux.org Git - packages/gd.git/blob - gd.spec
- adapterized, BuildRequires: libtool
[packages/gd.git] / gd.spec
1 Summary:        Library for PNG, JPEG creation
2 Summary(pl):    Biblioteka do tworzenia grafiki w formacie PNG, JPEG
3 Name:           gd
4 Version:        2.0.1
5 Release:        1
6 License:        BSD-style
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Group(pt_BR):   Bibliotecas
13 Group(ru):      âÉÂÌÉÏÔÅËÉ
14 Group(uk):      â¦Â̦ÏÔÅËÉ
15 Source0:        http://www.boutell.com/ftp-materials/boutell/gd/%{name}-%{version}.tar.gz
16 Patch0:         %{name}-ac_am.patch
17 URL:            http://www.boutell.com/gd/
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  libtool
21 BuildRequires:  zlib-devel
22 BuildRequires:  libpng-devel
23 BuildRequires:  libjpeg-devel
24 BuildRequires:  libtiff-devel
25 BuildRequires:  freetype-devel >= 2.0
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define shlibver %(echo %{version} | cut -f-2 -d.)
29
30 %description
31 gd library creates PNG, JPEG and WBMP images, not GIF images. This is
32 a good thing. PNG is a more compact format, and full compression is
33 available. JPEG works well with photographic images, and is still more
34 compatible with the major Web browsers than even PNG is. WBMP is
35 intended for wireless devices (not regular web browsers). Existing
36 code will need modification to call or gdImageJpeg instead of
37 gdImageGif.
38
39 This library allows you to easily create and manipulate PNG, JPEG
40 image files from your C programs.
41
42 %description -l pl
43 Biblioteka pozwalaj±ca na proste tworzenie i manipulowanie plikami
44 graficznymi w formacie PNG.
45
46 %package devel
47 Summary:        Development part of the GD library
48 Summary(pl):    Czê¶æ biblioteki GD przeznaczona dla developerów
49 Group:          Development/Libraries
50 Group(de):      Entwicklung/Libraries
51 Group(es):      Desarrollo/Bibliotecas
52 Group(fr):      Development/Librairies
53 Group(pl):      Programowanie/Biblioteki
54 Group(pt_BR):   Desenvolvimento/Bibliotecas
55 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
56 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
57 Requires:       libpng-devel
58 Requires:       zlib-devel
59 Requires:       %{name} = %{version}
60
61 %description devel
62 This package contains the files needed for development of programs
63 linked against GD.
64
65 %description -l pl devel
66 Pakiet ten zawiera pliki potrzebne do rozwoju programów korzystaj±cych
67 z biblioteki GD.
68
69 %package static
70 Summary:        Static GD library
71 Summary(pl):    Statyczna biblioteka GD
72 Group:          Development/Libraries
73 Group(de):      Entwicklung/Libraries
74 Group(es):      Desarrollo/Bibliotecas
75 Group(fr):      Development/Librairies
76 Group(pl):      Programowanie/Biblioteki
77 Group(pt_BR):   Desenvolvimento/Bibliotecas
78 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
79 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
80 Requires:       %{name} = %{version}
81
82 %description devel
83 This package contains static GD library.
84
85 %description -l pl static
86 Pakiet ten zawiera statyczn± bibliotekê GD.
87
88 %package progs
89 Summary:        Utility programs that use libgd
90 Summary(pl):    Narzêdzia które u¿ywaj± libgd
91 Group:          Applications/Graphics
92 Group(de):      Applikationen/Grafik
93 Group(pl):      Aplikacje/Grafika
94 Group(pt):      Aplicações/Gráficos
95 Requires:       %{name} = %{version}
96
97 %description progs
98 These are utility programs supplied with gd, the .jpeg graphics
99 library.
100
101 %description -l pl progs
102 Pakiet ten zawiera dodatkowe programy uzywaj±ce libgd.
103
104 %prep
105 %setup -q 
106 %patch0 -p1 
107
108 %build
109 libtoolize --copy --force
110 aclocal
111 automake -a -c
112 autoconf
113 %configure
114 %{__make}
115
116 %install
117 rm -rf $RPM_BUILD_ROOT
118
119 %{__make} install \
120         DESTDIR=$RPM_BUILD_ROOT
121
122 gzip -9nf readme.txt index.html 
123
124 %clean
125 rm -rf $RPM_BUILD_ROOT
126
127 %post   -p /sbin/ldconfig
128 %postun -p /sbin/ldconfig
129
130 %files
131 %defattr(644,root,root,755)
132 %doc readme.txt.gz
133 %attr(755,root,root) %{_libdir}/*.so.*.*
134
135 %files devel
136 %defattr(644,root,root,755)
137 %doc index.html.gz 
138 %attr(755,root,root) %{_libdir}/*.so
139 %attr(755,root,root) %{_libdir}/*.la
140 %{_includedir}/*
141
142 %files static
143 %defattr(644,root,root,755)
144 %{_libdir}/lib*.a
145
146 %files progs
147 %defattr(644,root,root,755)
148 %attr(755,root,root) %{_bindir}/*
This page took 0.030598 seconds and 3 git commands to generate.