1 Summary: Library for PNG creation
2 Summary(pl): Biblioteka do tworzenia PNGów
10 Source0: ftp://ftp.boutell.com/pub/boutell/gd/%{name}-%{version}.tar.gz
11 URL: http://www.boutell.com/gd/
12 BuildRequires: zlib-devel
13 BuildRequires: libpng-devel
14 BuildRequires: freetype-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 This library allows you to easily create and manipulate PNG image
19 files from your C programs.
22 Biblioteka pozwalaj±ca na proste tworzenie i manipulowanie plikami
23 graficznymi w formacie PNG.
26 Summary: Development part of the GD library
27 Summary(pl): Czê¶æ biblioteki GD przeznaczona dla developerów.
28 Group: Development/Libraries
29 Group(fr): Development/Librairies
30 Group(pl): Programowanie/Biblioteki
31 Requires: %{name} = %{version}
34 This package contains the files needed for development of programs
37 %description -l pl devel
38 Pakiet ten zawiera pliki potrzebne do rozwoju programów korzystaj±cych
42 Summary: Static GD library
43 Summary(pl): Statyczna biblioteka GD.
44 Group: Development/Libraries
45 Group(fr): Development/Librairies
46 Group(pl): Programowanie/Biblioteki
47 Requires: %{name} = %{version}
50 This package contains static GD library.
52 %description -l pl static
53 Pakiet ten zawiera statyczn± bibliotekê GD.
59 CFLAGS="$RPM_OPT_FLAGS -I/usr/include/freetype"
66 rm -rf $RPM_BUILD_ROOT
68 make DESTDIR="$RPM_BUILD_ROOT" install
70 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
72 gzip -9nf NEWS README index.html
75 rm -rf $RPM_BUILD_ROOT
77 %post -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
81 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_bindir}/*
84 %attr(755,root,root) %{_libdir}/*.so.*.*
87 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/*.so
90 %attr(755,root,root) %{_libdir}/libgd.la
94 %defattr(644,root,root,755)