[pngnq] update to 1.1

Gerd Hoffmann kraxel at fedoraproject.org
Thu Jun 23 09:01:17 UTC 2011


commit 70e020bfc95e6c9e62cb4b969bad8a8f9675e9e0
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Jun 23 11:00:44 2011 +0200

    update to 1.1

 .gitignore               |    1 +
 pngnq-0.5-getopt.patch   |   10 ----------
 pngnq-0.5-makefile.patch |   46 ----------------------------------------------
 pngnq.spec               |   25 ++++++++++---------------
 sources                  |    2 +-
 5 files changed, 12 insertions(+), 72 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1952e01..377a049 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 pngnq-0.5-src.tar.gz
+/pngnq-1.1.tar.gz
diff --git a/pngnq.spec b/pngnq.spec
index b9b6aed..7bac525 100644
--- a/pngnq.spec
+++ b/pngnq.spec
@@ -1,17 +1,11 @@
 Name: pngnq
 Summary: Pngnq is a tool for quantizing PNG images in RGBA format
-Version: 0.5
-Release: 9%{?dist}
+Version: 1.1
+Release: 1%{?dist}
 License: BSD with advertising and MIT and BSD
 Group: Applications/Multimedia
 URL: http://pngnq.sourceforge.net/
-Source0: http://dl.sf.net/pngnq/pngnq-%{version}-src.tar.gz
-
-# Makefile tweaks for Fedora build.
-Patch0: %{name}-%{version}-makefile.patch
-
-# http://sourceforge.net/tracker/index.php?func=detail&aid=2211648&group_id=213072&atid=1024254
-Patch1: %{name}-%{version}-getopt.patch
+Source0: http://dl.sf.net/pngnq/pngnq-%{version}.tar.gz
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: libpng-devel
@@ -24,13 +18,11 @@ map selection. This is fast and quite accurate, giving good results
 on many types of images.
 
 %prep
-%setup -q -n %{version}
-%patch0 -p1
-%patch1 -p0
+%setup -q
 
 %build
-export CFLAGS="%{optflags}"
-%{__make} %{?_smp_mflags} all
+%configure
+%{__make} %{?_smp_mflags}
 
 %install
 %{__rm} -rf %{buildroot}
@@ -41,11 +33,14 @@ export CFLAGS="%{optflags}"
 
 %files
 %defattr(-, root, root, 0755)
-%doc LICENSE README*
+%doc COPYING README*
 %{_bindir}/*
 %{_mandir}/man1/*1*
 
 %changelog
+* Thu Jun 23 2011 - Gerd Hoffmann <kraxel at redhat.com> - 1.1-1
+- Update to version 1.1 (#714728).
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 346d722..877537f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-14aff764008dfd55e816d3fe08636cb9  pngnq-0.5-src.tar.gz
+fdbb94d504931b50c54202b62f98aa44  pngnq-1.1.tar.gz


More information about the scm-commits mailing list