[perl-ExtUtils-InstallPaths] Initial import (perl-ExtUtils-InstallPaths-0.009-2)

Paul Howarth pghmcfc at fedoraproject.org
Tue Apr 16 16:42:16 UTC 2013


commit 0669c1cc5e5bffc7d0300390023a4ee181a6551d
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Apr 16 16:49:39 2013 +0100

    Initial import (perl-ExtUtils-InstallPaths-0.009-2)
    
    This module tries to make install path resolution as easy as possible.
    
    When you want to install a module, it needs to figure out where to install
    things. The nutshell version of how this works is that default installation
    locations are determined from ExtUtils::Config, and they may be individually
    overridden by using the install_path attribute. An install_base attribute lets
    you specify an alternative installation root like /home/foo and prefix does
    something similar in a rather different (and more complicated) way. destdir
    lets you specify a temporary installation directory like /tmp/install in case
    you want to create bundled-up installable packages.

 .gitignore                      |    1 +
 perl-ExtUtils-InstallPaths.spec |   71 +++++++++++++++++++++++++++++++++++++++
 sources                         |    1 +
 3 files changed, 73 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..88c1c10 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ExtUtils-InstallPaths-[0-9.]*.tar.gz
diff --git a/perl-ExtUtils-InstallPaths.spec b/perl-ExtUtils-InstallPaths.spec
new file mode 100644
index 0000000..87c298f
--- /dev/null
+++ b/perl-ExtUtils-InstallPaths.spec
@@ -0,0 +1,71 @@
+Name:		perl-ExtUtils-InstallPaths
+Version:	0.009
+Release:	2%{?dist}
+Summary:	Build.PL install path logic made easy
+Group:		Development/Libraries
+License:	GPL+ or Artistic
+URL:		https://metacpan.org/release/ExtUtils-InstallPaths
+Source0:	http://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-%{version}.tar.gz
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+BuildArch:	noarch
+# Build
+BuildRequires:	perl(ExtUtils::MakeMaker)
+# Module
+BuildRequires:	perl(Carp)
+BuildRequires:	perl(ExtUtils::Config)
+BuildRequires:	perl(File::Spec)
+# Test Suite
+BuildRequires:	perl(Config)
+BuildRequires:	perl(File::Find)
+BuildRequires:	perl(File::Spec::Functions)
+BuildRequires:	perl(File::Temp)
+BuildRequires:	perl(Test::More)
+# Release Tests
+BuildRequires:	perl(Pod::Coverage::TrustPod)
+BuildRequires:	perl(Test::Pod)
+BuildRequires:	perl(Test::Pod::Coverage)
+# Runtime
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+This module tries to make install path resolution as easy as possible.
+
+When you want to install a module, it needs to figure out where to install
+things. The nutshell version of how this works is that default installation
+locations are determined from ExtUtils::Config, and they may be individually
+overridden by using the install_path attribute. An install_base attribute lets
+you specify an alternative installation root like /home/foo and prefix does
+something similar in a rather different (and more complicated) way. destdir
+lets you specify a temporary installation directory like /tmp/install in case
+you want to create bundled-up installable packages.
+
+%prep
+%setup -q -n ExtUtils-InstallPaths-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+%{_fixperms} %{buildroot}
+
+%check
+make test RELEASE_TESTING=1
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorlib}/ExtUtils/
+%{_mandir}/man3/ExtUtils::InstallPaths.3pm*
+
+%changelog
+* Mon Apr  1 2013 Paul Howarth <paul at city-fan.org> - 0.009-2
+- Sanitize for Fedora submission
+
+* Sun Mar 31 2013 Paul Howarth <paul at city-fan.org> - 0.009-1
+- Initial RPM version
diff --git a/sources b/sources
index e69de29..8444340 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6136200e7569dc6d225a074f04530f16  ExtUtils-InstallPaths-0.009.tar.gz


More information about the scm-commits mailing list