[perl-Data-Uniqid] Initial commit

Nick Bebout nb at fedoraproject.org
Tue May 21 23:26:13 UTC 2013


commit 1041d9a04b1cfee1a48da41a151d1a253f78c3b4
Author: Nick Bebout <nb at fedoraproject.org>
Date:   Tue May 21 18:26:04 2013 -0500

    Initial commit

 .gitignore            |    1 +
 perl-Data-Uniqid.spec |   53 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a7e0855 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Data-Uniqid-0.12.tar.gz
diff --git a/perl-Data-Uniqid.spec b/perl-Data-Uniqid.spec
new file mode 100644
index 0000000..e4696cc
--- /dev/null
+++ b/perl-Data-Uniqid.spec
@@ -0,0 +1,53 @@
+Name:           perl-Data-Uniqid
+Version:        0.12
+Release:        1%{?dist}
+Summary:        Perl extension for simple generating of unique id's
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Data-Uniqid/
+Source0:        http://www.cpan.org/modules/by-module/Data/Data-Uniqid-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Math::BigInt) perl(Sys::Hostname) perl(Time::HiRes)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Math::BigInt) perl(Sys::Hostname) perl(Time::HiRes)
+
+%description
+Data::Uniqid provides three simple routines for generating unique ids.
+These ids are coded with a Base62 system to make them short and handy (e.g.
+to use it as part of a URL).
+
+%prep
+%setup -q -n Data-Uniqid-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+%exclude %dir %{perl_vendorarch}/auto/
+
+%changelog
+* Mon May 20 2013 Nick Bebout <nb at fedoraproject.org> 0.12-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..2c77d04 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6bab3b5da09fedfdf60ce2629a7367db  Data-Uniqid-0.12.tar.gz


More information about the scm-commits mailing list