3 %bcond_without tests # Do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Data::GUID - Perl extension for generating GUIDs
9 Summary(pl.UTF-8): Data::GUID - rozszerzenie Perla do generowania GUID-ów
13 License: distributable
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Data/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: a033e23e133122f8742cbf27ccc627e3
17 URL: http://search.cpan.org/dist/Data-GUID/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-Data-UUID
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 This module provides a framework for generating UUIDs (Universally
28 Unique Identifiers, also known as GUIDs (Globally Unique Identifiers).
29 A GUID is 128 bits long, and is guaranteed to be different from all
30 other UUIDs/GUIDs generated until 3400 A.D. GUIDs were originally used
31 in the Network Computing System (NCS) and later in the Open Software
32 Foundation's (OSF) Distributed Computing Environment. Currently many
33 different technologies rely on GUIDs to provide unique identity for
34 various software components.
36 %description -l pl.UTF-8
37 Moduł Perla Data::GUID udostępnia szkielet do generowania UUID-ów
38 (Universally Unique Identifiers - identyfikatorów unikalnych
39 powszechnie), znanych też jako GUID-y (Globally Unique Identifiers -
40 identyfikatory unikalne globalnie). GUID-y są 128-bitowe i
41 gwarantowana jest ich unikalność wśród wszyskich innych UUID-ów/
42 /GUID-ów wygenerowanych do roku 3400. GUID-y pierwotnie były używane w
43 Network Computing System (NCS), a później w Rozproszonym Środowisku
44 Obliczeniowym (Distributed Computing Environment) Fundacji Open
45 Software (OSF). Obecnie na zagwarantowanych przez GUID-y unikalnych
46 identyfikatorach dla różnych składników oprogramowania opartych jest
47 wiele różnych technologii.
50 %setup -q -n %{pdir}-%{pnam}-%{version}
53 %{__perl} Makefile.PL </dev/null \
57 %{?with_tests:%{__make} test}
60 rm -rf $RPM_BUILD_ROOT
63 DESTDIR=$RPM_BUILD_ROOT
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
71 %{perl_vendorlib}/Data/GUID.pm