4112f94
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
4112f94
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
cvsdist b071927
%define __libtoolize :
cvsdist b071927
6b93567
Summary: A utility for determining file types
cvsdist df0d3de
Name: file
Daniel Novotny 3686640
Version: 5.04
Daniel Novotny af58b03
Release: 8%{?dist}
4112f94
License: BSD
cvsdist df0d3de
Group: Applications/File
cvsdist df0d3de
Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
4112f94
URL: http://www.darwinsys.com/file/
Daniel Novotny 0f023a0
Patch0: file-4.21-pybuild.patch
Daniel Novotny a39afd5
Patch1: file-5.00-devdrv.patch
Daniel Novotny 195cdc8
Patch2: file-5.00-mdmp.patch
Daniel Novotny 88b11f9
Patch3: file-5.04-ulaw-segfault.patch
Daniel Novotny 60d6edf
Patch4: file-5.04-ruby-modules.patch
Daniel Novotny 4890a1b
Patch5: file-5.04-filesystem.patch
Daniel Novotny e8e8817
Patch6: file-5.04-separ.patch
Daniel Novotny 9f57b64
Patch7: file-5.04-squashfs.patch
Daniel Novotny 9ea7a67
Patch8: file-5.04-core-trim.patch
Daniel Novotny af58b03
Patch9: file-5.04-retval.patch
ed9eb9f
d0adb6a
Requires: file-libs = %{version}-%{release}
6b93567
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3316f98
BuildRequires: zlib-devel
cvsdist df0d3de
cvsdist df0d3de
%description
cvsdist df0d3de
The file command is used to identify a particular file according to the
cvsdist df0d3de
type of data contained by the file.  File can identify many different
cvsdist df0d3de
file types, including ELF binaries, system libraries, RPM packages, and
cvsdist df0d3de
different graphics formats.
cvsdist df0d3de
ed9eb9f
%package libs
ed9eb9f
Summary: Libraries for applications using libmagic
ed9eb9f
Group:   Applications/File
ed9eb9f
ed9eb9f
%description libs
ed9eb9f
d0adb6a
Libraries for applications using libmagic.
d0adb6a
ed9eb9f
%package devel
ed9eb9f
Summary:  Libraries and header files for file development
ed9eb9f
Group:    Applications/File
d0adb6a
Requires: %{name} = %{version}-%{release}
ed9eb9f
ed9eb9f
%description devel
ed9eb9f
The file-devel package contains the header files and libmagic library
ed9eb9f
necessary for developing programs using libmagic.
ed9eb9f
Daniel Novotny 9d14c1d
%package static
Daniel Novotny 9d14c1d
Summary: Static library for file development
Daniel Novotny 9d14c1d
Group:    Applications/File
Daniel Novotny 9d14c1d
Requires: %{name} = %{version}-%{release}
Daniel Novotny 9d14c1d
Daniel Novotny 9d14c1d
%description static
Daniel Novotny 9d14c1d
The file-static package contains the static version of
Daniel Novotny 9d14c1d
the libmagic library.
Daniel Novotny 9d14c1d
4112f94
%package -n python-magic
4112f94
Summary: Python bindings for the libmagic API
4112f94
Group:   Development/Libraries
4112f94
BuildRequires: python-devel
4112f94
Requires: %{name} = %{version}-%{release}
4112f94
4112f94
%description -n python-magic
4112f94
This package contains the Python bindings to allow access to the
4112f94
libmagic API. The libmagic library is also used by the familiar
4112f94
file(1) command.
ed9eb9f
cvsdist df0d3de
%prep
Daniel Novotny 3686640
683dc83
# Don't use -b -- it will lead to poblems when compiling magic file
cvsdist df0d3de
%setup -q
51b575a
%patch0 -p1
Daniel Novotny 8b1b06a
#fixes #463809
Daniel Novotny 8b1b06a
%patch1 -p1
Daniel Novotny 6156fb0
#fixes #485835
Daniel Novotny 195cdc8
%patch2 -p1
Daniel Novotny 88b11f9
#fixes #533245
Daniel Novotny 88b11f9
%patch3 -p1
Daniel Novotny 60d6edf
#fixes #562840
Daniel Novotny 60d6edf
%patch4 -p1
Daniel Novotny 4890a1b
#fixes #570785
Daniel Novotny 4890a1b
%patch5 -p1
Daniel Novotny e8e8817
#fixes #575184
Daniel Novotny e8e8817
%patch6 -p1
Daniel Novotny 9f57b64
#fixes #550212
Daniel Novotny 9f57b64
%patch7 -p1
Daniel Novotny 9ea7a67
#fixes #566305
Daniel Novotny 9ea7a67
%patch8 -p1
Daniel Novotny af58b03
#fixes #580046
Daniel Novotny af58b03
%patch9 -p1
cvsdist df0d3de
64c4be9
iconv -f iso-8859-1 -t utf-8 < doc/libmagic.man > doc/libmagic.man_
4112f94
touch -r doc/libmagic.man doc/libmagic.man_
64c4be9
mv doc/libmagic.man_ doc/libmagic.man
64c4be9
cvsdist df0d3de
%build
cvsdist efd1c4c
CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" \
594abaa
%configure --enable-fsect-man5 --disable-rpath
f57a182
# remove hardcoded library paths from local libtool
f57a182
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
f57a182
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
b72a446
export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/src/.libs
cvsdist df0d3de
make
4112f94
cd python
4112f94
CFLAGS="%{optflags}" %{__python} setup.py build
cvsdist 3f69a6b
cvsdist df0d3de
%install
cvsdist df0d3de
rm -rf $RPM_BUILD_ROOT
cvsdist df0d3de
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
cvsdist df0d3de
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
cvsdist df0d3de
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man5
cvsdist efd1c4c
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/misc
Daniel Novotny 195cdc8
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/file
cvsdist df0d3de
4112f94
make DESTDIR=${RPM_BUILD_ROOT} install
3cfbfa5
rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
3cfbfa5
Daniel Novotny ceb92a9
cat magic/Magdir/* > ${RPM_BUILD_ROOT}%{_datadir}/misc/magic
Daniel Novotny ceb92a9
ln -s misc/magic ${RPM_BUILD_ROOT}%{_datadir}/magic
683dc83
#ln -s file/magic.mime ${RPM_BUILD_ROOT}%{_datadir}/magic.mime
Daniel Novotny ceb92a9
ln -s ../magic ${RPM_BUILD_ROOT}%{_datadir}/file/magic
cvsdist df0d3de
4112f94
cd python
4112f94
%{__python} setup.py install -O1 --skip-build --root ${RPM_BUILD_ROOT}
4112f94
%{__install} -d ${RPM_BUILD_ROOT}%{_datadir}/%{name}
4112f94
cvsdist df0d3de
%clean
cvsdist df0d3de
rm -rf $RPM_BUILD_ROOT
cvsdist df0d3de
6b93567
%post libs -p /sbin/ldconfig
cvsdist 5d3a0f6
6b93567
%postun libs -p /sbin/ldconfig
cvsdist 5d3a0f6
cvsdist df0d3de
%files
6b93567
%defattr(-,root,root,-)
ebad536
%doc COPYING ChangeLog README
cvsdist df0d3de
%{_bindir}/*
cc9d6ed
%{_mandir}/man1/*
cvsdist 5d3a0f6
ed9eb9f
%files libs
6b93567
%defattr(-,root,root,-)
ed9eb9f
%{_libdir}/*so.*
cc9d6ed
%{_datadir}/magic*
6b93567
%{_mandir}/man5/*
cc9d6ed
%{_datadir}/file
cc9d6ed
%{_datadir}/misc/*
ed9eb9f
ed9eb9f
%files devel
6b93567
%defattr(-,root,root,-)
6b93567
%{_libdir}/*.so
ed9eb9f
%{_includedir}/magic.h
6b93567
%{_mandir}/man3/*
ed9eb9f
Daniel Novotny 9d14c1d
%files static
Daniel Novotny 9d14c1d
%defattr(-,root,root,-)
Daniel Novotny 9d14c1d
%{_libdir}/*.a
Daniel Novotny 9d14c1d
4112f94
%files -n python-magic
4112f94
%defattr(-, root, root, -)
ebad536
%doc python/README COPYING python/example.py
4112f94
%{python_sitearch}/magic.so
Daniel Novotny 00f668b
%if 0%{?fedora} >= 9 || 0%{?rhel} >= 6
c9338c0
%{python_sitearch}/*egg-info
4112f94
%endif
cvsdist df0d3de
cvsdist df0d3de
%changelog
Daniel Novotny af58b03
* Wed Apr 14 2010 Daniel Novotny <dnovotny@redhat.com> 5.04-8
Daniel Novotny af58b03
- fix #580046 - the file command returns zero exit code 
Daniel Novotny af58b03
                even in case of unexisting file being tested
Daniel Novotny af58b03
Daniel Novotny 9ea7a67
* Wed Apr 07 2010 Daniel Novotny <dnovotny@redhat.com> 5.04-7
Daniel Novotny 9ea7a67
- fix #566305 - "file" may trim too much of command line from core file
Daniel Novotny 9ea7a67
Daniel Novotny 9f57b64
* Wed Mar 24 2010 Daniel Novotny <dnovotny@redhat.com> 5.04-6
Daniel Novotny 9f57b64
- fix #550212 - 'file' gives bad meta-data for squashfs-4.0 
Daniel Novotny 9f57b64
Daniel Novotny e8e8817
* Wed Mar 24 2010 Daniel Novotny <dnovotny@redhat.com> 5.04-5
Daniel Novotny e8e8817
- fix #575184 - file command does not print separator 
Daniel Novotny e8e8817
  when --print0 option is used
Daniel Novotny e8e8817
Daniel Novotny 4890a1b
* Thu Mar 11 2010 Daniel Novotny <dnovotny@redhat.com> 5.04-4
Daniel Novotny 4890a1b
- fix #570785 - "file" misidentifies filesystem type
Daniel Novotny 4890a1b
Daniel Novotny 60d6edf
* Tue Feb 09 2010 Daniel Novotny <dnovotny@redhat.com> 5.04-3
Daniel Novotny 60d6edf
- fix #562840 -  [PATCH] Add matches for ruby modules
Daniel Novotny 60d6edf
Daniel Novotny 88b11f9
* Thu Jan 28 2010 Daniel Novotny <dnovotny@redhat.com> 5.04-2
Daniel Novotny 88b11f9
- fix #533245 -  segfaults on star.ulaw
Daniel Novotny 88b11f9
Daniel Novotny 3686640
* Mon Jan 25 2010 Daniel Novotny <dnovotny@redhat.com> 5.04-1
Daniel Novotny 3686640
- update to new upstream release 5.04
Daniel Novotny 3686640
Daniel Novotny 9d14c1d
* Mon Jan 18 2010 Daniel Novotny <dnovotny@redhat.com> 5.03-18
Daniel Novotny 9d14c1d
- static library moved to new "-static" subpackage (#556048)
Daniel Novotny 9d14c1d
4ebef48
* Fri Dec 25 2009 Robert Scheck <robert@fedoraproject.org> 5.03-17
4ebef48
- removed broken install of example.py (%%doc is much enough)
4ebef48
Daniel Novotny 9c33b03
* Mon Nov 30 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-16
Daniel Novotny 9c33b03
- fixed the patch for multilib (#515767)
Daniel Novotny 9c33b03
Daniel Novotny 1d43906
* Tue Nov 24 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-15
Daniel Novotny 1d43906
- BuildRequires: autoconf, automake
Daniel Novotny 1d43906
Daniel Novotny 9de548a
* Tue Nov 24 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-14
Daniel Novotny 9de548a
- BuildRequires: automake because of the Makefile.am patch
Daniel Novotny 9de548a
Daniel Novotny 00f668b
* Fri Nov 13 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-13
Daniel Novotny 00f668b
- fix #537324 -  update spec conditional for rhel
Daniel Novotny 00f668b
Daniel Novotny 18b8342
* Thu Nov 05 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-12
Daniel Novotny 18b8342
- fix #533151 -  file command doesn't recognize deltaisos or rpm-only deltarpms
Daniel Novotny 18b8342
Daniel Novotny f0a2dd8
* Tue Oct 27 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-11
Daniel Novotny f0a2dd8
- fix #531082 -  RFE: add detection of Python 3 bytecode
Daniel Novotny f0a2dd8
- fix #531127 -  `file' command does not recognize mime type `image/vnd.djvu'
Daniel Novotny f0a2dd8
Daniel Novotny 5cccfe7
* Wed Oct 21 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-10
Daniel Novotny 5cccfe7
- fix #530083 -  file -s is not able to detect swap signature on ppc
Daniel Novotny 5cccfe7
Daniel Novotny 155d979
* Tue Aug 25 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-9
Daniel Novotny 155d979
- fix #515767 -  multilib: file /usr/share/misc/magic.mgc conflicts
Daniel Novotny 155d979
Daniel Novotny 0e56082
* Thu Aug 06 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-8
Daniel Novotny 0e56082
- rebuild for #515767 -  multilib: file /usr/share/misc/magic.mgc conflicts
Daniel Novotny 0e56082
33984f6
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.03-7
33984f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
33984f6
Daniel Novotny fcc6529
* Thu Jul 23 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-6
Daniel Novotny fcc6529
- fix #510429 -  file is confused by string "/* (if any) */" 
Daniel Novotny fcc6529
       in C header and claims it "Lisp/Scheme program text"
Daniel Novotny fcc6529
Daniel Novotny 989931d
* Wed Jul 22 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-5
Daniel Novotny 989931d
- #513079 -  RFE: file - recognize xfs metadump images
Daniel Novotny 989931d
db47e1c
* Fri Jul 10 2009 Adam Jackson <ajax@redhat.com> 5.03-4
db47e1c
- Clean up %%description.
db47e1c
Daniel Novotny 14909fa
* Tue Jun 16 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-4
Daniel Novotny 14909fa
- one more PostScript font magic added (#505762),
Daniel Novotny 14909fa
  updated font patch
Daniel Novotny 14909fa
Daniel Novotny cb52735
* Tue Jun 16 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-3
Daniel Novotny cb52735
- added magic for three font issues (PostScript fonts)
Daniel Novotny cb52735
  (#505758, #505759, #505765)
Daniel Novotny cb52735
Daniel Novotny ceb92a9
* Thu May 14 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-2
Daniel Novotny ceb92a9
- fix #500739 - Disorganized magic* file locations in file-libs
Daniel Novotny ceb92a9
Daniel Novotny 93383d1
* Mon May 11 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-1
Daniel Novotny 93383d1
- new upstream version
Daniel Novotny 93383d1
Daniel Novotny 195cdc8
* Tue May 05 2009 Daniel Novotny <dnovotny@redhat.com> 5.02-1
Daniel Novotny 195cdc8
- new upstream version; drop upstreamed patches; this fixes #497913
Daniel Novotny 195cdc8
Daniel Novotny d810c06
* Wed Apr 29 2009 Daniel Novotny <dnovotny@redhat.com> 5.00-8
Daniel Novotny d810c06
- fix #498036 - Elang JAM file definition breaks detection of postscript-files
Daniel Novotny d810c06
Daniel Novotny 849efe8
* Mon Apr 20 2009 Daniel Novotny <dnovotny@redhat.com> 5.00-7
Daniel Novotny 849efe8
- fix previous patch:
Daniel Novotny 849efe8
  the name of the format is a bit different (MDUMP -> MDMP)
Daniel Novotny 849efe8
Daniel Novotny 6156fb0
* Fri Apr 17 2009 Daniel Novotny <dnovotny@redhat.com> 5.00-6
Daniel Novotny 6156fb0
- fix #485835 (MDUMP files)
Daniel Novotny 6156fb0
Daniel Novotny 3b0cc3c
* Mon Mar 23 2009 Daniel Novotny <dnovotny@redhat.com> 5.00-5
Daniel Novotny 3b0cc3c
- added two font definitions (#491594, #491595)
Daniel Novotny 3b0cc3c
  and a fix for file descriptor leak when MAGIC_COMPRESS used (#491596)
Daniel Novotny 3b0cc3c
4274066
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.00-4
4274066
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4274066
Daniel Novotny ae2aa56
* Mon Feb 23 2009 Daniel Novotny <dnovotny@redhat.com> 5.00-3
Daniel Novotny ae2aa56
- fix #486105 -  file-5.00-2.fc11 fails to recognise a file 
Daniel Novotny ae2aa56
  (and makes rpmbuild fail)
Daniel Novotny ae2aa56
Daniel Novotny 4c5f6c1
* Mon Feb 16 2009 Daniel Novotny <dnovotny@redhat.com> 5.00-2
Daniel Novotny 4c5f6c1
- fix #485141 -  rpm failed while checking a French Word file
Daniel Novotny 4c5f6c1
Daniel Novotny a39afd5
* Mon Feb 09 2009 Daniel Novotny <dnovotny@redhat.com> 5.00-1
Daniel Novotny a39afd5
- upgrade to 5.00
Daniel Novotny a39afd5
- drop upstreamed patches, rebase remaining patch
Daniel Novotny a39afd5
Daniel Novotny 263e1d2
* Wed Jan 14 2009 Daniel Novotny <dnovotny@redhat.com> 4.26-9
Daniel Novotny 263e1d2
- fix #476655 detect JPEG-2000 Code Stream Bitmap
Daniel Novotny 263e1d2
Daniel Novotny bcae676
* Mon Jan 12 2009 Daniel Novotny <dnovotny@redhat.com> 4.26-8
Daniel Novotny bcae676
- fix #479300 - add btrfs filesystem magic
Daniel Novotny bcae676
Daniel Novotny 7d1c04c
* Mon Dec 15 2008 Daniel Novotny <dnovotny@redhat.com> 4.26-7
Daniel Novotny 7d1c04c
- fix the LaTex issue in bz#474156
Daniel Novotny 7d1c04c
95e16a7
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 4.26-6
95e16a7
- Rebuild for Python 2.6
95e16a7
Daniel Novotny cc615f4
* Thu Dec 04 2008 Daniel Novotny <dnovotny@redhat.com> - 4.26-5
Daniel Novotny cc615f4
- fix #470811 - Spurious perl auto-requires
Daniel Novotny cc615f4
b9efc11
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 4.26-4
b9efc11
- Rebuild for Python 2.6
b9efc11
Daniel Novotny 0f023a0
* Thu Oct 16 2008 Daniel Novotny <dnovotny@redhat.com> 4.26-3
Daniel Novotny 0f023a0
- fix #465994 file --mime-encoding seems broken
Daniel Novotny 0f023a0
Daniel Novotny 8b1b06a
* Tue Oct 07 2008 Daniel Novotny <dnovotny@redhat.com> 4.26-2
Daniel Novotny 8b1b06a
- fix #463809: rpmbuild rpmfcClassify: Assertion fails on some binary files
Daniel Novotny 8b1b06a
  (false positive test on "DOS device driver" crashed file(1)
Daniel Novotny 8b1b06a
   and rpmbuild(8) failed)  
Daniel Novotny 8b1b06a
Daniel Novotny adf5158
* Mon Sep 15 2008 Daniel Novotny <dnovotny@redhat.com> 4.26-1
Daniel Novotny adf5158
- new upstream version: fixes #462064
Daniel Novotny adf5158
51b575a
* Mon Jul 21 2008 Tomas Smetana <tsmetana@redhat.com> - 4.25-1
51b575a
- new upstream version; drop upstreamed patches
51b575a
867d762
* Fri Jun 06 2008 Tomas Smetana <tsmetana@redhat.com> - 4.24-4
867d762
- add GFS2 filesystem magic; thanks to Eric Sandeen
867d762
- add LVM snapshots magic (#449755); thanks to Jason Farrell
867d762
4f1860c
* Wed Jun 04 2008 Tomas Smetana <tsmetana@redhat.com> - 4.24-3
683dc83
- drop patches that do nothing in recent build system
683dc83
- create the text magic file during installation
683dc83
0c2a120
* Tue Jun 03 2008 Tomas Smetana <tsmetana@redhat.com> - 4.24-2
0c2a120
- rebuild because of egg-info
0c2a120
ebad536
* Tue Jun 03 2008 Tomas Smetana <tsmetana@redhat.com> - 4.24-1
ebad536
- new upstream version
ebad536
497b4b6
* Tue Mar 11 2008 Tomas Smetana <tsmetana@redhat.com> - 4.23-5
497b4b6
- fix EFI detection patch
497b4b6
7dea882
* Fri Feb 01 2008 Tomas Smetana <tsmetana@redhat.com> - 4.23-4
7dea882
- fix mismatching gzip files and text files as animations
7dea882
52496b2
* Fri Feb 01 2008 Tomas Smetana <tsmetana@redhat.com> - 4.23-3
52496b2
- fix #430927 - detect ext4 filesystems
52496b2
dc1236f
* Thu Jan 31 2008 Tomas Smetana <tsmetana@redhat.com> - 4.23-2
dc1236f
- fix #430952 - wrong handling of ELF binaries
dc1236f
b72a446
* Tue Jan 29 2008 Tomas Smetana <tsmetana@redhat.com> - 4.23-1
b72a446
- new upstream version; update patches; drop unused patches
b72a446
4112f94
* Thu Jan 24 2008 Tomas Smetana <tsmetana@redhat.com> - 4.21-5
4112f94
- build a separate python-magic package; thanks to Terje Rosten
4112f94
4112f94
* Thu Dec 06 2007 Tomas Smetana <tsmetana@redhat.com> - 4.21-4
4112f94
- add PE32/PE32+ magic
4112f94
7eff559
* Wed Aug 15 2007 Martin Bacovsky <mbacovsk@redhat.com> - 4.21-3
7eff559
- resolves: #172015: no longer reports filename of crashed app when run on core files.
7eff559
- resolves: #249578: Weird output from "file -i"
7eff559
- resolves: #234817: file reports wrong filetype for microsoft word file
7eff559
d0adb6a
* Wed Jul  4 2007 Martin Bacovsky <mbacovsk@redhat.com> - 4.21-2
d0adb6a
- resolves: #246700: RPM description isn't related to product
4112f94
- resolves: #238789: file-devel depends on %%{version}
4112f94
  but not on %%{version}-%%{release}
d0adb6a
- resolves: #235267: for core files, file doesn't display the executable name
d0adb6a
0467cc7
* Tue May 29 2007 Martin Bacovsky <mbacovsk@redhat.com> - 4.21-1
0467cc7
- upgrade to new upstream 4.21
0467cc7
- resolves: #241034: CVE-2007-2799 file integer overflow
0467cc7
f777c7b
* Wed Mar  7 2007 Martin Bacovsky <mbacovsk@redhat.com> - 4.20-1
f777c7b
- upgrade to new upstream 4.20
f777c7b
f777c7b
* Tue Feb 20 2007 Martin Bacovsky <mbacovsk@redhat.com> - 4.19-4
594abaa
- rpath in file removal
594abaa
f777c7b
* Mon Feb 19 2007 Martin Bacovsky <mbacovsk@redhat.com> - 4.19-3
6b93567
- Resolves: #225750 - Merge Review: file
6b93567
f777c7b
* Thu Jan 25 2007 Martin Bacovsky <mbacovsk@redhat.com> - 4.19-2
cc9d6ed
- Resolves: #223297 - file does not recognize OpenOffice "native" formats
cc9d6ed
- Resolves: #224344 - Magic rules should be in file-libs
cc9d6ed
f777c7b
* Tue Jan  9 2007 Martin Bacovsky <mbacovsk@redhat.com> - 4.19-1
ed9eb9f
- Resolves: #208880 - Pointless file(1) error message while detecting ELF 64-bit file
ed9eb9f
    thanks to <jakub@redhat.com> for patch
6b93567
- Resolves: #214992 - file-devel should own %%_includedir/* %%_libdir/lib*.so
ed9eb9f
- Resolves: #203548 - a -devel package should be split out for libmagic
ed9eb9f
- upgrade to new upstream 4.19
ed9eb9f
- patch revision and cleaning
ed9eb9f
- split package to file, file-devel and file-libs
ed9eb9f
17b3db3
* Wed Aug 23 2006 Martin Bacovsky <mbacovsky@redhat.com> - 4.17-8
17b3db3
- fix recognition of perl script with embed awk (#203610) 
17b3db3
4f1f159
* Fri Aug 18 2006 Martin Bacovsky <mbacovsk@redhat.com> - 4.17-7
4f1f159
- fix recognition of bash script with embed awk (#202185)
4f1f159
5e7a8a4
* Thu Aug 03 2006 Martin Bacovsky <mbacovsk@redhat.com> - 4.17-6
5e7a8a4
- fix gziped empty file (#72986)
5e7a8a4
14a5eba
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 4.17-5.1
14a5eba
- rebuild
14a5eba
506ec26
* Mon Jul 10 2006 Radek Vokal <rvokal@redhat.com> 4.17-5
506ec26
- fix powerpoint mine (#190373) <vonsch@gmail.com>
506ec26
6b93567
* Wed May 24 2006 Radek Vokal <rvokal@redhat.com> 4.17-4
e3a3440
- /usr/share/file is owned by package (#192858)
e3a3440
- fix magic for Clamav files (#192406)
e3a3440
6b93567
* Fri Apr 21 2006 Radek Vokal <rvokal@redhat.com> 4.17-3
3fbc355
- add support for OCFS or ASM (#189017)
3fbc355
6b93567
* Tue Mar 14 2006 Radek Vokal <rvokal@redhat.com> 4.17-2
8ee10e7
- fix segfault when compiling magic
8ee10e7
- add check for wctype.h
8ee10e7
- fix for flac and mp3 files
8ee10e7
6b93567
* Mon Mar 13 2006 Radek Vokal <rvokal@redhat.com> 4.17-1
924e31a
- upgrade to file-4.17, patch clean-up
924e31a
e859125
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.16-6.2
e859125
- bump again for double-long bug on ppc(64)
e859125
fbb8664
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.16-6.1
fbb8664
- rebuilt for new gcc4.1 snapshot and glibc changes
fbb8664
6b93567
* Sun Feb 04 2006 Radek Vokal <rvokal@redhat.com> 4.16-6
91e30ca
- xen patch, recognizes Xen saved domain
91e30ca
49a15a0
* Fri Jan 13 2006 Radek Vokal <rvokal@redhat.com> 4.16-5
49a15a0
- fix for 64bit arrays
49a15a0
d28d764
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
d28d764
- rebuilt
d28d764
2b48135
* Tue Nov 29 2005 Radek Vokal <rvokal@redhat.com> - 4.16-4
2b48135
- printf utf8 filenames and don't use isprint() (#174348)
2b48135
3cfbfa5
* Tue Nov 08 2005 Radek Vokal <rvokal@redhat.com> - 4.16-3
3cfbfa5
- remove .la files (#172633)
3cfbfa5
c89bb98
* Mon Oct 31 2005 Radek Vokal <rvokal@redhat.com> - 4.16-2
c89bb98
- fix core files output, show "from" (#172015)
c89bb98
ab2ecaf
* Tue Oct 18 2005 Radek Vokal <rvokal@redhat.com> - 4.16-1
ab2ecaf
- upgrade to upstream
ab2ecaf
6f81b8a
* Mon Oct 03 2005 Radek Vokal <rvokal@redhat.com> - 4.15-4
6f81b8a
- file output for Berkeley DB gains Cracklib (#168917)
6f81b8a
5afb44e
* Mon Sep 19 2005 Radek Vokal <rvokal@redhat.com> - 4.15-3
5afb44e
- small fix in previously added patch, now it works for multiple params
5afb44e
6b92476
* Mon Sep 19 2005 Radek Vokal <rvokal@redhat.com> - 4.15-2
6b92476
- print xxx-style only once (#168617)
6b92476
a069fb6
* Thu Aug 09 2005 Radek Vokal <rvokal@redhat.com> - 4.15-1
a069fb6
- upgrade to upstream 
a069fb6
f358ee6
* Tue Aug 09 2005 Radek Vokal <rvokal@redhat.com> - 4.14-4
f358ee6
- mime for mpeg and aac files fixed (#165323)
f358ee6
551c4df
* Fri Aug 05 2005 Radek Vokal <rvokal@redhat.com> - 4.14-3
551c4df
- mime for 3ds files removed, conflicts with text files (#165165)
551c4df
60d3648
* Fri Jul 22 2005 Radek Vokal <rvokal@redhat.com> - 4.14-2
60d3648
- fixed mime types recognition (#163866) <mandriva.org>
60d3648
0770614
* Thu Jul 14 2005 Radek Vokal <rvokal@redhat.com> - 4.14-1
0770614
- sync with upstream, patch clean-up
0770614
0770614
* Mon Jul 04 2005 Radek Vokal <rvokal@redhat.com> - 4.13-5
b8407bd
- fixed reiserfs check (#162378)
b8407bd
0749455
* Mon Apr 11 2005 Radek Vokal <rvokal@redhat.com> - 4.13-4
0749455
- check Cyrus files before Apple Quicktime movies (#154342) 
0749455
3df1329
* Mon Mar 07 2005 Radek Vokal <rvokal@redhat.com> - 4.13-3
3df1329
- check for shared libs before fs dump files (#149868)
3df1329
c025172
* Fri Mar 04 2005 Radek Vokal <rvokal@redhat.com> - 4.13-2
c025172
- gcc4 rebuilt
c025172
917fecb
* Tue Feb 15 2005 Radek Vokal <rvokal@redhat.com> - 4.13-1
917fecb
- new version, fixing few bugs, patch clean-up
917fecb
- consistent output for bzip files (#147440)
917fecb
99254ed
* Mon Jan 24 2005 Radek Vokal <rvokal@redhat.com> - 4.12-3
99254ed
- core64 patch fixing output on core files (#145354) <kzak@redhat.com>
99254ed
- minor change in magic patch
99254ed
aceebb5
* Mon Jan 03 2005 Radek Vokal <rvokal@redhat.com> - 4.12-2
aceebb5
- fixed crashes in threaded environment (#143871) <arjanv@redhat.com>
aceebb5
b4afd29
* Thu Dec 02 2004 Radek Vokal <rvokal@redhat.com> - 4.12-1
b4afd29
- upgrade to file-4.12
b4afd29
- removed Tim's patch, tuned magic patch
b4afd29
64c4be9
* Sat Nov 20 2004 Miloslav Trmac <mitr@redhat.com> - 4.10-4
64c4be9
- Convert libmagic.3 to UTF-8
64c4be9
3316f98
* Thu Nov 18 2004 Radek Vokal <rvokal@redhat.com> 4.10-3
3316f98
- set of patches from debian.org
3316f98
- new magic types (#128763)
3316f98
- zlib added to BuildReq (#125294)
3316f98
765f8c9
* Tue Oct 12 2004 Tim Waugh <twaugh@redhat.com> 4.10-2
765f8c9
- Fixed occasional segfault (bug #131892).
765f8c9
cvsdist cdf960c
* Wed Aug 11 2004 Radek Vokal <rvokal@redhat.com>
cvsdist cdf960c
- zlib patch deleted, note patch deleted, rh patch updated, debian patch updated
cvsdist cdf960c
- upgrade to file-4.10
cvsdist cdf960c
cvsdist 6a3cf33
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 6a3cf33
- rebuilt
cvsdist 6a3cf33
cvsdist f73b346
* Mon May 10 2004 Jakub Jelinek <jakub@redhat.com>
cvsdist f73b346
- fix ELF note handling (#109495)
cvsdist f73b346
cvsdist f73b346
* Tue Mar 23 2004 Karsten Hopp <karsten@redhat.de> 4.07-3 
cvsdist f73b346
- add docs (#115966)
cvsdist f73b346
cvsdist 280d195
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 280d195
- rebuilt
cvsdist 280d195
cvsdist 280d195
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 280d195
- rebuilt
cvsdist 280d195
cvsdist 53ed254
* Sun Jan 18 2004 Jeff Johnson <jbj@jbj.org> 4.07-1
cvsdist 53ed254
- upgrade to 4.07.
cvsdist 53ed254
- deal gracefully with unreadable files (#113207).
cvsdist 53ed254
- detect PO files (from Debian).
cvsdist 53ed254
cvsdist 53ed254
* Tue Dec 16 2003 Jeff Johnson <jbj@jbj.org> 4.06-1
cvsdist 53ed254
- upgrade to file-4.06.
cvsdist 53ed254
cvsdist 53ed254
* Mon Nov 10 2003 Tim Waugh <twaugh@redhat.com> 4.02-4
cvsdist 53ed254
- Minimal fix for busy loop problem (bug #109495).
cvsdist 53ed254
cvsdist 53ed254
* Mon Oct 13 2003 Jeff Johnson <jbj@jbj.org> 4.05-1
cvsdist 53ed254
- upgrade to 4.05.
cvsdist 53ed254
cvsdist 53ed254
* Thu Oct  9 2003 Jeff Johnson <jbj@jbj.org> 4.02-3
cvsdist 53ed254
- use zlib rather than exec'ing gzip.
cvsdist 53ed254
cvsdist 53ed254
-* Thu Aug 28 2003 Dan Walsh <dwalsh@redhat.com>
cvsdist 53ed254
-- Add Selinux support.
cvsdist 53ed254
cvsdist 5d3a0f6
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 5d3a0f6
- rebuilt
cvsdist 5d3a0f6
cvsdist 5d3a0f6
* Sat May 24 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 5d3a0f6
- add ldconfig to post/postun
cvsdist 5d3a0f6
cvsdist 5d3a0f6
* Mon Apr 21 2003 Jeff Johnson <jbj@redhat.com> 4.02-1
cvsdist 5d3a0f6
- upgrade to file-4.02.
cvsdist 5d3a0f6
cvsdist efd1c4c
* Thu Feb 27 2003 Jeff Johnson <jbj@redhat.com> 3.39-9
cvsdist efd1c4c
- check size read from elf header (#85297).
cvsdist efd1c4c
cvsdist efd1c4c
* Tue Feb 18 2003 Matt Wilson <msw@redhat.com> 3.39-8
cvsdist efd1c4c
- add FHS compatibility symlink from /usr/share/misc/magic -> ../magic
cvsdist efd1c4c
  (#84509)
cvsdist efd1c4c
cvsdist efd1c4c
* Fri Feb 14 2003 Jeff Johnson <jbj@redhat.com> 3.39-7
cvsdist efd1c4c
- the "real" fix to the vorbis/ogg magic details (#82810).
cvsdist efd1c4c
cvsdist efd1c4c
* Mon Jan 27 2003 Jeff Johnson <jbj@redhat.com> 3.39-6
cvsdist efd1c4c
- avoid vorbis/ogg magic details (#82810).
cvsdist efd1c4c
cvsdist efd1c4c
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 3.39-5
cvsdist efd1c4c
- rebuilt
cvsdist efd1c4c
cvsdist efd1c4c
* Sun Jan 12 2003 Nalin Dahyabhai <nalin@redhat.com> 3.39-4
cvsdist efd1c4c
- PT_NOTE, take 3
cvsdist efd1c4c
cvsdist efd1c4c
* Fri Jan 10 2003 Nalin Dahyabhai <nalin@redhat.com> 3.39-3
cvsdist efd1c4c
- don't barf in ELF headers with align = 0
cvsdist efd1c4c
cvsdist efd1c4c
* Tue Jan  7 2003 Nalin Dahyabhai <nalin@redhat.com> 3.39-2
cvsdist efd1c4c
- don't get lost when looking at PT_NOTE sections
cvsdist efd1c4c
cvsdist efd1c4c
* Sat Oct 26 2002 Jeff Johnson <jbj@redhat.com> 3.39-1
cvsdist efd1c4c
- update to 3.39.
cvsdist efd1c4c
cvsdist 1111c41
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 1111c41
- automated rebuild
cvsdist 1111c41
cvsdist 3f69a6b
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 3f69a6b
- automated rebuild
cvsdist 3f69a6b
6b93567
* Mon May  6 2002 Trond Eivind Glomsrød <teg@redhat.com> 3.37-6
cvsdist 3f69a6b
- Don't use an old magic.mime 
cvsdist 3f69a6b
- Add mng detection (#64229)
cvsdist 3f69a6b
6b93567
* Tue Feb 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 3.37-5
cvsdist b071927
- Rebuild
cvsdist b071927
6b93567
* Mon Jan 14 2002 Trond Eivind Glomsrød <teg@redhat.com> 3.37-4
cvsdist b071927
- Fix missing include of <stdint.h> (#58209)
cvsdist b071927
6b93567
* Tue Dec 11 2001 Trond Eivind Glomsrød <teg@redhat.com> 3.37-2
cvsdist b071927
- Add CFLAGS to handle large files (#53576)
cvsdist b071927
6b93567
* Mon Dec 10 2001 Trond Eivind Glomsrød <teg@redhat.com> 3.37-1
cvsdist b071927
- 3.37
cvsdist b071927
- s/Copyright/License/
cvsdist b071927
- build with --enable-fsect-man5, drop patch
cvsdist b071927
- disable two old patches
cvsdist b071927
cvsdist 698a5ae
* Fri Jul 06 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 698a5ae
- revert a patch to Magdir/elf, which breaks many libtool scripts
cvsdist 698a5ae
  in several rpm packages
cvsdist 698a5ae
cvsdist 27ca5fb
* Mon Jun 25 2001 Crutcher Dunnavant <crutcher@redhat.com>
cvsdist b071927
- iterate to 3.35
cvsdist 27ca5fb
cvsdist 27ca5fb
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cvsdist 27ca5fb
- Bump release + rebuild.
cvsdist 27ca5fb
cvsdist 4a8ffa3
* Sun Nov 26 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 4a8ffa3
- update to 3.33.
cvsdist 6add8d6
cvsdist df0d3de
* Mon Aug 14 2000 Preston Brown <pbrown@redhat.com>
cvsdist df0d3de
- Bill made the patch but didn't apply it. :)
cvsdist df0d3de
cvsdist df0d3de
* Mon Aug 14 2000 Bill Nottingham <notting@redhat.com>
cvsdist df0d3de
- 'ASCII text', not 'ASCII test' (#16168)
cvsdist df0d3de
cvsdist df0d3de
* Mon Jul 31 2000 Jeff Johnson <jbj@redhat.com>
cvsdist df0d3de
- fix off-by-1 error when creating filename for use with -i.
6b93567
- include a copy of GNOME /etc/mime-types in %%{_datadir}/magic.mime (#14741).
cvsdist df0d3de
cvsdist df0d3de
* Sat Jul 22 2000 Jeff Johnson <jbj@redhat.com>
cvsdist df0d3de
- install magic as man5/magic.5 with other formats (#11172).
cvsdist df0d3de
cvsdist df0d3de
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist df0d3de
- automatic rebuild
cvsdist df0d3de
cvsdist df0d3de
* Wed Jun 14 2000 Jeff Johnson <jbj@redhat.com>
cvsdist df0d3de
- FHS packaging.
cvsdist df0d3de
cvsdist df0d3de
* Tue Apr 14 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist df0d3de
- 3.30
cvsdist df0d3de
cvsdist df0d3de
* Wed Feb 16 2000 Cristian Gafton <gafton@redhat.com>
cvsdist df0d3de
- add ia64 patch from rth
cvsdist df0d3de
cvsdist df0d3de
* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
cvsdist df0d3de
- handle compressed manpages
cvsdist df0d3de
- update to 3.28
cvsdist df0d3de
cvsdist df0d3de
* Mon Aug 23 1999 Jeff Johnson <jbj@redhat.com>
cvsdist df0d3de
- identify ELF stripped files correctly (#4665).
cvsdist df0d3de
- use SPARC (not sparc) consistently throughout (#4665).
cvsdist df0d3de
- add entries for MS Office files (#4665).
cvsdist df0d3de
cvsdist df0d3de
* Thu Aug 12 1999 Jeff Johnson <jbj@redhat.com>
cvsdist df0d3de
- diddle magic so that *.tfm files are identified correctly.
cvsdist df0d3de
cvsdist df0d3de
* Tue Jul  6 1999 Jeff Johnson <jbj@redhat.com>
cvsdist df0d3de
- update to 3.27.
cvsdist df0d3de
cvsdist df0d3de
* Mon Mar 22 1999 Preston Brown <pbrown@redhat.com>
cvsdist df0d3de
- experimental support for realmedia files added
cvsdist df0d3de
cvsdist df0d3de
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist df0d3de
- auto rebuild in the new build environment (release 5)
cvsdist df0d3de
cvsdist df0d3de
* Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
cvsdist df0d3de
- strip binary.
cvsdist df0d3de
cvsdist df0d3de
* Fri Nov 27 1998 Jakub Jelinek <jj@ultra.linux.cz>
cvsdist df0d3de
- add SPARC V9 magic.
cvsdist df0d3de
cvsdist df0d3de
* Tue Nov 10 1998 Jeff Johnson <jbj@redhat.com>
cvsdist df0d3de
- update to 3.26.
cvsdist df0d3de
cvsdist df0d3de
* Mon Aug 24 1998 Jeff Johnson <jbj@redhat.com>
cvsdist df0d3de
- update to 3.25.
cvsdist df0d3de
- detect gimp XCF versions.
cvsdist df0d3de
cvsdist df0d3de
* Thu May 07 1998 Prospector System <bugs@redhat.com>
cvsdist df0d3de
- translations modified for de, fr, tr
cvsdist df0d3de
cvsdist df0d3de
* Wed Apr 08 1998 Erik Troan <ewt@redhat.com>
cvsdist df0d3de
- updated to 3.24
cvsdist df0d3de
- buildrooted
cvsdist df0d3de
cvsdist df0d3de
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
cvsdist df0d3de
- built against glibc
cvsdist df0d3de
cvsdist df0d3de
* Mon Mar 31 1997 Erik Troan <ewt@redhat.com>
cvsdist df0d3de
- Fixed problems caused by 64 bit time_t.
cvsdist df0d3de
cvsdist df0d3de
* Thu Mar 06 1997 Michael K. Johnson <johnsonm@redhat.com>
cvsdist df0d3de
- Improved recognition of Linux kernel images.