]> git.pld-linux.org Git - packages/gd.git/commitdiff
- added -q %setup parameter,
authorkloczek <kloczek@pld-linux.org>
Thu, 24 Sep 1998 23:44:34 +0000 (23:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- changed Buildroot to /tmp/%%{name}-%%{version}-root,
- added using %%{name} and %%{version} in Source and %setup,
- added %postun,
- changeded dependences to "Requires: %%{name} = %%{version}" in devel
  subpackage,
- added striping shared libraries,
- added %attr and %defattr macros in %files (allow build package from
  non-root account).

Changed files:
    gd.spec -> 1.1

gd.spec [new file with mode: 0644]

diff --git a/gd.spec b/gd.spec
new file mode 100644 (file)
index 0000000..06321ca
--- /dev/null
+++ b/gd.spec
@@ -0,0 +1,69 @@
+Summary:     Library for GIF creation
+Name:        gd
+Version:     1.3
+Release:     3
+Source:      ftp://ftp.boutell.com/pub/boutell/gd/%{name}%{version}.tar.gz
+URL:         http://www.boutell.com/gd/
+Patch0:      gd-shared.patch
+Patch1:      gd-non-root.patch
+Copyright:   BSD-style
+Group:       Libraries
+BuildRoot:   /tmp/%{name}-%{version}-root
+
+%description
+This library allows you to easily create and manipulate GIF image files
+from your C programs.
+
+%package devel
+Summary:     Development part of the GD library
+Group:       Development/Libraries
+Requires:    %{name} = %{version}
+
+%description devel
+This package contains the files needed for development of programs linked
+against GD.
+
+%prep
+%setup -q -n %{name}%{version}
+%patch0 -p1
+%patch1 -p1
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/usr/{include,lib}
+
+install {gd,gdfontg,gdfontl,gdfontmb,gdfonts,gdfontt}.h $RPM_BUILD_ROOT/usr/include
+install -s libgd.so* $RPM_BUILD_ROOT/usr/lib
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+/usr/lib/*.so.*
+
+%files devel
+%doc readme.txt index.html
+/usr/lib/*.so
+/usr/include/*
+
+%changelog
+* Thu Sep 24  1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+  [1.3-4]
+- added -q %setup parameter,
+- changed Buildroot to /tmp/%%{name}-%%{version}-root,
+- added using %%{name} and %%{version} in Source and %setup,
+- added %postun,
+- changeded dependences to "Requires: %%{name} = %%{version}" in devel
+  subpackage,
+- added striping shared libraries,
+- added %attr and %defattr macros in %files (allow build package from
+  non-root account).
+
+* Fri Sep 11 1998 Cristian Gafton <gafton@redhat.com>
+- built for 5.2
This page took 0.12134 seconds and 4 git commands to generate.