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

View File

@@ -1,23 +1,47 @@
#
# 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
Name: perl-Data-UUID
%define real_name Data-UUID
Summary: Perl extension for generating Globally/Universally Unique Identifiers
Url: http://search.cpan.org/perldoc?Data::UUID
Group: Development/Libraries/Perl
License: Artistic License
Version: 1.149
Release: 1
Vendor: openSUSE-Education
Source: %{real_name}-%{version}.tar.bz2
Requires: perl = %{perl_version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#Distribution: %dist
#Packager: %packager
#Vendor: %vendor
Name: perl-Data-UUID
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Perl extension for generating Globally/Universally Unique Identifiers
Version: 1.202
Release: 1
License: BSD License
Group: Development/Libraries/Perl
Url: http://search.cpan.org/perldoc?Data::UUID
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Digest::MD5)
Requires: perl = %{perl_version}
Requires: perl(Digest::MD5)
#-------------------------------------------------------------------------------
%description
#-------------------------------------------------------------------------------
%{cpan_name} module for perl
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
@@ -38,42 +62,44 @@ 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: Alexander Golomshtok <agolomsh@cpan.org>
Author:
-------
Alexander Golomshtok <agolomsh@cpan.org>
--------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
%prep
%setup -n %{real_name}-%{version}
#-------------------------------------------------------------------------------
%setup -q -n %{cpan_name}-%{version}
#-------------------------------------------------------------------------------
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
#-------------------------------------------------------------------------------
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make}
%check
make test
%{__make} test
#-------------------------------------------------------------------------------
%install
#-------------------------------------------------------------------------------
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
#-------------------------------------------------------------------------------
%clean
rm -rf %{buildroot}
#-------------------------------------------------------------------------------
%{__rm} -rf $RPM_BUILD_ROOT
%files
#-------------------------------------------------------------------------------
%files -f %{name}.files
#-------------------------------------------------------------------------------
# normally you only need to check for doc files
%defattr(-,root,root)
%doc Changes README MANIFEST
%doc %{_mandir}/man?/*
%dir %{perl_vendorarch}/Data
%dir %{perl_vendorarch}/auto/Data
%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}
%doc Changes LICENSE README
#-------------------------------------------------------------------------------
%changelog
#-------------------------------------------------------------------------------