3 %bcond_without tests # do not perform "make test"
7 Summary: inc::latest - use modules bundled in inc/ if they are newer than installed ones
8 Summary(pl.UTF-8): inc-latest - użycie modułów dołączonych w inc/ jeśli są nowsze od zainstalowanych
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-authors/id/D/DA/DAGOLDEN/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: d1e0deb52bcc9f9b0f990ceb077a8ffd
16 URL: https://metacpan.org/release/inc-latest
17 BuildRequires: perl-ExtUtils-MakeMaker >= 6.17
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: rpmbuild(macros) >= 1.745
22 BuildRequires: perl-Test-Simple
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 WARNING -- THIS IS AN EXPERIMENTAL MODULE. It was originally bundled
29 (as an experiment) with Module::Build and has been split out for more
32 The inc::latest module helps bootstrap configure-time dependencies for
33 CPAN distributions. These dependencies get bundled into the inc
34 directory within a distribution and are used by Makefile.PL or
37 %description -l pl.UTF-8
38 UWAGA: TEN MODUŁ JEST EKSPERYMENTALNY. Oryginalnie był dołączany (jako
39 eksperyment) do Module::Build, następnie został wydzielony do bardziej
42 Moduł inc::latest pomaga przy bootstrapowaniu zależności czasu
43 konfiguracji dla pakietów CPAN. Zależności te są dołączane do katalogu
44 inc wewnątrz pakieut, a następnie używane przez Makefile.PL lub
48 %setup -q -n %{pdir}-%{pnam}-%{version}
51 %{__perl} Makefile.PL \
55 %{?with_tests:%{__make} test}
58 rm -rf $RPM_BUILD_ROOT
60 %{__make} pure_install \
61 DESTDIR=$RPM_BUILD_ROOT
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
69 %{perl_vendorlib}/inc/latest.pm
70 %{perl_vendorlib}/inc/latest
71 %{_mandir}/man3/inc::latest*.3pm*