]> git.pld-linux.org Git - packages/perl-Data-GUID.git/blame - perl-Data-GUID.spec
- up to 0.049
[packages/perl-Data-GUID.git] / perl-Data-GUID.spec
CommitLineData
9dcdbba2
MP
1#
2# Conditional build:
3%bcond_without tests # Do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Data
7%define pnam GUID
8Summary: Data::GUID - Perl extension for generating GUIDs
4b23f8a4 9Summary(pl.UTF-8): Data::GUID - rozszerzenie Perla do generowania GUID-ów
9dcdbba2 10Name: perl-Data-GUID
34687b4b 11Version: 0.049
9dcdbba2
MP
12Release: 1
13License: distributable
14Group: Development/Languages/Perl
3054f4e3 15Source0: http://www.cpan.org/modules/by-module/Data/%{pdir}-%{pnam}-%{version}.tar.gz
34687b4b 16# Source0-md5: a033e23e133122f8742cbf27ccc627e3
3054f4e3 17URL: http://search.cpan.org/dist/Data-GUID/
9dcdbba2
MP
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
c8c0f3bc
MP
20%if %{with tests}
21BuildRequires: perl-Data-UUID
22%endif
9dcdbba2
MP
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
3054f4e3 27This module provides a framework for generating UUIDs (Universally
9dcdbba2
MP
28Unique Identifiers, also known as GUIDs (Globally Unique Identifiers).
29A GUID is 128 bits long, and is guaranteed to be different from all
3054f4e3 30other UUIDs/GUIDs generated until 3400 A.D. GUIDs were originally used
9dcdbba2
MP
31in the Network Computing System (NCS) and later in the Open Software
32Foundation's (OSF) Distributed Computing Environment. Currently many
33different technologies rely on GUIDs to provide unique identity for
34various software components.
35
4b23f8a4
ER
36%description -l pl.UTF-8
37Moduł Perla Data::GUID udostępnia szkielet do generowania UUID-ów
38(Universally Unique Identifiers - identyfikatorów unikalnych
39powszechnie), znanych też jako GUID-y (Globally Unique Identifiers -
40identyfikatory unikalne globalnie). GUID-y są 128-bitowe i
41gwarantowana 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
43Network Computing System (NCS), a później w Rozproszonym Środowisku
9dcdbba2
MP
44Obliczeniowym (Distributed Computing Environment) Fundacji Open
45Software (OSF). Obecnie na zagwarantowanych przez GUID-y unikalnych
4b23f8a4
ER
46identyfikatorach dla różnych składników oprogramowania opartych jest
47wiele różnych technologii.
9dcdbba2
MP
48
49%prep
50%setup -q -n %{pdir}-%{pnam}-%{version}
9dcdbba2
MP
51
52%build
53%{__perl} Makefile.PL </dev/null \
54 INSTALLDIRS=vendor
55%{__make}
56
57%{?with_tests:%{__make} test}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%files
69%defattr(644,root,root,755)
70%doc Changes README
71%{perl_vendorlib}/Data/GUID.pm
72%{_mandir}/man3/*
This page took 0.082074 seconds and 4 git commands to generate.