[perl-MouseX-SimpleConfig] Initial import (perl-MouseX-SimpleConfig-0.11-2)

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

 



commit 2da729035060f5a17b13ca6d82af19fddad87819
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Fri Apr 25 14:04:57 2014 +0100

    Initial import (perl-MouseX-SimpleConfig-0.11-2)
    
    This role loads simple configfiles to set object attributes. It is based on the
    abstract role MouseX::ConfigFromFile, and uses Config::Any to load your
    configfile. Config::Any will in turn support any of a variety of different
    config formats, detected by the file extension. See Config::Any for more
    details about supported formats.
    
    Like all MouseX::ConfigFromFile-derived configfile loaders, this module is
    automatically supported by the MouseX::Getopt role as well, which allows
    specifying -configfile on the commandline.

 .gitignore                    |    1 +
 perl-MouseX-SimpleConfig.spec |   99 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 3 files changed, 101 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..56b11e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MouseX-SimpleConfig-[0-9.]*.tar.gz
diff --git a/perl-MouseX-SimpleConfig.spec b/perl-MouseX-SimpleConfig.spec
new file mode 100644
index 0000000..829ca76
--- /dev/null
+++ b/perl-MouseX-SimpleConfig.spec
@@ -0,0 +1,99 @@
+# noarch, but to avoid debug* files interfering with manifest test:
+%global debug_package %{nil}
+
+Name:		perl-MouseX-SimpleConfig
+Summary:	A Mouse role for setting attributes from a simple configfile
+Version:	0.11
+Release:	2%{?dist}
+License:	GPL+ or Artistic
+URL:		http://search.cpan.org/dist/MouseX-SimpleConfig/
+Source0:	http://search.cpan.org/CPAN/authors/id/M/MJ/MJGARDNER/MouseX-SimpleConfig-%{version}.tar.gz
+BuildArch:	noarch
+# Module Build
+BuildRequires:	perl
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.31
+# Module Runtime
+BuildRequires:	perl(Carp)
+BuildRequires:	perl(Config::Any) >= 0.13
+BuildRequires:	perl(English)
+BuildRequires:	perl(Mouse) >= 0.35
+BuildRequires:	perl(Mouse::Role)
+BuildRequires:	perl(MouseX::ConfigFromFile) >= 0.02
+BuildRequires:	perl(strict)
+BuildRequires:	perl(warnings)
+# Test Suite
+BuildRequires:	perl(File::Find)
+BuildRequires:	perl(File::Temp)
+BuildRequires:	perl(lib)
+BuildRequires:	perl(Path::Class::File)
+BuildRequires:	perl(Test::More) >= 0.88
+# Optional Tests
+BuildRequires:	perl(Config::General)
+BuildRequires:	perl(Test::Script)
+BuildRequires:	perl(YAML::Syck)
+# Author Tests (not used as code is not tidy enough)
+#BuildRequires:	perl(Perl::Critic::Policy::Lax::RequireExplicitPackage::ExceptForPragmata)
+#BuildRequires:	perl(Perl::Critic::Policy::Subroutines::ProhibitCallsToUndeclaredSubs)
+#BuildRequires:	perl(Test::Perl::Critic)
+# Release Tests
+BuildRequires:	perl(Pod::Coverage::TrustPod)
+BuildRequires:	perl(Test::CheckChanges)
+BuildRequires:	perl(Test::CPAN::Meta)
+BuildRequires:	perl(Test::DistManifest)
+BuildRequires:	perl(Test::EOL)
+BuildRequires:	perl(Test::HasVersion)
+BuildRequires:	perl(Test::Kwalitee)
+BuildRequires:	perl(Test::MinimumVersion)
+BuildRequires:	perl(Test::NoTabs)
+BuildRequires:	perl(Test::Pod) >= 1.41
+BuildRequires:	perl(Test::Pod::Coverage) >= 1.08
+BuildRequires:	perl(Test::Portability::Files)
+BuildRequires:	perl(Test::Vars)
+# Not in EPEL yet
+%if 0%{?fedora}
+BuildRequires:	perl(Test::ConsistentVersion)
+%endif
+# Runtime
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+This role loads simple configfiles to set object attributes. It is based on the
+abstract role MouseX::ConfigFromFile, and uses Config::Any to load your
+configfile. Config::Any will in turn support any of a variety of different
+config formats, detected by the file extension. See Config::Any for more
+details about supported formats.
+
+Like all MouseX::ConfigFromFile-derived configfile loaders, this module is
+automatically supported by the MouseX::Getopt role as well, which allows
+specifying -configfile on the commandline.
+
+%prep
+%setup -q -n MouseX-SimpleConfig-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+%{_fixperms} %{buildroot}
+
+%check
+make test RELEASE_TESTING=1
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorlib}/MouseX/
+%{_mandir}/man3/MouseX::SimpleConfig.3*
+
+%changelog
+* Fri Apr 25 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 0.11-2
+- Incorporate fixes from package review (#1088950)
+  - Add perl(File::Find) and perl(Test::Script) test dependencies
+  - Drop perl(Test::Pod::Content) as it should be pulled in via
+    perl(Test::ConsistentVersion) (#1091285)
+  - No need to clean buildroot in %%install
+
+* Thu Apr 17 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 0.11-1
+- Initial RPM version
diff --git a/sources b/sources
index e69de29..c95ae2e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4329bd0350d781baa59271b3f6699984  MouseX-SimpleConfig-0.11.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