From ad076400f283da45948fae3b2f67577f705e6cf6 Mon Sep 17 00:00:00 2001 From: pius Date: Mon, 7 Feb 2000 18:49:46 +0000 Subject: [PATCH] - added -I/usr/include/freetype to CFLAGS - cosmetics - release 2 Changed files: gd.spec -> 1.24 --- gd.spec | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/gd.spec b/gd.spec index 7d91659..9173f9f 100644 --- a/gd.spec +++ b/gd.spec @@ -2,24 +2,24 @@ Summary: Library for PNG creation Summary(pl): Biblioteka do tworzenia PNGów Name: gd Version: 1.6.3 -Release: 1 -Copyright: BSD-style +Release: 2 +License: BSD-style Group: Libraries Group(pl): Biblioteki -Source0: ftp://ftp.boutell.com/pub/boutell/gd/%{name}-%{version}.tar.gz +Source: ftp://ftp.boutell.com/pub/boutell/gd/%{name}-%{version}.tar.gz +URL: http://www.boutell.com/gd/ 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 PNG image files -from your C programs. +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 PNG. +Biblioteka pozwalaj±ca na proste tworzenie i manipulowanie plikami +graficznymi w formacie PNG. %package devel Summary: Development part of the GD library @@ -29,8 +29,8 @@ Group(pl): Programowanie/Biblioteki Requires: %{name} = %{version} %description devel -This package contains the files needed for development of programs linked -against GD. +This package contains the files needed for development of programs +linked against GD. %description -l pl devel Pakiet ten zawiera pliki potrzebne do rozwoju programów @@ -53,14 +53,19 @@ Pakiet ten zawiera statyczn %setup -q %build -LDFLAGS="-s"; export LDFLAGS +CFLAGS="$RPM_OPT_FLAGS -I/usr/include/freetype" +LDFLAGS="-s" +export CFLAGS LDFLAGS %configure make %install rm -rf $RPM_BUILD_ROOT + make DESTDIR="$RPM_BUILD_ROOT" install + strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* + gzip -9nf NEWS README index.html %clean -- 2.44.0