Blame SPECS/perl-Data-UUID.spec

a7a9aa
Name:		perl-Data-UUID
a7a9aa
Version:	1.221
a7a9aa
Release:	10%{?dist}
a7a9aa
Summary:	Globally/Universally Unique Identifiers (GUIDs/UUIDs) 
a7a9aa
Group:		Development/Libraries
a7a9aa
# Upstream says BSD but LICENSE file looks more like MIT
a7a9aa
# https://lists.fedoraproject.org/pipermail/legal/2013-August/002226.html
a7a9aa
License:	BSD and MIT
a7a9aa
URL:		http://search.cpan.org/dist/Data-UUID/
a7a9aa
Source0:	http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-UUID-%{version}.tar.gz
a7a9aa
# Module Build
a7a9aa
BuildRequires:	coreutils
a7a9aa
BuildRequires:	findutils
a7a9aa
BuildRequires:	gcc
a7a9aa
BuildRequires:	make
a7a9aa
BuildRequires:	perl-interpreter
a7a9aa
BuildRequires:	perl-devel
a7a9aa
BuildRequires:	perl-generators
a7a9aa
BuildRequires:	perl(Config)
a7a9aa
BuildRequires:	perl(ExtUtils::MakeMaker)
a7a9aa
BuildRequires:	perl(File::Spec)
a7a9aa
BuildRequires:	perl(Getopt::Long)
a7a9aa
BuildRequires:	perl(Pod::Usage)
a7a9aa
BuildRequires:	perl(warnings)
a7a9aa
# Module Runtime
a7a9aa
BuildRequires:	perl(Carp)
a7a9aa
BuildRequires:	perl(Digest::MD5)
a7a9aa
BuildRequires:	perl(DynaLoader)
a7a9aa
BuildRequires:	perl(Exporter)
a7a9aa
BuildRequires:	perl(strict)
a7a9aa
# Test Suite
a7a9aa
BuildRequires:	perl(Test::More)
a7a9aa
BuildRequires:	perl(threads)
a7a9aa
%if ! 0%{?_module_build}
a7a9aa
# Optional Tests
a7a9aa
BuildRequires:	perl(Test::Pod) >= 1.14
a7a9aa
BuildRequires:	perl(Test::Pod::Coverage) >= 1.06
a7a9aa
%endif
a7a9aa
# Runtime
a7a9aa
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
a7a9aa
a7a9aa
# Avoid provides for private shared objects
a7a9aa
%{?perl_default_filter}
a7a9aa
a7a9aa
%description
a7a9aa
This module provides a framework for generating v3 UUIDs (Universally Unique
a7a9aa
Identifiers, also known as GUIDs (Globally Unique Identifiers). A UUID is 128
a7a9aa
bits long, and is guaranteed to be different from all other UUIDs/GUIDs
a7a9aa
generated until 3400 CE.
a7a9aa
a7a9aa
UUIDs were originally used in the Network Computing System (NCS) and later in
a7a9aa
the Open Software Foundation's (OSF) Distributed Computing Environment.
a7a9aa
Currently many different technologies rely on UUIDs to provide unique identity
a7a9aa
for various software components. Microsoft COM/DCOM for instance, uses GUIDs
a7a9aa
very extensively to uniquely identify classes, applications and components
a7a9aa
across network-connected systems.
a7a9aa
a7a9aa
The algorithm for UUID generation, used by this extension, is described in the
a7a9aa
Internet Draft "UUIDs and GUIDs" by Paul J. Leach and Rich Salz (see RFC 4122).
a7a9aa
It provides a reasonably efficient and reliable framework for generating UUIDs
a7a9aa
and supports fairly high allocation rates - 10 million per second per machine -
a7a9aa
and therefore is suitable for identifying both extremely short-lived and very
a7a9aa
persistent objects on a given system as well as across the network.
a7a9aa
a7a9aa
This module provides several methods to create a UUID. In all methods,
a7a9aa
<namespace> is a UUID and <name> is a free form string.
a7a9aa
a7a9aa
%prep
a7a9aa
%setup -q -n Data-UUID-%{version}
a7a9aa
a7a9aa
%build
a7a9aa
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
a7a9aa
make %{?_smp_mflags}
a7a9aa
a7a9aa
%install
a7a9aa
make pure_install DESTDIR=%{buildroot}
a7a9aa
find %{buildroot} -type f -name .packlist -delete
a7a9aa
find %{buildroot} -type f -name '*.bs' -empty -delete
a7a9aa
%{_fixperms} %{buildroot}
a7a9aa
a7a9aa
%check
a7a9aa
make test AUTHOR_TESTING=1
a7a9aa
perl smp-test/collision.t
a7a9aa
a7a9aa
%files
a7a9aa
%license LICENSE
a7a9aa
%doc Changes README
a7a9aa
%{perl_vendorarch}/auto/Data/
a7a9aa
%{perl_vendorarch}/Data/
a7a9aa
%{_mandir}/man3/Data::UUID.3*
a7a9aa
a7a9aa
%changelog
a7a9aa
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.221-10
a7a9aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a7a9aa
a7a9aa
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.221-9
a7a9aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a7a9aa
a7a9aa
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.221-8
a7a9aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a7a9aa
a7a9aa
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.221-7
a7a9aa
- Perl 5.26 rebuild
a7a9aa
a7a9aa
* Fri Apr 21 2017 Petr Hracek <phracek@redhat.com> - 1.221-6
a7a9aa
- Don't include perl(Test::Pod) during modular build
a7a9aa
a7a9aa
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.221-5
a7a9aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a7a9aa
a7a9aa
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.221-4
a7a9aa
- Perl 5.24 rebuild
a7a9aa
a7a9aa
* Thu Apr 21 2016 Paul Howarth <paul@city-fan.org> - 1.221-3
a7a9aa
- Fix FTBFS due to missing buildreq perl-devel
a7a9aa
- Simplify find commands using -empty and -delete
a7a9aa
a7a9aa
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.221-2
a7a9aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a7a9aa
a7a9aa
* Tue Aug 11 2015 Paul Howarth <paul@city-fan.org> - 1.221-1
a7a9aa
- Update to 1.221
a7a9aa
  - Documentation improvements
a7a9aa
a7a9aa
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.220-3
a7a9aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a7a9aa
a7a9aa
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.220-2
a7a9aa
- Perl 5.22 rebuild
a7a9aa
a7a9aa
* Thu Dec 18 2014 Paul Howarth <paul@city-fan.org> - 1.220-1
a7a9aa
- Update to 1.220
a7a9aa
  - Improve chances it'll work on Android
a7a9aa
- Classify buildreqs by usage
a7a9aa
- Use %%license
a7a9aa
a7a9aa
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.219-6
a7a9aa
- Perl 5.20 rebuild
a7a9aa
a7a9aa
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.219-5
a7a9aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a7a9aa
a7a9aa
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.219-4
a7a9aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a7a9aa
a7a9aa
* Fri Aug 23 2013 Paul Howarth <paul@city-fan.org> - 1.219-3
a7a9aa
- Change license to "BSD and MIT"
a7a9aa
  https://lists.fedoraproject.org/pipermail/legal/2013-August/002226.html
a7a9aa
- Drop EL-5 compatibility (#998143)
a7a9aa
a7a9aa
* Sat Aug 17 2013 Paul Howarth <paul@city-fan.org> - 1.219-2
a7a9aa
- Sanitize for Fedora submission
a7a9aa
a7a9aa
* Thu Aug 15 2013 Paul Howarth <paul@city-fan.org> - 1.219-1
a7a9aa
- Initial RPM version