]> git.pld-linux.org Git - packages/gd.git/commitdiff
- added -I/usr/include/freetype to CFLAGS gd-1_6_3-2
authorpius <pius@pld-linux.org>
Mon, 7 Feb 2000 18:49:46 +0000 (18:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- cosmetics
- release 2

Changed files:
    gd.spec -> 1.24

gd.spec

diff --git a/gd.spec b/gd.spec
index 7d91659c36c76ef19653f801d46806daeadbaa46..9173f9fbe0476c5a81c569f14456f5f5b1e76b7a 100644 (file)
--- 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
This page took 0.147926 seconds and 4 git commands to generate.