1 Summary: Library for PNG, JPEG creation
2 Summary(pl): Biblioteka do tworzenia grafiki w formacie PNG, JPEG
10 Source0: ftp://ftp.boutell.com/pub/boutell/gd/%{name}-%{version}.tar.gz
11 Patch0: %{name}-ac_am.patch
12 URL: http://www.boutell.com/gd/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libtool
16 BuildRequires: zlib-devel
17 BuildRequires: libpng-devel
18 BuildRequires: freetype-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define shlibver %(echo %{version} | cut -f-2 -d.)
24 gd library creates PNG, JPEG and WBMP images, not GIF images. This is
25 a good thing. PNG is a more compact format, and full compression is
26 available. JPEG works well with photographic images, and is still more
27 compatible with the major Web browsers than even PNG is. WBMP is
28 intended for wireless devices (not regular web browsers). Existing
29 code will need modification to call or gdImageJpeg instead of
32 This library allows you to easily create and manipulate PNG, JPEG
33 image files from your C programs.
36 Biblioteka pozwalaj±ca na proste tworzenie i manipulowanie plikami
37 graficznymi w formacie PNG.
40 Summary: Development part of the GD library
41 Summary(pl): Czê¶æ biblioteki GD przeznaczona dla developerów
42 Group: Development/Libraries
43 Group(pl): Programowanie/Biblioteki
44 Group(fr): Development/Librairies
45 Requires: %{name} = %{version}
48 This package contains the files needed for development of programs
51 %description -l pl devel
52 Pakiet ten zawiera pliki potrzebne do rozwoju programów korzystaj±cych
56 Summary: Static GD library
57 Summary(pl): Statyczna biblioteka GD
58 Group: Development/Libraries
59 Group(pl): Programowanie/Biblioteki
60 Group(fr): Development/Librairies
61 Requires: %{name} = %{version}
64 This package contains static GD library.
66 %description -l pl static
67 Pakiet ten zawiera statyczn± bibliotekê GD.
74 libtoolize --copy --force
82 rm -rf $RPM_BUILD_ROOT
85 DESTDIR=$RPM_BUILD_ROOT
87 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
89 gzip -9nf readme.txt index.html
92 rm -fr $RPM_BUILD_ROOT
94 %post -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
98 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_bindir}/*
101 %attr(755,root,root) %{_libdir}/*.so.*.*
104 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/*.so
110 %defattr(644,root,root,755)