SPECS: pngcrush.spec - 1.6.5 (CVE-2008-1382) - fix of TODO - generation of ...
draenog
draenog at pld-linux.org
Tue May 13 00:22:02 CEST 2008
Author: draenog Date: Mon May 12 22:22:02 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 1.6.5 (CVE-2008-1382)
- fix of TODO
- generation of LICENSE
- use correct linker
---- Files affected:
SPECS:
pngcrush.spec (1.19 -> 1.20)
---- Diffs:
================================================================
Index: SPECS/pngcrush.spec
diff -u SPECS/pngcrush.spec:1.19 SPECS/pngcrush.spec:1.20
--- SPECS/pngcrush.spec:1.19 Tue Feb 13 09:06:41 2007
+++ SPECS/pngcrush.spec Tue May 13 00:21:57 2008
@@ -26,12 +26,12 @@
Summary(pl.UTF-8): Optymalizator plików png
Summary(pt_BR.UTF-8): Utilitário para compressão de pngs
Name: pngcrush
-Version: 1.6.2
-Release: 2
-License: BSD-like (see README.txt)
+Version: 1.6.5
+Release: 1
+License: BSD-like (see LICENSE)
Group: Applications/Graphics
Source0: http://dl.sourceforge.net/pmt/%{name}-%{version}.tar.bz2
-# Source0-md5: ca036dc08ffe1f47b43f6d19d93a1af4
+# Source0-md5: 0970ec8b12990cf8b173ff1030b3ac85
URL: http://pmt.sf.net/pngcrush/
%if %{with systemlibs}
BuildRequires: libpng-devel
@@ -62,7 +62,8 @@
# create some real documentation
# NOTE: remember to check these on upgrade!
sed -ne '1,/*\//p' pngcrush.c | cut -b 4- > README
-sed -ne '/\/* To do/,/*\/$/p;/PNG_INTERNAL/q' pngcrush.c | cut -b 4- > TODO
+sed -ne '/\/\* To do/,/*\/$/p;/PNG_INTERNAL/q' pngcrush.c | cut -b 4- > TODO
+sed -ne '/* COPYRIGHT/,/*\/$/p;' pngcrush.c | cut -b 4- > LICENSE
%if %{with systemlibs}
# workaround for Makefile and #include "png.h"
@@ -73,6 +74,7 @@
%{__make} \
CC="%{__cc}" \
CFLAGS="%{rpmcflags} -Wall" \
+ LD="%{__cc} %{rpmldflags}" \
%if %{with systemlibs}
OBJS="pngcrush.o" \
LDFLAGS="%{rpmldflags} -lpng -lz"
@@ -89,7 +91,7 @@
%files
%defattr(644,root,root,755)
-%doc README TODO ChangeLog.txt
+%doc LICENSE README TODO ChangeLog.txt
%attr(755,root,root) %{_bindir}/pngcrush
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -98,6 +100,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.20 2008-05-12 22:21:57 draenog
+- 1.6.5 (CVE-2008-1382)
+- fix of TODO
+- generation of LICENSE
+- use correct linker
+
Revision 1.19 2007-02-13 08:06:41 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pngcrush.spec?r1=1.19&r2=1.20&f=u
More information about the pld-cvs-commit
mailing list