3 %bcond_without tests # do not perform "make test"
7 Summary: Exporter::Easy - takes the drudgery out of exporting symbols
8 Summary(pl.UTF-8): Exporter::Easy - przejmujący harówkę eksportowania symboli
9 Name: perl-Exporter-Easy
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 16f44909db2e85578ed2f26db490312b
17 URL: http://search.cpan.org/dist/Exporter-Easy/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Exporter::Easy gets rid of the drudgery of exporting symbols allowing
25 you to eliminate those bits of code that exists in every single module
28 It also allows you to define tags in terms of other tags and you no
29 longer have to worry about filling in @EXPORT_OK.
31 %description -l pl.UTF-8
32 Exporter::Easy pozwala pozbyć się harówki związanej z eksportowaniem
33 symboli, pozwalając wyeliminować te fragmenty kodu, istniejące w
34 każdym module używającym Exportera.
36 Pozwala także na definiowanie znaczników w kontekście innych
37 znaczników, więc nie trzeba się już martwić o wypełnianie @EXPORT_OK.
40 %setup -q -n %{pdir}-%{pnam}-%{version}
43 %{__perl} -pi -e "s/INSTALLDIRS => 'perl',//" Makefile.PL
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{perl_vendorlib}/%{pdir}/*.pm