rpms/file/F-10 file-4.26-jpeg2000.patch, NONE, 1.1 file.spec, 1.81, 1.82

Daniel Novotny dnovotny at fedoraproject.org
Wed Jan 14 14:41:57 UTC 2009


Author: dnovotny

Update of /cvs/extras/rpms/file/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv432

Modified Files:
	file.spec 
Added Files:
	file-4.26-jpeg2000.patch 
Log Message:

- fix #476655 detect JPEG-2000 Code Stream Bitmap


file-4.26-jpeg2000.patch:

--- NEW FILE file-4.26-jpeg2000.patch ---
diff -up file-4.26/magic/Magdir/images.jpeg2000 file-4.26/magic/Magdir/images
--- file-4.26/magic/Magdir/images.jpeg2000	2009-01-12 14:37:52.000000000 +0100
+++ file-4.26/magic/Magdir/images	2009-01-12 14:43:50.000000000 +0100
@@ -600,3 +600,8 @@
 # Wavelet Scalar Quantization format used in gray-scale fingerprint images
 # From Tano M Fotang <mfotang at quanteq.com>
 0	string	\xff\xa0\xff\xa8\x00	Wavelet Scalar Quantization image data
+
+# JPEG 2000 Code Stream Bitmap
+# From Petr Splichal <psplicha at redhat.com>
+0	string	\xFF\x4F\xFF\x51\x00	JPEG-2000 Code Stream Bitmap data
+


Index: file.spec
===================================================================
RCS file: /cvs/extras/rpms/file/F-10/file.spec,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- file.spec	16 Oct 2008 11:01:33 -0000	1.81
+++ file.spec	14 Jan 2009 14:41:27 -0000	1.82
@@ -5,7 +5,7 @@
 Summary: A utility for determining file types
 Name: file
 Version: 4.26
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: BSD
 Group: Applications/File
 Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
@@ -13,6 +13,7 @@
 Patch0: file-4.21-pybuild.patch
 Patch1: file-4.26-devdrv.patch
 Patch2: file-4.26-mime-encoding.patch
+Patch3: file-4.26-jpeg2000.patch
 
 Requires: file-libs = %{version}-%{release}
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -63,6 +64,8 @@
 %patch1 -p1
 #fixes #465994
 %patch2 -p1
+# fixes #476655
+%patch3 -p1
 
 iconv -f iso-8859-1 -t utf-8 < doc/libmagic.man > doc/libmagic.man_
 touch -r doc/libmagic.man doc/libmagic.man_
@@ -136,6 +139,9 @@
 %endif
 
 %changelog
+* Wed Jan 14 2009 Daniel Novotny <dnovotny at redhat.com> 4.26-4
+- fix #476655 detect JPEG-2000 Code Stream Bitmap
+
 * Thu Oct 16 2008 Daniel Novotny <dnovotny at redhat.com> 4.26-3
 - fix #465994 file --mime-encoding seems broken
 




More information about the fedora-extras-commits mailing list