source: spec/trunk/SPECS/perl-FreezeThaw.spec@ 1567

Last change on this file since 1567 was 1491, checked in by tellie, 7 years ago

spec: perl-FreezeThaw: Release version 0.5001-1.

File size: 1.4 KB
Line 
1Name: perl-FreezeThaw
2Version: 0.5001
3Release: 1%{?dist}
4Vendor: bww bitwise works GmbH
5Summary: Convert Perl structures to strings and back
6Group: Development/Libraries
7License: GPL+ or Artistic
8URL: https://metacpan.org/release/FreezeThaw
9Source0: https://cpan.metacpan.org/authors/id/I/IL/ILYAZ/modules/FreezeThaw-%{version}.tar.gz
10BuildArch: noarch
11BuildRequires: perl-generators
12BuildRequires: perl(Carp)
13BuildRequires: perl(Exporter)
14BuildRequires: perl(ExtUtils::MakeMaker)
15BuildRequires: perl(Math::BigInt)
16Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
17
18%description
19Converts data to/from stringified form, appropriate for
20saving-to/reading-from permanent storage.
21
22%prep
23%setup -q -n FreezeThaw-%{version}
24# Fix permissions
25find -type d -exec chmod 0755 {} \;
26find -type f -exec chmod 0644 {} \;
27
28%build
29perl Makefile.PL INSTALLDIRS=vendor
30make %{?_smp_mflags}
31make manifypods
32
33%install
34make pure_install PERL_INSTALL_ROOT=%{buildroot}
35find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
36find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
37chmod -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.