You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
2.4 KiB
81 lines
2.4 KiB
Name: perl-Module-Manifest
|
|
Version: 1.08
|
|
Release: 1%{?dist}
|
|
Summary: Parse and examine a Perl distribution MANIFEST file
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Module-Manifest/
|
|
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Module-Manifest-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildArch: noarch
|
|
BuildRequires: perl >= 0:5.005
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(Params::Util) >= 0.10
|
|
BuildRequires: perl(Test::Exception) >= 0.27
|
|
BuildRequires: perl(Test::More) >= 0.42
|
|
BuildRequires: perl(Test::Warn) >= 0.11
|
|
Requires: perl(File::Spec) >= 0.80
|
|
Requires: perl(Params::Util) >= 0.10
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%description
|
|
Module::Manifest is a simple utility module created originally for use in
|
|
Module::Inspector.
|
|
|
|
%prep
|
|
%setup -q -n Module-Manifest-%{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 -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
# Remove executable bit from %%doc files
|
|
%{__chmod} 0644 examples/*
|
|
|
|
|
|
%check
|
|
make test
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes LICENSE README examples
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Thu Sep 16 2010 Petr Pisar <ppisar@redhat.com> - 1.08-1
|
|
- 1.08 bump
|
|
|
|
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-2
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Tue Apr 20 2010 Petr Pisar <ppisar@redhat.com> - 0.07-1
|
|
- version bump
|
|
- new Test::Exception and Test::Warn BuildRequires
|
|
- explicit perl-File-Spec >= 0.80 run-time dependency version
|
|
- add examples
|
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.03-4
|
|
- rebuild against perl 5.10.1
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Wed Sep 24 2008 Marcela Mašláňová <mmaslano@redhat.com> 0.03-1
|
|
- Specfile autogenerated by cpanspec 1.77.
|