-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathperl-UUID-Tiny.spec
51 lines (41 loc) · 1.52 KB
/
perl-UUID-Tiny.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Name: perl-UUID-Tiny
Version: 1.03
Release: 2%{?dist}
Summary: Pure Perl UUID Support With Functional Interface
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/UUID-Tiny/
Source0: http://www.cpan.org/authors/id/C/CA/CAUGUSTIN/UUID-Tiny-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Digest::SHA1)
Requires: perl(Digest::SHA1)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
UUID::Tiny is a lightweight, low dependency Pure Perl module for UUID
creation and testing. This module provides the creation of version 1 time
based UUIDs (using random multicast MAC addresses), version 3 MD5 based
UUIDs, version 4 random UUIDs, and version 5 SHA-1 based UUIDs.
%prep
%setup -q -n UUID-Tiny-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Nov 16 2012 Miro Hrončok <[email protected]> - 1.03-2
- Removed BRs provided by perl package
* Sun Sep 23 2012 Miro Hrončok <[email protected]> 1.03-1
- Specfile autogenerated by cpanspec 1.78.