From df0d3de0a97b3b2b687f346373295f34f0fd2b3d Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 04:40:28 +0000 Subject: [PATCH] auto-import changelog data from file-3.30-7.src.rpm Mon Aug 14 2000 Preston Brown - Bill made the patch but didn't apply it. :) Mon Aug 14 2000 Bill Nottingham - 'ASCII text', not 'ASCII test' (#16168) Mon Jul 31 2000 Jeff Johnson - fix off-by-1 error when creating filename for use with -i. - include a copy of GNOME /etc/mime-types in /usr/share/magic.mime (#14741). Sat Jul 22 2000 Jeff Johnson - install magic as man5/magic.5 with other formats (#11172). Wed Jul 12 2000 Prospector - automatic rebuild Wed Jun 14 2000 Jeff Johnson - FHS packaging. Fri Apr 14 2000 Bernhard Rosenkraenzer - 3.30 Wed Feb 16 2000 Cristian Gafton - add ia64 patch from rth Mon Feb 07 2000 Bill Nottingham - handle compressed manpages - update to 3.28 Mon Aug 23 1999 Jeff Johnson - identify ELF stripped files correctly (#4665). - use SPARC (not sparc) consistently throughout (#4665). - add entries for MS Office files (#4665). Thu Aug 12 1999 Jeff Johnson - diddle magic so that *.tfm files are identified correctly. Tue Jul 06 1999 Jeff Johnson - update to 3.27. Mon Mar 22 1999 Preston Brown - experimental support for realmedia files added Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 5) Fri Mar 19 1999 Jeff Johnson - strip binary. Fri Nov 27 1998 Jakub Jelinek - add SPARC V9 magic. Tue Nov 10 1998 Jeff Johnson - update to 3.26. Mon Aug 24 1998 Jeff Johnson - update to 3.25. - detect gimp XCF versions. Thu May 07 1998 Prospector System - translations modified for de, fr, tr Wed Apr 08 1998 Erik Troan - updated to 3.24 - buildrooted Mon Jun 02 1997 Erik Troan - built against glibc Mon Mar 31 1997 Erik Troan - Fixed problems caused by 64 bit time_t. Thu Mar 06 1997 Michael K. Johnson - Improved recognition of Linux kernel images. --- .cvsignore | 1 + file.spec | 137 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 139 insertions(+) create mode 100644 file.spec diff --git a/.cvsignore b/.cvsignore index e69de29..431e094 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +file-3.30.tar.gz diff --git a/file.spec b/file.spec new file mode 100644 index 0000000..98fe8f0 --- /dev/null +++ b/file.spec @@ -0,0 +1,137 @@ +Summary: A utility for determining file types. +Name: file +Version: 3.30 +Release: 7 +Copyright: distributable +Group: Applications/File +Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz +Source1: magic.mime +Patch0: file-3.27-rh.patch +Patch1: file-3.28-ia64.patch +Patch2: file-3.30-magic5.patch +Patch3: file-3.30-fnovfl.patch +Patch4: file-3.30-test.patch +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-root + +%description +The file command is used to identify a particular file according to the +type of data contained by the file. File can identify many different +file types, including ELF binaries, system libraries, RPM packages, and +different graphics formats. + +You should install the file package, since the file command is such a +useful utility. + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 -b .magic5 +%patch3 -p1 -b .fnovfl +%patch4 -p1 -b .test + +%build + +automake +%configure +make + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p ${RPM_BUILD_ROOT}%{_bindir} +mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 +mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man5 +mkdir -p ${RPM_BUILD_ROOT}%{_datadir} + +%makeinstall + +{ cd $RPM_BUILD_ROOT + strip .%{_bindir}/file + cp %SOURCE1 .%{_datadir}/magic.mime +} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%{_bindir}/* +%{_datadir}/magic* +%{_mandir}/man*/* + +%changelog +* Mon Aug 14 2000 Preston Brown +- Bill made the patch but didn't apply it. :) + +* Mon Aug 14 2000 Bill Nottingham +- 'ASCII text', not 'ASCII test' (#16168) + +* Mon Jul 31 2000 Jeff Johnson +- fix off-by-1 error when creating filename for use with -i. +- include a copy of GNOME /etc/mime-types in %{_datadir}/magic.mime (#14741). + +* Sat Jul 22 2000 Jeff Johnson +- install magic as man5/magic.5 with other formats (#11172). + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Wed Jun 14 2000 Jeff Johnson +- FHS packaging. + +* Tue Apr 14 2000 Bernhard Rosenkraenzer +- 3.30 + +* Wed Feb 16 2000 Cristian Gafton +- add ia64 patch from rth + +* Mon Feb 7 2000 Bill Nottingham +- handle compressed manpages +- update to 3.28 + +* Mon Aug 23 1999 Jeff Johnson +- identify ELF stripped files correctly (#4665). +- use SPARC (not sparc) consistently throughout (#4665). +- add entries for MS Office files (#4665). + +* Thu Aug 12 1999 Jeff Johnson +- diddle magic so that *.tfm files are identified correctly. + +* Tue Jul 6 1999 Jeff Johnson +- update to 3.27. + +* Mon Mar 22 1999 Preston Brown +- experimental support for realmedia files added + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 5) + +* Fri Mar 19 1999 Jeff Johnson +- strip binary. + +* Fri Nov 27 1998 Jakub Jelinek +- add SPARC V9 magic. + +* Tue Nov 10 1998 Jeff Johnson +- update to 3.26. + +* Mon Aug 24 1998 Jeff Johnson +- update to 3.25. +- detect gimp XCF versions. + +* Thu May 07 1998 Prospector System +- translations modified for de, fr, tr + +* Wed Apr 08 1998 Erik Troan +- updated to 3.24 +- buildrooted + +* Mon Jun 02 1997 Erik Troan +- built against glibc + +* Mon Mar 31 1997 Erik Troan +- Fixed problems caused by 64 bit time_t. + +* Thu Mar 06 1997 Michael K. Johnson +- Improved recognition of Linux kernel images. diff --git a/sources b/sources index e69de29..8dd00d2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fe2c25b8709072beb12555473688cbdf file-3.30.tar.gz