]> git.pld-linux.org Git - packages/perl-UNIVERSAL-exports.git/blame - perl-UNIVERSAL-exports.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-UNIVERSAL-exports.git] / perl-UNIVERSAL-exports.spec
CommitLineData
52f3df97 1#
2# Conditional build:
61516459 3%bcond_without tests # do not perform "make test"
df05c32f 4#
5ea42188 5%define pdir UNIVERSAL
6%define pnam exports
1776e7ac 7Summary: UNIVERSAL::exports - lightweight, universal exporting of variables
b2900d3d 8Summary(pl.UTF-8): UNIVERSAL::exports - lekkie, uniwersalne eksportowanie zmiennych
52f3df97 9Name: perl-UNIVERSAL-exports
8f07d5ab 10Version: 0.05
11Release: 1
df05c32f 12License: unknown
52f3df97 13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
8f07d5ab 15# Source0-md5: 4378f0e385c47829584486468414fde9
2bf38734 16URL: http://search.cpan.org/dist/UNIVERSAL-exports/
f8a1dc99 17BuildRequires: perl-devel >= 1:5.8.0
52f3df97 18BuildRequires: rpm-perlprov >= 4.1-13
61516459 19%if %{with tests}
52f3df97 20BuildRequires: perl-Exporter-Lite >= 0.01
21%endif
2bf38734 22Requires: perl-UNIVERSAL-require
52f3df97 23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
79eba8f1 27This is an alternative to Exporter intended to provide a universal,
1776e7ac 28lightweight subset of its functionality. It uses Exporter::Lite, so
79eba8f1 29look there for details.
52f3df97 30
51560976
JR
31%description -l pl.UTF-8
32Ten moduł jest alternatywą dla Exportera mającą udostępnić
33uniwersalny, lekki podzbiór jego funkcjonalności. Używa modułu
34Exporter::Lite, z którego można poznać więcej szczegółów.
52f3df97 35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
38
39%build
3a260c42 40%{__perl} Makefile.PL \
0509f7fa 41 INSTALLDIRS=vendor
52f3df97 42%{__make}
43
61516459 44%{?with_tests:%{__make} test}
52f3df97 45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
2bf38734
ER
52# use from perl-UNIVERSAL-require
53rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/%{pdir}/require.pm
54
52f3df97 55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes
2bf38734 61%{perl_vendorlib}/%{pdir}/exports.pm
52f3df97 62%{_mandir}/man3/*
This page took 0.062009 seconds and 4 git commands to generate.