diff --git a/.cvsignore b/.cvsignore index e69de29..0063392 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Net-GitHub-0.19.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..76c8a19 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Net-GitHub-0_19-2_fc11:HEAD:perl-Net-GitHub-0.19-2.fc11.src.rpm:1257300013 diff --git a/perl-Net-GitHub.spec b/perl-Net-GitHub.spec new file mode 100644 index 0000000..b539827 --- /dev/null +++ b/perl-Net-GitHub.spec @@ -0,0 +1,72 @@ +Name: perl-Net-GitHub +Version: 0.19 +Release: 2%{?dist} +# lib/Net/GitHub.pm -> GPL+ or Artistic +License: GPL+ or Artistic +Group: Development/Libraries +Summary: Perl interface for github.com +Source: http://search.cpan.org/CPAN/authors/id/F/FA/FAYLAND/Net-GitHub-%{version}.tar.gz +Url: http://search.cpan.org/dist/Net-GitHub +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildArch: noarch + +BuildRequires: perl(Any::Moose) +BuildRequires: perl(Crypt::SSLeay) +BuildRequires: perl(CPAN) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 +BuildRequires: perl(File::Slurp) +BuildRequires: perl(HTML::TreeBuilder) +BuildRequires: perl(JSON::Any) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::MockModule) +BuildRequires: perl(Test::More) +BuildRequires: perl(URI::Escape) +BuildRequires: perl(WWW::Mechanize::GZip) + +%{?perl_default_filter} + +%description +GitHub (http://github.com) is a popular git host; this package is a Perl API +for working with GitHub users and repositories. + +%prep +%setup -q -n Net-GitHub-%{version} + +%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 README +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + +%changelog +* Tue Oct 13 2009 Chris Weyl 0.19-2 +- add br on CPAN (M::I) + +* Sat Sep 26 2009 Chris Weyl 0.19-1 +- update filtering +- submission + +* Sat Sep 26 2009 Chris Weyl 0.19-0 +- initial RPM packaging +- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) + diff --git a/sources b/sources index e69de29..059f917 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e1d1443189ecd59b5f43e30f3754b0ea Net-GitHub-0.19.tar.gz