- fix #476655 detect JPEG-2000 Code Stream Bitmap
This commit is contained in:
parent
bcae6767eb
commit
263e1d2aad
12
file-4.26-jpeg2000.patch
Normal file
12
file-4.26-jpeg2000.patch
Normal file
@ -0,0 +1,12 @@
|
||||
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@quanteq.com>
|
||||
0 string \xff\xa0\xff\xa8\x00 Wavelet Scalar Quantization image data
|
||||
+
|
||||
+# JPEG 2000 Code Stream Bitmap
|
||||
+# From Petr Splichal <psplicha@redhat.com>
|
||||
+0 string \xFF\x4F\xFF\x51\x00 JPEG-2000 Code Stream Bitmap data
|
||||
+
|
||||
@ -5,7 +5,7 @@
|
||||
Summary: A utility for determining file types
|
||||
Name: file
|
||||
Version: 4.26
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
License: BSD
|
||||
Group: Applications/File
|
||||
Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
|
||||
@ -16,6 +16,7 @@ Patch2: file-4.26-mime-encoding.patch
|
||||
Patch3: file-4.26-perl5.patch
|
||||
Patch4: file-4.26-graphviz-latex.patch
|
||||
Patch5: file-4.26-btrfs.patch
|
||||
Patch6: file-4.26-jpeg2000.patch
|
||||
|
||||
Requires: file-libs = %{version}-%{release}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@ -72,6 +73,8 @@ file(1) command.
|
||||
%patch4 -p1
|
||||
#fixes #479300
|
||||
%patch5 -p1
|
||||
#fixes #476655
|
||||
%patch6 -p1
|
||||
|
||||
iconv -f iso-8859-1 -t utf-8 < doc/libmagic.man > doc/libmagic.man_
|
||||
touch -r doc/libmagic.man doc/libmagic.man_
|
||||
@ -145,6 +148,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Jan 14 2009 Daniel Novotny <dnovotny@redhat.com> 4.26-9
|
||||
- fix #476655 detect JPEG-2000 Code Stream Bitmap
|
||||
|
||||
* Mon Jan 12 2009 Daniel Novotny <dnovotny@redhat.com> 4.26-8
|
||||
- fix #479300 - add btrfs filesystem magic
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user