]> git.pld-linux.org Git - packages/gd.git/commitdiff
- make libgd.a before making shared
authorbonkey <bonkey@bonkey.pl.eu.org>
Tue, 6 Jun 2000 19:56:52 +0000 (19:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- shlibver defined
- release++

Changed files:
    gd.spec -> 1.31

gd.spec

diff --git a/gd.spec b/gd.spec
index e338f8d03797b79500ed0c0e433cc1a4ed066b7e..7752abadd0397c1c6729e35f8277f245ae187cbb 100644 (file)
--- a/gd.spec
+++ b/gd.spec
@@ -2,7 +2,7 @@ Summary:        Library for PNG, JPEG creation
 Summary(pl):   Biblioteka do tworzenia grafiki w formacie PNG, JPEG
 Name:          gd
 Version:       1.8.3
-Release:       1
+Release:       2
 License:       BSD-style
 Group:         Libraries
 Group(fr):     Librairies
@@ -15,6 +15,8 @@ BuildRequires:        libpng-devel
 BuildRequires: freetype-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define shlibver %(echo %{version} | cut -f-2 -d.)
+
 %description
 gd library creates PNG, JPEG and WBMP images, not GIF images. This is a
 good thing. PNG is a more compact format, and full compression is available.
@@ -68,10 +70,10 @@ Pakiet ten zawiera statyczn
 CFLAGS="$RPM_OPT_FLAGS -I/usr/include/freetype"
 LDFLAGS="-s"
 export CFLAGS LDFLAGS
+make libgd.a
 gcc -shared -o libgd.so.%{version} -Wl,-soname=libgd.so.%{shlibver} \
         `ar t libgd.a` -L/usr/X11R6/lib -lttf -ljpeg -lpng -lz -lm
 
-
 %install
 
 
This page took 0.386743 seconds and 4 git commands to generate.