[packages/gif2png] - updated to 2.5.11

qboosh qboosh at pld-linux.org
Sun Jul 19 14:03:43 CEST 2015


commit 3f5f15e1b122dec1fac1e665753a9468de4aa2ff
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jul 19 14:04:57 2015 +0200

    - updated to 2.5.11

 gif2png.spec | 35 ++++++++++++++++++++++++-----------
 1 file changed, 24 insertions(+), 11 deletions(-)
---
diff --git a/gif2png.spec b/gif2png.spec
index d674db7..38f739b 100644
--- a/gif2png.spec
+++ b/gif2png.spec
@@ -4,17 +4,26 @@ Summary(fr.UTF-8):	Outils de conversion de sites: convertit les GIFs en PNGs
 Summary(pl.UTF-8):	Narzędzia do konwersji plików GIF na pliki PNG
 Summary(pt_BR.UTF-8):	Ferramentas para a conversão de arquivos no formato GIF para PNG
 Name:		gif2png
-Version:	2.5.9
+Version:	2.5.11
 Release:	1
 License:	BSD-like
 Group:		Applications/Graphics
 Source0:	http://catb.org/~esr/gif2png/%{name}-%{version}.tar.gz
-# Source0-md5:	fff45072725c13927ceb5f498e8d4d17
+# Source0-md5:	dd8180a5ff5222717979d28279e46bd5
+# docs missing in 2.5.11 tarball
+Source1:	http://www.catb.org/~esr/gif2png/COPYING
+# Source1-md5:	f1a6294068953ac973448184457415dd
+Source2:	http://www.catb.org/~esr/gif2png/NEWS
+# Source2-md5:	a227cdb2e7713eac2477efe42ed7f0c9
+Source3:	http://www.catb.org/~esr/gif2png/README
+# Source3-md5:	06075004876a4a28ec296348f59e02e9
 URL:		http://catb.org/~esr/gif2png/
-BuildRequires:	autoconf
-BuildRequires:	automake
+BuildRequires:	docbook-dtd412-xml
 BuildRequires:	libpng-devel >= 2:1.2.0
 BuildRequires:	rpm-pythonprov
+BuildRequires:	sed >= 4.0
+BuildRequires:	xmlto
+BuildRequires:	zlib-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -50,25 +59,29 @@ referência IMG SRC.
 %prep
 %setup -q
 
+cp -p %{SOURCE1} %{SOURCE2} %{SOURCE3} .
+
+%{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' web2png
+
 %build
-%{__aclocal}
-%{__autoconf}
-%{__automake}
-%configure
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -DVERSION=\\\"%{version}\\\"" \
+	CPPFLAGS="%{rpmcppflags}" \
+	LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+	prefix=$RPM_BUILD_ROOT%{_prefix}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog NEWS README
+%doc COPYING NEWS README gif2png-logo.png
 %attr(755,root,root) %{_bindir}/gif2png
 %attr(755,root,root) %{_bindir}/web2png
 %{_mandir}/man1/gif2png.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gif2png.git/commitdiff/3f5f15e1b122dec1fac1e665753a9468de4aa2ff



More information about the pld-cvs-commit mailing list