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
11 BuildRoot: /tmp/%{name}-%{version}-root
14 This library allows you to easily create and manipulate GIF image files
18 Summary: Development part of the GD library
19 Group: Development/Libraries
20 Requires: %{name} = %{version}
23 This package contains the files needed for development of programs linked
27 %setup -q -n %{name}%{version}
32 CFLAGS="$RPM_OPT_FLAGS" make
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT/usr/{include,lib}
38 install {gd,gdfontg,gdfontl,gdfontmb,gdfonts,gdfontt}.h $RPM_BUILD_ROOT/usr/include
39 install -s libgd.so* $RPM_BUILD_ROOT/usr/lib
42 rm -rf $RPM_BUILD_ROOT
44 %post -p /sbin/ldconfig
45 %postun -p /sbin/ldconfig
48 %attr(755, root, root) /usr/lib/*.so.*
51 %defattr(644, root, root, 755)
52 %doc readme.txt index.html
53 %attr(755, root, root) /usr/lib/*.so
57 * Thu Sep 24 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
59 - added -q %setup parameter,
60 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
61 - added using %%{name} and %%{version} in Source and %setup,
63 - changed dependencies to "Requires: %%{name} = %%{version}" in devel
65 - added striping shared libraries,
66 - added %attr and %defattr macros in %files (allow build package from
69 * Fri Sep 11 1998 Cristian Gafton <gafton@redhat.com>