[perl-Config-Generator] Initial release
Alexandre Beche
abeche at fedoraproject.org
Wed Mar 19 16:54:44 UTC 2014
commit 969fcb7886a41398d943a1514b3ab46246273e23
Author: Alexandre Beche <abeche at localhost.localdomain>
Date: Wed Mar 19 17:54:30 2014 +0100
Initial release
.gitignore | 1 +
perl-Config-Generator.spec | 59 ++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d7012ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Config-Generator-0.5.tar.gz
diff --git a/perl-Config-Generator.spec b/perl-Config-Generator.spec
new file mode 100644
index 0000000..1f556b0
--- /dev/null
+++ b/perl-Config-Generator.spec
@@ -0,0 +1,59 @@
+Name: perl-Config-Generator
+Version: 0.5
+Release: 1%{?dist}
+Summary: Shared variables for the Config::Generator modules
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Config-Generator/
+Source0: http://www.cpan.org/authors/id/L/LC/LCONS/Config-Generator-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+BuildRequires: perl(Config::General)
+BuildRequires: perl(Config::Validator)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(JSON)
+BuildRequires: perl(No::Worries)
+BuildRequires: perl(Params::Validate)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(XML::Parser)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module contains all the global variables used by the
+Config::Generator modules.
+
+%prep
+%setup -q -n Config-Generator-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README VERSION
+%{perl_vendorlib}/*
+%{_bindir}/yacg
+%{_mandir}/man1/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Feb 20 2014 Alexandre Beche <alexandre.beche at gmail.com> 0.5-1
+- Specfile autogenerated by cpanspec 1.78.
+
diff --git a/sources b/sources
index e69de29..093bca0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+dd2e02f59a118bd5f02f377002c1dc3f Config-Generator-0.5.tar.gz
More information about the scm-commits
mailing list