File perl-File-MMagic.spec of Package perl-File-MMagic
#
# spec file for package perl-File-MMagic (Version 1.27)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-File-MMagic
License: Artistic License
Group: Development/Libraries/Perl
#Obsoletes:
#Provides:
Requires: perl = %{perl_version}
AutoReqProv: on
Summary: Perl modules to guess file types
Version: 1.27
Release: 103
Source: http://search.cpan.org/CPAN/authors/id/K/KN/KNOK/File-MMagic-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Perl modules to guess file types
Authors:
--------
Nokubi Takatsugu <knok@daionet.gr.jp>
%prep
%setup -n File-MMagic-%{version}
%build
perl Makefile.PL
make
make test
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%files
%defattr(-,root,root)
%{perl_vendorlib}/File
%{perl_vendorarch}/auto/File
%{_mandir}/man?/*
%doc ChangeLog README.en README.ja
/var/adm/perl-modules/perl-File-MMagic
%changelog
* Tue Dec 19 2006 mfabian@suse.de
- update to 1.27 (required by namazu 2.0.16).
• MMagic.pm (checktype_data): performance improve.
http://www.namazu.org/trac-namazu/trac.cgi/ticket/8
• MMagic.pm (magicMatchStr): Fixed time waste problem.
• MMagic.pm (__DATA__): Perfomance tuning for mknmz.
http://www.namazu.org/pipermail/namazu-devel-ja/2005-December/000793.html
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jul 28 2004 ro@suse.de
- update to 1.22
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Thu Jul 24 2003 schwab@suse.de
- Use install_vendor.
* Tue Jun 17 2003 ro@suse.de
- update to 1.17
- added directory to filelist
* Mon May 19 2003 ro@suse.de
- remove perllocal.pod
* Tue May 13 2003 ro@suse.de
- use defattr
* Mon Oct 28 2002 ro@suse.de
- update to 1.16
(added ms-tnef,text/x-roff)
- bzip source
* Thu Aug 08 2002 mls@suse.de
- use sitearch macro
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Wed Aug 15 2001 bjacke@suse.de
- update to 1.12
* Tue Dec 12 2000 ro@suse.de
- perllocal.pod may never be in file-list
* Mon Dec 11 2000 ro@suse.de
- fixed filelist
* Thu Dec 07 2000 bjacke@suse.de
- initial build of version 1.09