initial import
This commit is contained in:
parent
7707fc1766
commit
d2d9771de8
@ -0,0 +1 @@
|
|||||||
|
Module-Install-GithubMeta-0.10.tar.gz
|
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
perl-Module-Install-GithubMeta-0_10-1_fc11:HEAD:perl-Module-Install-GithubMeta-0.10-1.fc11.src.rpm:1253156810
|
72
perl-Module-Install-GithubMeta.spec
Normal file
72
perl-Module-Install-GithubMeta.spec
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
Name: perl-Module-Install-GithubMeta
|
||||||
|
Version: 0.10
|
||||||
|
Release: 1%{?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
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: perl(Capture::Tiny) >= 0.05
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
||||||
|
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
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
make pure_install PERL_INSTALL_ROOT=%{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
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc Changes LICENSE README
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* 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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user