]> git.pld-linux.org Git - packages/gd.git/commitdiff
- xorg modular deps, rel 6 auto/th/gd-2_0_33-6
authorwolf <wolf@pld-linux.org>
Tue, 14 Feb 2006 23:36:38 +0000 (23:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gd.spec -> 1.116

gd.spec

diff --git a/gd.spec b/gd.spec
index 887d1089c452d3bde6a9bf0b07e5944f3ad997a9..ced8fc6534f497ce92fa6fdaaf6f153d46feaf8b 100644 (file)
--- a/gd.spec
+++ b/gd.spec
@@ -9,7 +9,7 @@ Summary(pl):    Biblioteka do tworzenia grafiki w formacie PNG, JPEG
 Summary(pt_BR):        Biblioteca para manipulação de imagens
 Name:          gd
 Version:       2.0.33
-Release:       5
+Release:       6
 License:       BSD-like
 Group:         Libraries
 Source0:       http://www.boutell.com/gd/http/%{name}-%{version}.tar.gz
@@ -18,7 +18,6 @@ Patch0:               %{name}-fontpath.patch
 Patch1:                %{name}-rotate_from_php.patch
 Patch2:                %{name}-graphviz.patch
 URL:           http://www.boutell.com/gd/
-%{?with_xpm:BuildRequires:     XFree86-devel}
 BuildRequires: autoconf >= 2.54
 BuildRequires: automake
 %{?with_fontconfig:BuildRequires:      fontconfig-devel}
@@ -28,6 +27,7 @@ BuildRequires:        libpng-devel
 BuildRequires: libjpeg-devel
 BuildRequires: libtiff-devel
 BuildRequires: libtool >= 1:1.4.3
+%{?with_xpm:BuildRequires:     xorg-lib-libXpm}
 BuildRequires: zlib-devel
 Provides:      gd(gif) = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -72,11 +72,11 @@ Summary(pl):        Cz
 Summary(pt_BR):        Arquivos de inclusão e bibliotecas para desenvolver programas usando gd
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-%{?with_xpm:Requires:  XFree86-devel}
 Requires:      fontconfig-devel
 Requires:      freetype-devel >= 2.0
 Requires:      libjpeg-devel
 Requires:      libpng-devel
+%{?with_xpm:Requires:  xorg-lib-libXpm}
 Requires:      zlib-devel
 Provides:      gd-devel(gif) = %{version}-%{release}
 
@@ -142,8 +142,8 @@ para uso pelos programas que usam a libgd.
 %patch1 -p1
 %patch2 -p1
 
-# hack to avoid inclusion of -s or -L/usr/%{_lib} in --ldflags
-%{__perl} -pi -e 's,\@LDFLAGS\@,-L/usr/X11R6/%{_lib},g' config/gdlib-config.in
+# hack to avoid inclusion of -s in --ldflags
+%{__perl} -pi -e 's,\@LDFLAGS\@,,g' config/gdlib-config.in
 
 %build
 %{__libtoolize}
This page took 0.182995 seconds and 4 git commands to generate.