]> git.pld-linux.org Git - packages/gd.git/commitdiff
update to 1.6.2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 27 Jul 1999 15:18:51 +0000 (15:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gd.spec -> 1.20

gd.spec

diff --git a/gd.spec b/gd.spec
index b1d64952a9594b869afb3c1ebebbd54c03229aa6..7193eae346cec4b4410389bce87eef2ac24642b7 100644 (file)
--- a/gd.spec
+++ b/gd.spec
@@ -1,26 +1,26 @@
-Summary:       Library for GIF creation
-Summary(pl):   Biblioteka do tworzenia GIFów
+Summary:       Library for PNG creation
+Summary(pl):   Biblioteka do tworzenia PNGów
 Name:          gd
-Version:       1.4
+Version:       1.6.2
 Release:       1
 Copyright:     BSD-style
 Group:         Libraries
 Group(pl):     Biblioteki
-Source0:       ftp://ftp.boutell.com/pub/boutell/gd/%{name}%{version}.tar.gz
+Source0:       ftp://ftp.boutell.com/pub/boutell/gd/%{name}-%{version}.tar.gz
 Source1:       gd-ref.html
-Patch0:                gd-shared.patch
-Patch1:                gd-non-root.patch
-Patch2:                gd-nodemo.patch
+BuildRequires: zlib-devel
+BuildRequires: libpng-devel
+BuildRequires: freetype-devel
 URL:           http://www.boutell.com/gd/
 BuildRoot:     /tmp/%{name}-%{version}-root
 
 %description
-This library allows you to easily create and manipulate GIF image files
+This library allows you to easily create and manipulate PNG image files
 from your C programs.
 
 %description -l pl
 Biblioteka pozwalaj±ca na proste tworzenie i manipulowanie plikami graficznymi
-w formacie GIF.
+w formacie PNG.
 
 %package devel
 Summary:       Development part of the GD library
@@ -37,26 +37,32 @@ against GD.
 Pakiet ten zawiera pliki potrzebne do rozwoju programów
 korzystaj±cych z biblioteki GD.
 
-%prep
-%setup -q -n %{name}%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+%package static
+Summary:        Static GD library
+Summary(pl):    Statyczna biblioteka GD.
+Group:          Development/Libraries
+Group(pl):      Programowanie/Biblioteki
+Requires:       %{name} = %{version}
 
-%build
-CFLAGS="$RPM_OPT_FLAGS" make VERSION="%{version}"
+%description devel
+This package contains static GD library.
 
+%description -l pl static
+Pakiet ten zawiera statyczn± bibliotekê GD.
+
+%prep
+%setup -q -n %{name}-%{version}
 install %{SOURCE1} .
 
+%build
+%configure
+make
+
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}}
-
-install {gd,gdfontg,gdfontl,gdfontmb,gdfonts,gdfontt}.h $RPM_BUILD_ROOT%{_includedir}
-install -s libgd.so.*.* $RPM_BUILD_ROOT%{_libdir}
-mv libgd.so $RPM_BUILD_ROOT%{_libdir}
-
-gzip -9nf readme.txt
+make DESTDIR="$RPM_BUILD_ROOT" install
+strip $RPM_BUILD_ROOT{%{_bindir}/*,%{_libdir}/*.so} || :
+gzip -9nf NEWS README index.html gd-ref.html
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -65,10 +71,18 @@ rm -rf $RPM_BUILD_ROOT
 %postun -p /sbin/ldconfig
 
 %files
+%defattr(644,root,root,755)
+%doc {NEWS,README}.gz
+%attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/*.so.*.*
+%attr(644,root,root) %{_libdir}/libgd.la
 
 %files devel
 %defattr(644,root,root,755)
-%doc readme.txt.gz index.html gd-ref.html
+%doc index.html.gz gd-ref.html.gz
 %attr(755,root,root) %{_libdir}/*.so
 %{_includedir}/*
+
+%files static
+%defattr(644,root,root,755)
+%attr(644,root,root) %{_libdir}/*.a
This page took 0.124393 seconds and 4 git commands to generate.