]> git.pld-linux.org Git - packages/perl-Data-GUID.git/blob - perl-Data-GUID.spec
- up to 0.049
[packages/perl-Data-GUID.git] / perl-Data-GUID.spec
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
8 Summary:        Data::GUID - Perl extension for generating GUIDs
9 Summary(pl.UTF-8):      Data::GUID - rozszerzenie Perla do generowania GUID-ów
10 Name:           perl-Data-GUID
11 Version:        0.049
12 Release:        1
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
20 %if %{with tests}
21 BuildRequires:  perl-Data-UUID
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
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.
35
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.
48
49 %prep
50 %setup -q -n %{pdir}-%{pnam}-%{version}
51
52 %build
53 %{__perl} Makefile.PL </dev/null \
54         INSTALLDIRS=vendor
55 %{__make}
56
57 %{?with_tests:%{__make} test}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 %clean
66 rm -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.097363 seconds and 3 git commands to generate.