packages: sng/sng.spec - link with libpng14, impossible to port to libpng-1.5

adamg adamg at pld-linux.org
Tue Feb 14 19:22:57 CET 2012


Author: adamg                        Date: Tue Feb 14 18:22:57 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- link with libpng14, impossible to port to libpng-1.5

---- Files affected:
packages/sng:
   sng.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: packages/sng/sng.spec
diff -u packages/sng/sng.spec:1.9 packages/sng/sng.spec:1.10
--- packages/sng/sng.spec:1.9	Sun Feb 12 09:13:14 2012
+++ packages/sng/sng.spec	Tue Feb 14 19:22:51 2012
@@ -9,10 +9,11 @@
 Source0:	http://downloads.sourceforge.net/sng/%{name}-%{version}.tar.gz
 # Source0-md5:	798502dcc90511d547549d9b3504b4af
 Patch0:		%{name}-libpng.patch
+Patch1:		%{name}-libpng14.patch
 URL:		http://sng.sourceforge.net/
 BuildRequires:	autoconf >= 2.60
 BuildRequires:	automake
-BuildRequires:	libpng-devel >= 2:1.4.0
+BuildRequires:	libpng14-devel
 BuildRequires:	libtool
 BuildRequires:	xorg-app-rgb
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -39,6 +40,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__aclocal}
@@ -46,6 +48,7 @@
 %{__autoheader}
 %{__automake}
 %configure \
+	--with-png-inc=%{_includedir}/libpng14 \
 	--with-rgbtxt=%{_datadir}/X11/rgb.txt
 
 %{__make}
@@ -73,6 +76,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2012/02/14 18:22:51  adamg
+- link with libpng14, impossible to port to libpng-1.5
+
 Revision 1.9  2012/02/12 08:13:14  arekm
 - release 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/sng/sng.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list