[perl-DynaLoader-Functions] Import

Petr Pisar ppisar at fedoraproject.org
Thu Jul 21 07:50:39 UTC 2011


commit 2e451755c2c690d6511073bb60907fe53d5693cc
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Jul 21 09:49:29 2011 +0200

    Import

 .gitignore                     |    1 +
 perl-DynaLoader-Functions.spec |   58 ++++++++++++++++++++++++++++++++++++++++
 sources                        |    1 +
 3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a919f40 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/DynaLoader-Functions-0.000.tar.gz
diff --git a/perl-DynaLoader-Functions.spec b/perl-DynaLoader-Functions.spec
new file mode 100644
index 0000000..a0ee426
--- /dev/null
+++ b/perl-DynaLoader-Functions.spec
@@ -0,0 +1,58 @@
+# This file is licensed under the terms of GNU GPLv2+.
+Name:           perl-DynaLoader-Functions
+Version:        0.000
+Release:        1%{?dist}
+Summary:        Deconstructed dynamic C library loading
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/DynaLoader-Functions/
+Source0:        http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/DynaLoader-Functions-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(Module::Build)
+# Tests:
+BuildRequires:  perl(constant)
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Module::Runtime) >= 0.007
+BuildRequires:  perl(Params::Classify) >= 0.008
+BuildRequires:  perl(parent)
+BuildRequires:  perl(Test::More)
+# Optional tests:
+BuildRequires:  perl(ExtUtils::CBuilder)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Test::Pod) >= 1.00
+BuildRequires:  perl(Test::Pod::Coverage)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Exporter)
+
+%description
+This module provides a function-based interface to dynamic loading as used
+by Perl. Some details of dynamic loading are very platform-dependent, so
+correct use of these functions requires the programmer to be mindful of the
+space of platform variations.
+
+%prep
+%setup -q -n DynaLoader-Functions-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+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
+./Build test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Jul 11 2011 Petr Pisar <ppisar at redhat.com> 0.000-1
+- Specfile autogenerated by cpanspec 1.78.
+- Remove BuildRoot and defattr
diff --git a/sources b/sources
index e69de29..a9705c9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+040dbcc4c12bc74d827d25761cbf4ca1  DynaLoader-Functions-0.000.tar.gz


More information about the scm-commits mailing list