Name: perl-File-MMagic Version: 1.27 Release: 9%{?dist} Summary: A Perl module emulating the file(1) command Group: Development/Libraries License: ASL 1.0 and BSD URL: http://search.cpan.org/dist/File-MMagic/ Source0: http://www.cpan.org/authors/id/K/KN/KNOK/File-MMagic-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module attempts to guess file type from its contents like file(1) command. %prep %setup -q -n File-MMagic-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ChangeLog COPYING README.en %{perl_vendorlib}/File/ %{_mandir}/man3/*.3* %changelog * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.27-9 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.27-8 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Feb 2 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.27-5 - rebuild for new perl * Fri Oct 26 2007 Robin Norwood <rnorwood@redhat.com> - 1.27-4 - Remove BR: perl for package review - Resolves: bz#226257 * Wed Aug 29 2007 Robin Norwood <rnorwood@redhat.com> - 1.27-3 - Update license tag - Add BuildRequires: perl(ExtUtils::MakeMaker) * Fri Jul 20 2007 Robin Norwood <rnorwood@redhat.com> - 1.27-2.fc8 - Add fixes from EPEL branch - Fix minor specfile issues * Mon Jun 05 2006 Jason Vas Dias <jvdias@redhat.com> - 1.27-1 - Upgrade to 1.27 * Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 1.26-1 - Upgrade to 1.26 - rebuild for new perl-5.8.8 * Tue Jan 10 2006 Jason Vas Dias <jvdias@redhat.com> - 1.25-1 - fix bug 176717: upgrade to 1.25 * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> - rebuilt for new gcc * Sat Apr 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.22-1 - Update to 1.22 - Spec cleanup (#153204) * Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 1.21-2 - rebuild * Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 1.21-1 - move to 1.21 * Tue Dec 10 2002 Chip Turner <cturner@redhat.com> - update to latest version from CPAN * Tue Aug 6 2002 Chip Turner <cturner@redhat.com> - automated release bump and build * Tue Aug 6 2002 Chip Turner <cturner@localhost.localdomain> - update to 1.15 * Fri Dec 7 2001 root <root@redhat.com> - Spec file was autogenerated.