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