1 Summary: Library for GIF creation
5 Source: ftp://ftp.boutell.com/pub/boutell/gd/%{name}%{version}.tar.gz
6 URL: http://www.boutell.com/gd/
7 Patch0: gd-shared.patch
8 Patch1: gd-non-root.patch
9 Patch2: gd-nodemo.patch
12 BuildRoot: /tmp/%{name}-%{version}-root
15 This library allows you to easily create and manipulate GIF image files
19 Summary: Development part of the GD library
20 Group: Development/Libraries
21 Requires: %{name} = %{version}
24 This package contains the files needed for development of programs linked
28 %setup -q -n %{name}%{version}
34 CFLAGS="$RPM_OPT_FLAGS" make
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT/usr/{include,lib}
40 install {gd,gdfontg,gdfontl,gdfontmb,gdfonts,gdfontt}.h $RPM_BUILD_ROOT/usr/include
41 install -s libgd.so* $RPM_BUILD_ROOT/usr/lib
44 rm -rf $RPM_BUILD_ROOT
46 %post -p /sbin/ldconfig
47 %postun -p /sbin/ldconfig
50 %attr(755, root, root) /usr/lib/*.so.*
53 %defattr(644, root, root, 755)
54 %doc readme.txt index.html
55 %attr(755, root, root) /usr/lib/*.so
59 * Mon Dec 21 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
61 - removed compiling demo programs.
63 * Thu Sep 24 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
65 - added -q %setup parameter,
66 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
67 - added using %%{name} and %%{version} in Source and %setup,
69 - changed dependencies to "Requires: %%{name} = %%{version}" in devel
71 - added stripping shared libraries,
72 - added %attr and %defattr macros in %files (allows build package from
75 * Fri Sep 11 1998 Cristian Gafton <gafton@redhat.com>