]> git.pld-linux.org Git - packages/perl-Data-UUID.git/blame - perl-Data-UUID.spec
- release 6 (by relup.sh)
[packages/perl-Data-UUID.git] / perl-Data-UUID.spec
CommitLineData
a8b95af8 1#
2# Conditional build:
f0d2f6c4 3%bcond_without tests # Do not perform "make test"
a8b95af8 4#
5%include /usr/lib/rpm/macros.perl
3d494a4b 6%define pdir Data
7%define pnam UUID
a8b95af8 8Summary: Data::UUID - Perl extension for generating GUIDs/UUIDs
9df1028a 9Summary(pl.UTF-8): Data::UUID - rozszerzenie Perla do generowania GUID-ów/UUID-ów
a8b95af8 10Name: perl-Data-UUID
95fc023a 11Version: 1.217
fa3e9171 12Release: 6
f4ad8a6a 13License: distributable
a8b95af8 14Group: Development/Languages/Perl
700b897d 15Source0: http://www.cpan.org/modules/by-module/Data/%{pdir}-%{pnam}-%{version}.tar.gz
95fc023a 16# Source0-md5: 9d1baca208eab7bf2fd67184a03785a6
8af6f9db 17Patch0: %{name}-types.patch
700b897d 18URL: http://search.cpan.org/dist/Data-UUID/
d128df21 19BuildRequires: perl-devel >= 1:5.8.0
a049f218 20BuildRequires: rpm-perlprov >= 4.1-13
a8b95af8 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This module provides a framework for generating UUIDs (Universally
25Unique Identifiers, also known as GUIDs (Globally Unique Identifiers).
26A UUID is 128 bits long, and is guaranteed to be different from all
27other UUIDs/GUIDs generated until 3400 A.D. UUIDs were originally used
28in the Network Computing System (NCS) and later in the Open Software
29Foundation's (OSF) Distributed Computing Environment. Currently many
30different technologies rely on UUIDs to provide unique identity for
31various software components.
32
0580b049
JR
33%description -l pl.UTF-8
34Moduł Perla Data::UUID udostępnia szkielet do generowania UUID-ów
35(Universally Unique Identifiers - identyfikatorów unikalnych
36powszechnie), znanych też jako GUID-y (Globally Unique Identifiers -
37identyfikatory unikalne globalnie). UUID-y są 128-bitowe i
38gwarantowana jest ich unikalność wśród wszyskich innych UUID-ów/
39/GUID-ów wygenerowanych do roku 3400. UUID-y pierwotnie były używane w
40Network Computing System (NCS), a później w Rozproszonym Środowisku
a8b95af8 41Obliczeniowym (Distributed Computing Environment) Fundacji Open
42Software (OSF). Obecnie na zagwarantowanych przez UUID-y unikalnych
0580b049
JR
43identyfikatorach dla różnych składników oprogramowania opartych jest
44wiele różnych technologii
a8b95af8 45
46%prep
47%setup -q -n %{pdir}-%{pnam}-%{version}
8af6f9db 48%patch0 -p1
a8b95af8 49
50%build
a049f218 51%{__perl} Makefile.PL </dev/null \
520c380d 52 INSTALLDIRS=vendor
aacd0967 53%{__make} \
90ad55fd 54 CC="%{__cc}" \
aacd0967 55 OPTIMIZE="%{rpmcflags}"
a8b95af8 56
f0d2f6c4 57%{?with_tests:%{__make} test}
a8b95af8 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
a049f218 71%{perl_vendorarch}/Data/UUID.pm
72%dir %{perl_vendorarch}/auto/Data/UUID
a049f218 73%attr(755,root,root) %{perl_vendorarch}/auto/Data/UUID/UUID.so
a8b95af8 74%{_mandir}/man3/*
This page took 1.031999 seconds and 4 git commands to generate.