generated from smedev/Template-for-SMEServer-Core-Perl
76 lines
2.3 KiB
RPMSpec
76 lines
2.3 KiB
RPMSpec
![]() |
%define name perl-Data-UUID
|
||
|
%define version 1.0
|
||
|
%define release 1
|
||
|
Summary: This is what perl-Data-UUID does.
|
||
|
Name: %{name}
|
||
|
Version: %{version}
|
||
|
Release: %{release}%{?dist}
|
||
|
Source: %{name}-%{version}.tar.gz
|
||
|
License: GNU GPL version 2
|
||
|
Group: SMEserver/addon
|
||
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
||
|
Prefix: %{_prefix}
|
||
|
BuildArchitectures: noarch
|
||
|
BuildRequires: smeserver-devtools
|
||
|
Requires: smeserver-release >= 11.0
|
||
|
AutoReqProv: no
|
||
|
|
||
|
%description
|
||
|
This module provides a framework for generating v3 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 (see RFC 4122).
|
||
|
It provides a 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.
|
||
|
|
||
|
This module provides several methods to create a UUID. In all methods,
|
||
|
<namespace> is a UUID and <name> is a free form string.
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Day MMMM DD YYYY <brianr@koozali.org> 1.0-1.sme
|
||
|
- Initial code - create RPM [SME:99999]
|
||
|
|
||
|
%prep
|
||
|
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
||
|
rm -f %{name}-%{version}-filelist
|
||
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
||
|
> %{name}-%{version}-filelist
|
||
|
#echo "%doc COPYING" >> %{name}-%{version}-filelist
|
||
|
#--dir <dir> 'attr(755,user,grp)' \
|
||
|
#--file <file> 'attr(755,root,root)' \
|
||
|
|
||
|
%clean
|
||
|
cd ..
|
||
|
rm -rf %{name}-%{version}
|
||
|
|
||
|
%pre
|
||
|
|
||
|
%preun
|
||
|
|
||
|
%post
|
||
|
|
||
|
%postun
|
||
|
#uninstall
|
||
|
%files -f %{name}-%{version}-filelist
|
||
|
%defattr(-,root,root)
|