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