psabata pushed to perl-Dist-Zilla-Plugin-GithubMeta (master). "Initial commit (#1221904)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon May 25 08:14:57 UTC 2015
From a7b91e080ccd40836747d25cdb0134e21c0f01f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Mon, 25 May 2015 10:14:49 +0200
Subject: Initial commit (#1221904)
diff --git a/.gitignore b/.gitignore
index e69de29..9ee2ee6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Dist-Zilla-Plugin-GithubMeta-0.50.tar.gz
diff --git a/perl-Dist-Zilla-Plugin-GithubMeta.spec b/perl-Dist-Zilla-Plugin-GithubMeta.spec
new file mode 100644
index 0000000..e8eb13c
--- /dev/null
+++ b/perl-Dist-Zilla-Plugin-GithubMeta.spec
@@ -0,0 +1,62 @@
+Name: perl-Dist-Zilla-Plugin-GithubMeta
+Version: 0.50
+Release: 1%{?dist}
+Summary: Automatically include GitHub meta information in META.yml
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/Dist-Zilla-Plugin-GithubMeta/
+Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Dist-Zilla-Plugin-GithubMeta-%{version}.tar.gz
+BuildArch: noarch
+# Build
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Runtime
+BuildRequires: perl(Cwd)
+BuildRequires: perl(Dist::Zilla::Role::MetaProvider)
+BuildRequires: perl(IPC::Cmd)
+BuildRequires: perl(Moose)
+BuildRequires: perl(MooseX::Types::URI)
+BuildRequires: perl(namespace::autoclean)
+BuildRequires: perl(Try::Tiny)
+BuildRequires: perl(version)
+# Tests only
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(IO::Handle)
+BuildRequires: perl(IPC::Open3)
+BuildRequires: perl(lib)
+BuildRequires: perl(Test::Deep)
+BuildRequires: perl(Test::DZil)
+BuildRequires: perl(Test::More)
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+
+%description
+Dist::Zilla::Plugin::GithubMeta is a Dist::Zilla plugin to include
+GitHub 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 and will set the repository and homepage
+meta in META.yml to the appropriate URLs for GitHub.
+
+%prep
+%setup -q -n Dist-Zilla-Plugin-GithubMeta-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%license LICENSE
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri May 15 2015 Petr Ĺ abata <contyk at redhat.com> 0.50-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..21c00b5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b93140bbdc4b80bab54712c2be5a25b6 Dist-Zilla-Plugin-GithubMeta-0.50.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Dist-Zilla-Plugin-GithubMeta.git/commit/?h=master&id=a7b91e080ccd40836747d25cdb0134e21c0f01f4
More information about the perl-devel
mailing list