From 9d7ada5cb144c11593a85e573a0532f4f1bda76a Mon Sep 17 00:00:00 2001
From: smeserver <>
Date: Fri, 24 Jan 2025 03:40:19 +0100
Subject: [PATCH] Initial commit
---
.gitattributes | 3 ++
Makefile | 19 ++++++++++++
README.md | 37 ++++++++++++++++++++++
perl-Data-UUID.spec | 75 +++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 134 insertions(+)
create mode 100644 .gitattributes
create mode 100644 Makefile
create mode 100644 README.md
create mode 100644 perl-Data-UUID.spec
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..a3b625f
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,3 @@
+*.tar.gz filter=lfs diff=lfs merge=lfs -text
+*.tgz filter=lfs diff=lfs merge=lfs -text
+*.tar.xz filter=lfs diff=lfs merge=lfs -text
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..9a7c875
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+NAME := perl-Data-UUID
+SPECFILE = $(firstword $(wildcard *.spec))
+
+define find-makefile-common
+for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
+endef
+
+MAKEFILE_COMMON := $(shell $(find-makefile-common))
+
+ifeq ($(MAKEFILE_COMMON),)
+# attept a checkout
+define checkout-makefile-common
+test -f CVS/Root && { cvs -Q -d $(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
+endef
+
+MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
+endif
+
+include $(MAKEFILE_COMMON)
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..15e726c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,37 @@
+#
perl-Data-UUID
+
+SMEServer Koozali local git repo for perl-Data-UUID
+
+## Documentation
+
https://metacpan.org/pod/perl-Data-UUID
+
+## Bugzilla
+CPAN bug report are [here](https://rt.cpan.org/Public/Dist/Display.html?Name=perl-Data-UUID)
+
+Show list of Koozali outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=perl-Data-UUID&product=SME%20Server%2011.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
+
+## 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,
+ is a UUID and is a free form string.
+
+
diff --git a/perl-Data-UUID.spec b/perl-Data-UUID.spec
new file mode 100644
index 0000000..62289dd
--- /dev/null
+++ b/perl-Data-UUID.spec
@@ -0,0 +1,75 @@
+%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,
+ is a UUID and is a free form string.
+
+
+%changelog
+* Day MMMM DD YYYY 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 'attr(755,user,grp)' \
+#--file 'attr(755,root,root)' \
+
+%clean
+cd ..
+rm -rf %{name}-%{version}
+
+%pre
+
+%preun
+
+%post
+
+%postun
+#uninstall
+%files -f %{name}-%{version}-filelist
+%defattr(-,root,root)