# $Id$ # Authority: dries # Upstream: Ricardo Signes %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.203 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 Dec 31 2009 Christoph Maser - 1.203-1 - Updated to version 1.203. * Thu Jul 9 2009 Christoph Maser - 1.202-1 - Updated to version 1.202. * Thu Nov 08 2007 Dag Wieers - 1.148-1 - Updated to release 1.148. * Sun Mar 26 2006 Dries Verachtert - 0.14-1 - Updated to release 0.14. * Wed Nov 03 2004 Dries Verachtert - 0.11-1 - Initial package.