]> git.pld-linux.org Git - packages/gd.git/blob - gd.spec
- more fixes s/striping/stripping/.
[packages/gd.git] / gd.spec
1 Summary:     Library for GIF creation
2 Name:        gd
3 Version:     1.3
4 Release:     3
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 Copyright:   BSD-style
10 Group:       Libraries
11 BuildRoot:   /tmp/%{name}-%{version}-root
12
13 %description
14 This library allows you to easily create and manipulate GIF image files
15 from your C programs.
16
17 %package devel
18 Summary:     Development part of the GD library
19 Group:       Development/Libraries
20 Requires:    %{name} = %{version}
21
22 %description devel
23 This package contains the files needed for development of programs linked
24 against GD.
25
26 %prep
27 %setup -q -n %{name}%{version}
28 %patch0 -p1
29 %patch1 -p1
30
31 %build
32 CFLAGS="$RPM_OPT_FLAGS" make
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT/usr/{include,lib}
37
38 install {gd,gdfontg,gdfontl,gdfontmb,gdfonts,gdfontt}.h $RPM_BUILD_ROOT/usr/include
39 install -s libgd.so* $RPM_BUILD_ROOT/usr/lib
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %post   -p /sbin/ldconfig
45 %postun -p /sbin/ldconfig
46
47 %files
48 %attr(755, root, root) /usr/lib/*.so.*
49
50 %files devel
51 %defattr(644, root, root, 755)
52 %doc readme.txt index.html
53 %attr(755, root, root) /usr/lib/*.so
54 /usr/include/*
55
56 %changelog
57 * Thu Sep 24  1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
58   [1.3-4]
59 - added -q %setup parameter,
60 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
61 - added using %%{name} and %%{version} in Source and %setup,
62 - added %postun,
63 - changed dependencies to "Requires: %%{name} = %%{version}" in devel
64   subpackage,
65 - added stripping shared libraries,
66 - added %attr and %defattr macros in %files (allow build package from
67   non-root account).
68
69 * Fri Sep 11 1998 Cristian Gafton <gafton@redhat.com>
70 - built for 5.2
This page took 0.040534 seconds and 4 git commands to generate.