]> git.pld-linux.org Git - packages/perl-Exporter-Easy.git/blame - perl-Exporter-Easy.spec
- tabs in preamble
[packages/perl-Exporter-Easy.git] / perl-Exporter-Easy.spec
CommitLineData
13984b2f 1#
2# Conditional build:
491bc606 3%bcond_without tests # do not perform "make test"
13984b2f 4#
5%include /usr/lib/rpm/macros.perl
af81d28d 6%define pdir Exporter
7%define pnam Easy
7d7287fb 8Summary: Exporter::Easy - takes the drudgery out of exporting symbols
0dd3e7e2 9Summary(pl.UTF-8): Exporter::Easy - przejmujący harówkę eksportowania symboli
13984b2f 10Name: perl-Exporter-Easy
8cde6db3
AG
11Version: 0.16
12Release: 1
f090b4f9 13# same as perl
14License: GPL v1+ or Artistic
13984b2f 15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
8cde6db3 17# Source0-md5: 16f44909db2e85578ed2f26db490312b
eddc3da0 18BuildRequires: perl-devel >= 1:5.8.0
13984b2f 19BuildRequires: rpm-perlprov >= 4.1-13
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
58ab1da6
JB
24Exporter::Easy gets rid of the drudgery of exporting symbols allowing
25you to eliminate those bits of code that exists in every single module
26that uses Exporter.
13984b2f 27
58ab1da6 28It also allows you to define tags in terms of other tags and you no
13984b2f 29longer have to worry about filling in @EXPORT_OK.
30
74974dda
JR
31%description -l pl.UTF-8
32Exporter::Easy pozwala pozbyć się harówki związanej z eksportowaniem
33symboli, pozwalając wyeliminować te fragmenty kodu, istniejące w
34każdym module używającym Exportera.
58ab1da6 35
74974dda
JR
36Pozwala także na definiowanie znaczników w kontekście innych
37znaczników, więc nie trzeba się już martwić o wypełnianie @EXPORT_OK.
13984b2f 38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
43%{__perl} -pi -e "s/INSTALLDIRS => 'perl',//" Makefile.PL
44%{__perl} Makefile.PL \
e0b177a5 45 INSTALLDIRS=vendor
13984b2f 46%{__make}
47
491bc606 48%{?with_tests:%{__make} test}
13984b2f 49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc README CHANGES
62%{perl_vendorlib}/%{pdir}/*.pm
63%{_mandir}/man3/*
This page took 0.057433 seconds and 4 git commands to generate.