]> git.pld-linux.org Git - packages/perl-inc-latest.git/blame - perl-inc-latest.spec
- new
[packages/perl-inc-latest.git] / perl-inc-latest.spec
CommitLineData
9a567b98
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir inc
6%define pnam latest
7Summary: inc::latest - use modules bundled in inc/ if they are newer than installed ones
8Summary(pl.UTF-8): inc-latest - użycie modułów dołączonych w inc/ jeśli są nowsze od zainstalowanych
9Name: perl-inc-latest
10Version: 0.500
11Release: 1
12License: Apache v2.0
13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-authors/id/D/DA/DAGOLDEN/%{pdir}-%{pnam}-%{version}.tar.gz
15# Source0-md5: d1e0deb52bcc9f9b0f990ceb077a8ffd
16URL: https://metacpan.org/release/inc-latest
17BuildRequires: perl-ExtUtils-MakeMaker >= 6.17
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildRequires: rpmbuild(macros) >= 1.745
21%if %{with tests}
22BuildRequires: perl-Test-Simple
23%endif
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28WARNING -- THIS IS AN EXPERIMENTAL MODULE. It was originally bundled
29(as an experiment) with Module::Build and has been split out for more
30general use.
31
32The inc::latest module helps bootstrap configure-time dependencies for
33CPAN distributions. These dependencies get bundled into the inc
34directory within a distribution and are used by Makefile.PL or
35Build.PL.
36
37%description -l pl.UTF-8
38UWAGA: TEN MODUŁ JEST EKSPERYMENTALNY. Oryginalnie był dołączany (jako
39eksperyment) do Module::Build, następnie został wydzielony do bardziej
40ogólnego użytku.
41
42Moduł inc::latest pomaga przy bootstrapowaniu zależności czasu
43konfiguracji dla pakietów CPAN. Zależności te są dołączane do katalogu
44inc wewnątrz pakieut, a następnie używane przez Makefile.PL lub
45Build.PL.
46
47%prep
48%setup -q -n %{pdir}-%{pnam}-%{version}
49
50%build
51%{__perl} Makefile.PL \
52 INSTALLDIRS=vendor
53%{__make}
54
55%{?with_tests:%{__make} test}
56
57%install
58rm -rf $RPM_BUILD_ROOT
59
60%{__make} pure_install \
61 DESTDIR=$RPM_BUILD_ROOT
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files
67%defattr(644,root,root,755)
68%doc Changes
69%{perl_vendorlib}/inc/latest.pm
70%{perl_vendorlib}/inc/latest
71%{_mandir}/man3/inc::latest*.3pm*
This page took 0.132858 seconds and 4 git commands to generate.