source: spec/trunk/SPECS/perl-Sub-Uplevel.spec@ 1566

Last change on this file since 1566 was 1360, checked in by tellie, 8 years ago

spec: perl-Sub-Uplevel: Release version 0.2800-1.

File size: 1.8 KB
Line 
1Name: perl-Sub-Uplevel
2Summary: Apparently run a function in a higher stack frame
3Epoch: 1
4Version: 0.2800
5Release: 1%{?dist}
6License: GPL+ or Artistic
7URL: http://search.cpan.org/dist/Sub-Uplevel/
8Vendor: bww bitwise works GmbH
9Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-%{version}.tar.gz
10BuildArch: noarch
11# Build:
12BuildRequires: coreutils
13BuildRequires: findutils
14BuildRequires: make
15#BuildRequires: perl-interpreter
16BuildRequires: perl-generators
17BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
18# Run-time:
19BuildRequires: perl(Carp)
20BuildRequires: perl(constant)
21BuildRequires: perl(strict)
22BuildRequires: perl(warnings)
23# Tests:
24BuildRequires: perl(Exporter)
25BuildRequires: perl(File::Temp)
26BuildRequires: perl(File::Spec)
27BuildRequires: perl(lib)
28BuildRequires: perl(Test::More) >= 0.88
29# Optional:
30BuildRequires: perl(CPAN::Meta) >= 2.120900
31# Explicit Run-time:
32Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
33Requires: perl(Carp)
34
35# Remove bogus perl(DB) provide
36%global __provides_exclude ^perl\\(DB\\)$
37
38%description
39Like Tcl's uplevel() function, but not quite so dangerous. The idea is
40just to fool caller(). All the really naughty bits of Tcl's uplevel()
41are avoided.
42
43%prep
44%setup -q -n Sub-Uplevel-%{version}
45
46%build
47perl Makefile.PL INSTALLDIRS=vendor
48make %{?_smp_mflags}
49make manifypods
50
51%install
52make pure_install DESTDIR=%{buildroot}
53find %{buildroot} -type f -name .packlist -delete
54%{_fixperms} -c %{buildroot}
55
56%check
57#make test
58
59%files
60%license LICENSE
61%doc Changes CONTRIBUTING.mkdn README examples/
62%{perl_vendorlib}/Sub/
63%{_mandir}/man3/*.3*
64
65%changelog
66* Mon Mar 12 2018 Elbert Pol <elbert.pol@gmail.com> - 0.2800-1
67- initial rpm for OS2
Note: See TracBrowser for help on using the repository browser.