rpms/pngcrush/devel import.log, NONE, 1.1 pngcrush-build.patch, NONE, 1.1 pngcrush.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Gerd Hoffmann kraxel at fedoraproject.org
Thu Nov 6 10:15:45 UTC 2008


Author: kraxel

Update of /cvs/pkgs/rpms/pngcrush/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16645/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log pngcrush-build.patch pngcrush.spec 
Log Message:
initial package.



--- NEW FILE import.log ---
pngcrush-1_6_10-3_fc10:HEAD:pngcrush-1.6.10-3.fc10.src.rpm:1225966478

pngcrush-build.patch:

--- NEW FILE pngcrush-build.patch ---
diff -up pngcrush-1.6.10/pngcrush.c.fix pngcrush-1.6.10/pngcrush.c
--- pngcrush-1.6.10/pngcrush.c.fix	2008-08-25 21:00:08.000000000 +0200
+++ pngcrush-1.6.10/pngcrush.c	2008-10-30 22:51:27.000000000 +0100
@@ -2821,7 +2821,7 @@ int main(int argc, char *argv[])
 #if !defined(PNG_cHRM_SUPPORTED) || !defined(PNG_hIST_SUPPORTED) || \
     !defined(PNG_iCCP_SUPPORTED) || !defined(PNG_sCAL_SUPPORTED) || \
     !defined(PNG_pCAL_SUPPORTED) || !defined(PNG_sPLT_SUPPORTED) || \
-    !defined(PNG_tIME_SUPPORTED)
+    !defined(PNG_sTER_SUPPORTED) || !defined(PNG_tIME_SUPPORTED)
                         png_byte chunk_name[5];
                         chunk_name[4] = '\0';
 #endif


--- NEW FILE pngcrush.spec ---
Summary: Optimizer for PNG (Portable Network Graphics) files
Name: pngcrush
Version: 1.6.10
Release: 3%{?dist}
License: zlib
Group: Applications/File
URL: http://pmt.sourceforge.net/pngcrush/
Source0: http://downloads.sourceforge.net/pmt/%{name}-%{version}.tar.bz2

# sent upstream 2008-10-31 (mailto:glennrp at users.sf.net)
Patch0: %{name}-build.patch

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: libpng-devel, zlib-devel, pkgconfig

%description
pngcrush is an optimizer for PNG (Portable Network Graphics) files. It can be
run from a commandline in an MSDOS window, or from a UNIX or LINUX commandline.

Its main purpose is to reduce the size of the PNG IDAT datastream by trying
various compression levels an PNG filter methods. It also can be used to
remove unwanted ancillary chunks, or to add certain chunks including gAMA,
tRNS, iCCP, and textual chunks. 

%prep
%setup -q
%patch0 -p1

%build
rm -f z*.h crc32.h deflate.h inf*.h trees.h png*.h # force using system headers
pngflags=$(pkg-config --cflags --libs libpng)
gcc %{optflags} $pngflags -o pngcrush pngcrush.c

%install
%{__rm} -rf %{buildroot}
%{__install} -D -m0755 pngcrush %{buildroot}%{_bindir}/pngcrush

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, -)
%doc ChangeLog.txt
%{_bindir}/pngcrush

%changelog
* Mon Nov 3 2008 - Gerd Hoffmann <kraxel at redhat.com> - 1.6.10-3.fc9
- remove all unneeded (zlib/libpng copy) header files.
- fix Source: URL.
- get cflags and libs from pkg-config.

* Fri Oct 31 2008 - Gerd Hoffmann <kraxel at redhat.com> - 1.6.10-2.fc9
- use $RPM_OPT_FLAGS.
- use systems zlib and libpng.

* Wed Oct 15 2008 - Gerd Hoffmann <kraxel at redhat.com> - 1.6.10-1.fc9
- update to 1.6.10.
- add dist tag to release.
- fix license.
- fix rpmlint warnings.

* Mon Jul 07 2008 - Patrick Steiner <patrick.steiner at a1.net> - 1.6.7-1
- Initial package.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pngcrush/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Nov 2008 22:28:39 -0000	1.1
+++ .cvsignore	6 Nov 2008 10:15:14 -0000	1.2
@@ -0,0 +1 @@
+pngcrush-1.6.10.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pngcrush/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Nov 2008 22:28:39 -0000	1.1
+++ sources	6 Nov 2008 10:15:14 -0000	1.2
@@ -0,0 +1 @@
+375d3119f7dbc53c9c9c6d7764b0fec9  pngcrush-1.6.10.tar.bz2




More information about the scm-commits mailing list