From d2d9771de8da2ac1e625beb616231a68267f0571 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Thu, 17 Sep 2009 03:06:56 +0000 Subject: [PATCH] initial import --- .cvsignore | 1 + import.log | 1 + perl-Module-Install-GithubMeta.spec | 72 +++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 75 insertions(+) create mode 100644 import.log create mode 100644 perl-Module-Install-GithubMeta.spec diff --git a/.cvsignore b/.cvsignore index e69de29..9981f9c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Module-Install-GithubMeta-0.10.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..eeb232e --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Module-Install-GithubMeta-0_10-1_fc11:HEAD:perl-Module-Install-GithubMeta-0.10-1.fc11.src.rpm:1253156810 diff --git a/perl-Module-Install-GithubMeta.spec b/perl-Module-Install-GithubMeta.spec new file mode 100644 index 0000000..4c91fe1 --- /dev/null +++ b/perl-Module-Install-GithubMeta.spec @@ -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 0.10-1 +- submission + +* Fri Sep 11 2009 Chris Weyl 0.10-0 +- initial RPM packaging +- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) + diff --git a/sources b/sources index e69de29..6021343 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bb0aba4ae24c2ee526c7bf8e2b318620 Module-Install-GithubMeta-0.10.tar.gz