[perl-Data-Types/f14/master] Initial import (#670997).

ksyz ksyz at fedoraproject.org
Sat Jan 29 11:02:14 UTC 2011


commit f592ff3faaae803b9807b152997eea124fc2b6f3
Author: Michal Ingeli <mi at v3.sk>
Date:   Sat Jan 29 11:57:11 2011 +0100

    Initial import (#670997).

 .gitignore           |    1 +
 perl-Data-Types.spec |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f91b077 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Data-Types-0.08.tar.gz
diff --git a/perl-Data-Types.spec b/perl-Data-Types.spec
new file mode 100644
index 0000000..d3ed640
--- /dev/null
+++ b/perl-Data-Types.spec
@@ -0,0 +1,54 @@
+Name:           perl-Data-Types
+Version:        0.08
+Release:        2%{?dist}
+Summary:        Validate and convert data types
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Data-Types/
+Source0:        http://www.cpan.org/authors/id/D/DW/DWHEELER/Data-Types-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Test::More) >= 0.17
+BuildRequires:  perl(Test::Pod) >= 1.20
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module exports a number of functions that are useful for validating
+and converting data types. It is intended for use in applications where
+data types are more important than they typically are in Perl -- e.g.,
+database applications.
+
+%prep
+%setup -q -n Data-Types-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Jan 20 2011 Michal Ingeli <mi at v3.sk> 0.08-2
+- Removed Test::Pod require
+
+* Wed Jan 19 2011 Michal Ingeli <mi at v3.sk> 0.08-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..d7032d6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bc11a94c234ad9592094b4f6770aa787  Data-Types-0.08.tar.gz


More information about the scm-commits mailing list