[perl-Struct-Dumb/f20] Initial import. (#1154405)

Emmanuel Seyman eseyman at fedoraproject.org
Tue Oct 28 12:45:01 UTC 2014


commit eab7bcf44105b2c9b4af5ee1c78cd82f0daa39a1
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Tue Oct 28 13:45:03 2014 +0100

    Initial import. (#1154405)

 .gitignore            |    1 +
 perl-Struct-Dumb.spec |   56 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2337434 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Struct-Dumb-0.03.tar.gz
diff --git a/perl-Struct-Dumb.spec b/perl-Struct-Dumb.spec
new file mode 100644
index 0000000..7743a67
--- /dev/null
+++ b/perl-Struct-Dumb.spec
@@ -0,0 +1,56 @@
+Name:           perl-Struct-Dumb
+Version:        0.03
+Release:        2%{?dist}
+Summary:        Make simple lightweight record-like structures
+License:        GPL+ or Artistic
+
+URL:            http://search.cpan.org/dist/Struct-Dumb/
+Source0:        http://www.cpan.org/authors/id/P/PE/PEVANS/Struct-Dumb-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::Fatal)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+Struct::Dumb creates record-like structure types, similar to the struct
+keyword in C, C++ or C#, or Record in Pascal. An invocation of this module
+will create a construction function which returns new object references
+with the given field values. These references all respond to lvalue methods
+that access or modify the values stored.
+
+%prep
+%setup -q -n Struct-Dumb-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc Changes README
+%license LICENSE
+%{perl_vendorlib}/Struct
+%{_mandir}/man3/Struct*
+
+
+%changelog
+* Mon Oct 20 2014 Emmanuel Seyman <emmanuel at seyman.fr> - 0.03-2
+- Take into account review feedback (#1154405)
+
+* Sun Oct 19 2014 Emmanuel Seyman <emmanuel at seyman.fr> 0.03-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..80f784e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7b528d9ccd73545c76416d326230dc4e  Struct-Dumb-0.03.tar.gz


More information about the scm-commits mailing list