[perl-Perl-Critic-Pulp] Import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 361f2380b9c5ce16b9518d012625682354f046a8
Author: Petr PÃsaÅ <ppisar@xxxxxxxxxx>
Date:   Tue Apr 5 18:33:05 2011 +0200

    Import

 .gitignore                 |    1 +
 perl-Perl-Critic-Pulp.spec |   83 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 85 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ba613d7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Perl-Critic-Pulp-46.tar.gz
diff --git a/perl-Perl-Critic-Pulp.spec b/perl-Perl-Critic-Pulp.spec
new file mode 100644
index 0000000..294aa2b
--- /dev/null
+++ b/perl-Perl-Critic-Pulp.spec
@@ -0,0 +1,83 @@
+Name:           perl-Perl-Critic-Pulp
+Version:        46
+Release:        1%{?dist}
+Summary:        Some add-on perlcritic policies
+License:        GPLv3+
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Perl-Critic-Pulp/
+Source0:        http://www.cpan.org/authors/id/K/KR/KRYDE/Perl-Critic-Pulp-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(IO::String) >= 1.02
+BuildRequires:  perl(List::MoreUtils) >= 0.24
+BuildRequires:  perl(List::Util)
+BuildRequires:  perl(Perl::Critic) >= 1.084
+BuildRequires:  perl(Perl::Critic::Policy) >= 1.084
+BuildRequires:  perl(Perl::Critic::Utils) >= 1.100
+BuildRequires:  perl(Perl::Critic::Utils::PPI)
+BuildRequires:  perl(Perl::Critic::Violation)
+BuildRequires:  perl(PPI) >= 1.208
+BuildRequires:  perl(PPI::Document)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(version)
+BuildRequires:  perl(Test::More)
+# Optional tests only:
+BuildRequires:  perl(Parse::CPAN::Meta)
+BuildRequires:  perl(Perl::MinimumVersion)
+BuildRequires:  perl(Test::DistManifest)
+BuildRequires:  perl(Test::Pod) >= 1.00
+BuildRequires:  perl(Test::Synopsis)
+BuildRequires:  perl(Test::YAML::Meta) >= 0.15
+BuildRequires:  perl(YAML)
+BuildRequires:  perl(YAML::Syck)
+BuildRequires:  perl(YAML::Tiny)
+BuildRequires:  perl(YAML::XS)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(IO::String) >= 1.02
+Requires:       perl(List::MoreUtils) >= 0.24
+Requires:       perl(Perl::Critic) >= 1.084
+Requires:       perl(PPI::Document)
+# This is plug-in into Test::More. Depend on it even if not mentioned in the
+# code.
+Requires:       perl(Test::More)
+
+# Filter underspecified dependencies
+%filter_from_requires /^perl(List::MoreUtils)$/d
+%filter_from_requires /^perl(Perl::Critic::Policy)$/d
+%filter_from_requires /^perl(Perl::Critic::Utils)$/d
+%filter_setup
+
+%description
+This is a collection of add-on policies for Perl::Critic.  They're under
+a "pulp" theme plus other themes according to their purpose (see "POLICY
+THEMES" in Perl::Critic).
+
+%prep
+%setup -q -n Perl-Critic-Pulp-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=perl OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes COPYING README
+%{perl_privlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Jan 25 2011 Petr Pisar <ppisar@xxxxxxxxxx> 46-1
+- Specfile autogenerated by cpanspec 1.78.
+- Remove BuidRoot stuff
+- Install into perl core direcotory
+- Make the package no-architecture depndend (the XS compilation is test-time)
diff --git a/sources b/sources
index e69de29..5df78d7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e62662eb64c6d43a364a66bac7461170  Perl-Critic-Pulp-46.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux