commit 9cfbfa93306bb67b3997bb0ecfae8e59c4df7db5 Author: ultra_planet Date: Thu Nov 28 17:47:27 2019 +0800 package init diff --git a/Data-UUID-1.221.tar.gz b/Data-UUID-1.221.tar.gz new file mode 100644 index 0000000..b0e5351 Binary files /dev/null and b/Data-UUID-1.221.tar.gz differ diff --git a/perl-Data-UUID.spec b/perl-Data-UUID.spec new file mode 100644 index 0000000..d869db3 --- /dev/null +++ b/perl-Data-UUID.spec @@ -0,0 +1,57 @@ +Name: perl-Data-UUID +Version: 1.221 +Release: 13 +Summary: Perl extension for generating Globally/Universally Unique Identifiers (GUIDs/UUIDs) +License: BSD and MIT +URL: https://metacpan.org/release/Data-UUID +Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Data-UUID-%{version}.tar.gz + +BuildRequires: coreutils findutils gcc make perl-interpreter perl-devel perl-generators perl(Config) +BuildRequires: perl(ExtUtils::MakeMaker) perl(File::Spec) perl(Getopt::Long) perl(Pod::Usage) +BuildRequires: perl(warnings) perl(Carp) perl(Digest::MD5) perl(DynaLoader) perl(Exporter) perl(strict) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This module provides a framework for generating UUIDs (Universally Unique Identifiers, also known as +GUIDs (Globally Unique Identifiers). A UUID is 128 bits long, and is guaranteed to be different from +all other UUIDs/GUIDs generated until 3400 A.D. UUIDs were originally used in the Network Computing +System (NCS) and later in the Open Software Foundation's (OSF) Distributed Computing Environment. +Currently many different technologies rely on UUIDs to provide unique identity for various software +components, Microsoft COM/DCOM for instance, uses GUIDs very extensively to uniquely identify classes, +applications and components across network-connected systems. + +%package help +Summary: Help package for %{name} + +%description help +This package contains some man help files for %{name}. + +%prep +%autosetup -n Data-UUID-%{version} -p1 + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%make_build + +%install +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot} + +%check +make test AUTHOR_TESTING=1 +perl smp-test/collision.t + +%files +%doc Changes LICENSE README +%{perl_vendorarch}/auto/Data/ +%{perl_vendorarch}/Data/ +%exclude %{perl_vendorarch}/auto/Data/UUID/.packlist + +%files help +%{_mandir}/man3/Data::UUID.3* + +%changelog +* Tue Nov 19 2019 lingsheng - 1.221-13 +- Package init