From a34d6ee5f47a295b33bc131b172012c3bdd6d6e8 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Sep 09 2013 15:44:13 +0000 Subject: Initial import (perl-Object-ID-0.1.2-2) This is a unique identifier for any object, regardless of its type, structure or contents. Its features are: * Works on ANY object of any type * Does not modify the object in any way * Does not change with the object's contents * Is O(1) to calculate (i.e. doesn't matter how big the object is) * The id is unique for the life of the process * The id is always a true value --- diff --git a/.gitignore b/.gitignore index e69de29..e94d86f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Object-ID-v[0-9.]*.tar.gz diff --git a/perl-Object-ID.spec b/perl-Object-ID.spec new file mode 100644 index 0000000..85f6fc0 --- /dev/null +++ b/perl-Object-ID.spec @@ -0,0 +1,66 @@ +Name: perl-Object-ID +Version: 0.1.2 +Release: 2%{?dist} +Summary: A unique identifier for any object +License: GPL+ or Artistic +Group: Development/Libraries +URL: https://metacpan.org/release/Object-ID +Source0: http://cpan.metacpan.org/authors/id/M/MS/MSCHWERN/Object-ID-v%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Carp) +BuildRequires: perl(Data::UUID) >= 1.148 +BuildRequires: perl(Hash::FieldHash) >= 0.10 +BuildRequires: perl(lib) +BuildRequires: perl(Module::Build) +BuildRequires: perl(namespace::autoclean) +BuildRequires: perl(strict) +BuildRequires: perl(Sub::Name) >= 0.03 +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(threads) +BuildRequires: perl(version) >= 0.77 +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Data::UUID) >= 1.148 + +# Don't provide perl(UNIVERSAL) +%{?perl_default_filter} + +%description +This is a unique identifier for any object, regardless of its type, structure +or contents. Its features are: + + * Works on ANY object of any type + * Does not modify the object in any way + * Does not change with the object's contents + * Is O(1) to calculate (i.e. doesn't matter how big the object is) + * The id is unique for the life of the process + * The id is always a true value + +%prep +%setup -q -n Object-ID-v%{version} + +%build +perl Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 +%{_fixperms} %{buildroot} + +%check +./Build test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/Object/ +%{perl_vendorlib}/UNIVERSAL/ +%{_mandir}/man3/Object::ID.3pm* +%{_mandir}/man3/Object::ID::ConfigData.3pm* +%{_mandir}/man3/UNIVERSAL::Object::ID.3pm* + +%changelog +* Sun Aug 18 2013 Paul Howarth - 0.1.2-2 +- Sanitize for Fedora submission + +* Thu Aug 15 2013 Paul Howarth - 0.1.2-1 +- Initial RPM version diff --git a/sources b/sources index e69de29..70b3a3b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +11bbd7d6def704e85d8875f33b2e7f66 Object-ID-v0.1.2.tar.gz