Line | |
---|
1 | Name: perl-FreezeThaw
|
---|
2 | Version: 0.5001
|
---|
3 | Release: 1%{?dist}
|
---|
4 | Vendor: bww bitwise works GmbH
|
---|
5 | Summary: Convert Perl structures to strings and back
|
---|
6 | Group: Development/Libraries
|
---|
7 | License: GPL+ or Artistic
|
---|
8 | URL: https://metacpan.org/release/FreezeThaw
|
---|
9 | Source0: https://cpan.metacpan.org/authors/id/I/IL/ILYAZ/modules/FreezeThaw-%{version}.tar.gz
|
---|
10 | BuildArch: noarch
|
---|
11 | BuildRequires: perl-generators
|
---|
12 | BuildRequires: perl(Carp)
|
---|
13 | BuildRequires: perl(Exporter)
|
---|
14 | BuildRequires: perl(ExtUtils::MakeMaker)
|
---|
15 | BuildRequires: perl(Math::BigInt)
|
---|
16 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
---|
17 |
|
---|
18 | %description
|
---|
19 | Converts data to/from stringified form, appropriate for
|
---|
20 | saving-to/reading-from permanent storage.
|
---|
21 |
|
---|
22 | %prep
|
---|
23 | %setup -q -n FreezeThaw-%{version}
|
---|
24 | # Fix permissions
|
---|
25 | find -type d -exec chmod 0755 {} \;
|
---|
26 | find -type f -exec chmod 0644 {} \;
|
---|
27 |
|
---|
28 | %build
|
---|
29 | perl Makefile.PL INSTALLDIRS=vendor
|
---|
30 | make %{?_smp_mflags}
|
---|
31 | make manifypods
|
---|
32 |
|
---|
33 | %install
|
---|
34 | make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
---|
35 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
---|
36 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
---|
37 | chmod -R u+w %{buildroot}/*
|
---|
38 |
|
---|
39 | %check
|
---|
40 | #make test
|
---|
41 |
|
---|
42 | %files
|
---|
43 | %doc Changes README
|
---|
44 | %{perl_vendorlib}/*
|
---|
45 | %{_mandir}/man3/*.3pm*
|
---|
46 |
|
---|
47 | %changelog
|
---|
48 | * Fri Sep 28 2018 Elbert Pol <elbert.pol@gmail.com> 0.5001-1
|
---|
49 | - First OS/2 rpm release
|
---|
Note:
See
TracBrowser
for help on using the repository browser.