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