80 lines
2.4 KiB
RPMSpec
80 lines
2.4 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-Data-UUID
|
||
|
#
|
||
|
|
||
|
# 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
|
||
|
|
||
|
%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 CE.
|
||
|
|
||
|
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.
|
||
|
|
||
|
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:
|
||
|
-------
|
||
|
Alexander Golomshtok <agolomsh@cpan.org>
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -n %{real_name}-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL
|
||
|
make %{?jobs:-j%jobs}
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
|
||
|
%install
|
||
|
%perl_make_install
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%clean
|
||
|
rm -rf %{buildroot}
|
||
|
|
||
|
%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}
|
||
|
|
||
|
|
||
|
%changelog
|