0.17 bump
This commit is contained in:
parent
0e48551a98
commit
7621959515
|
@ -1,2 +1,3 @@
|
|||
File-MimeInfo-0.15.tar.gz
|
||||
/File-MimeInfo-0.16.tar.gz
|
||||
/File-MimeInfo-0.17.tar.gz
|
||||
|
|
|
@ -1,22 +1,40 @@
|
|||
Name: perl-File-MimeInfo
|
||||
Version: 0.16
|
||||
Release: 5%{?dist}
|
||||
Version: 0.17
|
||||
Release: 1%{?dist}
|
||||
Summary: Determine file type and open application
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/File-MimeInfo/
|
||||
Source0: http://www.cpan.org/authors/id/P/PA/PARDUS/File-MimeInfo/File-MimeInfo-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/M/MI/MICHIELB/File-MimeInfo-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Module::Build) perl(Test::More) perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
BuildRequires: perl(File::BaseDir) perl(File::DesktopEntry)
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Module::Build)
|
||||
# Run-time:
|
||||
BuildRequires: perl(bytes)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(Fcntl)
|
||||
BuildRequires: perl(File::BaseDir) >= 0.03
|
||||
BuildRequires: perl(File::DesktopEntry) >= 0.04
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(strict)
|
||||
# Tests:
|
||||
BuildRequires: perl(Test::More)
|
||||
# Optional tests:
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
||||
# needed for some tests otherwise there are warnings
|
||||
BuildRequires: shared-mime-info
|
||||
# there is also a mimeinfo.cache file created by desktop-file-utils
|
||||
# needed. It won't be there if building in a chroot, even if
|
||||
# desktop-file-utils is installed if desktop-file-utils was never run.
|
||||
Requires: shared-mime-info
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(File::BaseDir) >= 0.03
|
||||
Requires: perl(File::DesktopEntry) >= 0.04
|
||||
|
||||
# Filter under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((File::BaseDir|File::DesktopEntry)\\)$
|
||||
|
||||
%description
|
||||
This module can be used to determine the mime type of a file. It tries to
|
||||
|
@ -26,19 +44,15 @@ implement the freedesktop specification for a shared MIME database.
|
|||
%setup -q -n File-MimeInfo-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
perl Build.PL installdirs=vendor
|
||||
./Build
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
./Build test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
|
@ -49,6 +63,9 @@ make test
|
|||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 0.17-1
|
||||
- 0.17 bump
|
||||
|
||||
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 0.16-5
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue