perl-Data-UUID/perl-Data-UUID.spec

Name: perl-Data-UUID
Summary: Generates Globally/Universally Unique Identifiers
Version: 1.221
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Data-UUID/
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.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Ricardo Signes <rjbs$cpan,org>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Data-UUID

Summary: Generates Globally/Universally Unique Identifiers
Name: perl-Data-UUID
Version: 1.221
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Data-UUID/

Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-UUID-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: perl(Digest::MD5)
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(Digest::MD5)

%filter_from_requires /^perl*/d
%filter_setup

%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.

%prep
%setup -n %{real_name}-%{version}

%build
echo -e "\n\n" | CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes LICENSE MANIFEST META.yml README
%doc %{_mandir}/man3/Data::UUID.3pm*
%dir %{perl_vendorarch}/auto/Data/
%{perl_vendorarch}/auto/Data/UUID/
%dir %{perl_vendorarch}/Data/
%{perl_vendorarch}/Data/UUID.pm

%changelog
* Thu Jun 30 2016 Dries Verachtert <dries.verachtert@dries.eu> - 1.221-1
- Updated to release 1.221.

* Thu Dec 31 2009 Christoph Maser <cmr@financial.com> - 1.203-1
- Updated to version 1.203.

* Thu Jul  9 2009 Christoph Maser <cmr@financial.com> - 1.202-1
- Updated to version 1.202.

* Thu Nov 08 2007 Dag Wieers <dag@wieers.com> - 1.148-1
- Updated to release 1.148.

* Sun Mar 26 2006 Dries Verachtert <dries@ulyssis.org> - 0.14-1
- Updated to release 0.14.

* Wed Nov 03 2004 Dries Verachtert <dries@ulyssis.org> - 0.11-1
- Initial package.