[perl-Scalar-Construct] Import

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

 



commit 580f2df62d3fdad577b94ce116506712b0c94f8e
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Tue Feb 7 15:40:17 2012 +0100

    Import

 .gitignore                 |    1 +
 perl-Scalar-Construct.spec |   55 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..41f2ec1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Scalar-Construct-0.000.tar.gz
diff --git a/perl-Scalar-Construct.spec b/perl-Scalar-Construct.spec
new file mode 100644
index 0000000..4878528
--- /dev/null
+++ b/perl-Scalar-Construct.spec
@@ -0,0 +1,55 @@
+Name:           perl-Scalar-Construct
+Version:        0.000
+Release:        1%{?dist}
+Summary:        Build custom kinds of scalar
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Scalar-Construct/
+Source0:        http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Scalar-Construct-%{version}.tar.gz
+BuildRequires:  perl(ExtUtils::CBuilder) >= 0.15
+BuildRequires:  perl(Module::Build)
+# Run-time
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(parent)
+BuildRequires:  perl(XSLoader)
+# Tests
+BuildRequires:  perl(Test::More)
+# Optional tests
+BuildRequires:  perl(Test::Pod) >= 1.00
+BuildRequires:  perl(Test::Pod::Coverage)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Exporter)
+
+%{?perl_default_filter}
+
+%description
+This module supplies functions to construct Perl scalar objects. While
+writable (variable) scalars can easily be constructed using the ordinary
+facilities of the Perl language, immutable (constant) scalars require a
+library such as this.
+
+%prep
+%setup -q -n Scalar-Construct-%{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_vendorarch}/auto/*
+%{perl_vendorarch}/Scalar*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Feb 07 2012 Petr Pisar <ppisar@xxxxxxxxxx> 0.000-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..ee2093d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bf2d442d2ad6a751fe453f07a67b5d89  Scalar-Construct-0.000.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