111 lines
3.5 KiB
RPMSpec
111 lines
3.5 KiB
RPMSpec
Name: perl-Module-Install-GithubMeta
|
|
Version: 0.22
|
|
Release: 2%{?dist}
|
|
# lib/Module/Install/GithubMeta.pm -> GPL+ or Artistic
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
Summary: A Module::Install extension to include GitHub meta information in META.yml
|
|
Source: http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Module-Install-GithubMeta-%{version}.tar.gz
|
|
Url: http://search.cpan.org/dist/Module-Install-GithubMeta
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(base)
|
|
BuildRequires: perl(Capture::Tiny) >= 0.05
|
|
BuildRequires: perl(Cwd)
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
BuildRequires: perl(File::Path)
|
|
BuildRequires: perl(Module::Install) >= 0.85
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
Requires: perl(Module::Install) >= 0.85
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%description
|
|
Module::Install::GithubMeta is a Module::Install extension
|
|
to include GitHub (http://github.com) meta information in
|
|
'META.yml'. It automatically detects if the distribution
|
|
directory is under 'git' version control and whether the
|
|
'origin' is a GitHub repository; if so, it will set the
|
|
'repository' and 'homepage' meta in 'META.yml' to the
|
|
appropriate URLs for GitHub.
|
|
|
|
|
|
%prep
|
|
%setup -q -n Module-Install-GithubMeta-%{version}
|
|
|
|
cat README | iconv -f `file --mime-encoding --brief README` -t UTF-8 > x
|
|
mv x README
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=%{buildroot}
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Changes LICENSE README
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%changelog
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Wed Jan 2 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.22-1
|
|
- 0.22 bump
|
|
|
|
* Mon Oct 22 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.18-1
|
|
- 0.18 bump
|
|
- Specify all dependencies.
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Fri Jun 22 2012 Petr Pisar <ppisar@redhat.com> - 0.16-2
|
|
- Perl 5.16 rebuild
|
|
|
|
* Fri Jan 27 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.16-1
|
|
- update to 0.16
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Sun Oct 16 2011 Iain Arnell <iarnell@gmail.com> 0.14-1
|
|
- update to latest upstream version
|
|
- clean up spec for modern rpmbuild
|
|
- use DESTDIR, not PERL_INSTALL_ROOT
|
|
|
|
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.10-6
|
|
- Perl mass rebuild
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.10-4
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.10-3
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.10-2
|
|
- rebuild against perl 5.10.1
|
|
|
|
* Fri Sep 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.10-1
|
|
- submission
|
|
|
|
* Fri Sep 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.10-0
|
|
- initial RPM packaging
|
|
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
|
|
|