Christian Wittmer
2009-06-21 13:58:48 +00:00
committed by Git OBS Bridge
parent 26ee1733b7
commit 67355d1984
4 changed files with 92 additions and 51 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:09559eb4a6f147ae0c03601dbd4b0861b13164d40d621ca115833669e6a44b76
size 15786

3
Data-UUID-1.202.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:efb0a517b189d3fd45335b1cdded9574e6c984321acbd8b39dca7d0dcea55a0a
size 13019

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sun Jun 21 15:44:47 CEST 2009 - chris@computersalat.de
- update to 1.202
- 1.202 Mon Jun 15 18:42:19 EDT 2009
- localize changes to $! (thanks, Jesse Vincent!)
- 201 Sat Apr 18 14:09 2009
- replace Data-UUID's own md5 with Digest::MD5 (thanks, RUZ!)
- apply patch from tokuhirom to avoid segmentation violation
- added perl-macros
o autogen filelist with perl_gen_filelist
- spec mods
o added header
o fixed deps
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 19 12:09:42 CET 2009 - lrupp@suse.de Thu Mar 19 12:09:42 CET 2009 - lrupp@suse.de

View File

@@ -1,79 +1,105 @@
# #
# spec file for package perl-Data-UUID # spec file for package perl-Data-UUID
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild # norootforbuild
#Distribution: %dist
#Packager: %packager
#Vendor: %vendor
Name: perl-Data-UUID Name: perl-Data-UUID
%define real_name Data-UUID %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Perl extension for generating Globally/Universally Unique Identifiers Summary: Perl extension for generating Globally/Universally Unique Identifiers
Url: http://search.cpan.org/perldoc?Data::UUID Version: 1.202
Group: Development/Libraries/Perl
License: Artistic License
Version: 1.149
Release: 1 Release: 1
Vendor: openSUSE-Education License: BSD License
Source: %{real_name}-%{version}.tar.bz2 Group: Development/Libraries/Perl
Requires: perl = %{perl_version} Url: http://search.cpan.org/perldoc?Data::UUID
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Digest::MD5)
Requires: perl = %{perl_version}
Requires: perl(Digest::MD5)
#-------------------------------------------------------------------------------
%description %description
This module provides a framework for generating UUIDs (Universally Unique #-------------------------------------------------------------------------------
Identifiers, also known as GUIDs (Globally Unique Identifiers). A UUID is 128 %{cpan_name} module for perl
bits long, and is guaranteed to be different from all other UUIDs/GUIDs
generated until 3400 CE.
UUIDs were originally used in the Network Computing System (NCS) and later in This module provides a framework for generating UUIDs (Universally Unique
the Open Software Foundation's (OSF) Distributed Computing Environment. Identifiers, also known as GUIDs (Globally Unique Identifiers). A UUID is 128
Currently many different technologies rely on UUIDs to provide unique identity bits long, and is guaranteed to be different from all other UUIDs/GUIDs
for various software components. Microsoft COM/DCOM for instance, uses GUIDs generated until 3400 CE.
very extensively to uniquely identify classes, applications and components
across network-connected systems.
The algorithm for UUID generation, used by this extension, is described in the UUIDs were originally used in the Network Computing System (NCS) and later in
Internet Draft "UUIDs and GUIDs" by Paul J. Leach and Rich Salz the Open Software Foundation's (OSF) Distributed Computing Environment.
(http://hegel.ittc.ku.edu/topics/internet/internet-drafts/draft-l/draft-leach-uuids-guids-01.txt). Currently many different technologies rely on UUIDs to provide unique identity
It provides reasonably efficient and reliable framework for generating UUIDs for various software components. Microsoft COM/DCOM for instance, uses GUIDs
and supports fairly high allocation rates -- 10 million per second per machine very extensively to uniquely identify classes, applications and components
-- and therefore is suitable for identifying both extremely short-lived and across network-connected systems.
very persistent objects on a given system as well as across the network.
The algorithm for UUID generation, used by this extension, is described in the
Internet Draft "UUIDs and GUIDs" by Paul J. Leach and Rich Salz
(http://hegel.ittc.ku.edu/topics/internet/internet-drafts/draft-l/draft-leach-uuids-guids-01.txt).
It provides reasonably efficient and reliable framework for generating UUIDs
and supports fairly high allocation rates -- 10 million per second per machine
-- and therefore is suitable for identifying both extremely short-lived and
very persistent objects on a given system as well as across the network.
Author: Author: Alexander Golomshtok <agolomsh@cpan.org>
-------
Alexander Golomshtok <agolomsh@cpan.org>
--------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
%prep %prep
%setup -n %{real_name}-%{version} #-------------------------------------------------------------------------------
%setup -q -n %{cpan_name}-%{version}
#-------------------------------------------------------------------------------
%build %build
perl Makefile.PL #-------------------------------------------------------------------------------
make %{?jobs:-j%jobs} perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make}
%check %check
make test %{__make} test
#-------------------------------------------------------------------------------
%install %install
#-------------------------------------------------------------------------------
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%clean #-------------------------------------------------------------------------------
rm -rf %{buildroot} %clean
#-------------------------------------------------------------------------------
%{__rm} -rf $RPM_BUILD_ROOT
%files #-------------------------------------------------------------------------------
%defattr(-, root, root) %files -f %{name}.files
%doc Changes README MANIFEST #-------------------------------------------------------------------------------
%doc %{_mandir}/man?/* # normally you only need to check for doc files
%dir %{perl_vendorarch}/Data %defattr(-,root,root)
%dir %{perl_vendorarch}/auto/Data %doc Changes LICENSE README
%dir %{perl_vendorarch}/auto/Data/UUID
%{perl_vendorarch}/auto/Data/UUID/.packlist
%{perl_vendorarch}/Data/*.pm
%dir %{perl_vendorarch}/auto/Data
%dir %{perl_vendorarch}/auto/Data/UUID
%{perl_vendorarch}/auto/Data/UUID/*
/var/adm/perl-modules/%{name}
#-------------------------------------------------------------------------------
%changelog
#-------------------------------------------------------------------------------
%changelog