]> git.pld-linux.org Git - packages/perl-Class-C3-Adopt-NEXT.git/blame - perl-Class-C3-Adopt-NEXT.spec
- up to 0.13
[packages/perl-Class-C3-Adopt-NEXT.git] / perl-Class-C3-Adopt-NEXT.spec
CommitLineData
c9709d23 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Class
7%define pnam C3-Adopt-NEXT
8Summary: Class::C3::Adopt::NEXT - make NEXT suck less
9#Summary(pl.UTF-8):
10Name: perl-Class-C3-Adopt-NEXT
ef3817ec 11Version: 0.13
c9709d23 12Release: 1
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/Class/%{pdir}-%{pnam}-%{version}.tar.gz
ef3817ec 17# Source0-md5: 4b4a59b5004ab7e715315e3131773e04
c9709d23 18URL: http://search.cpan.org/dist/Class-C3-Adopt-NEXT/
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
22BuildRequires: perl-List-MoreUtils
23BuildRequires: perl-MRO-Compat
24BuildRequires: perl-Test-Exception
25%endif
26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
ef3817ec 30This module is intended as a drop-in replacement for NEXT, supporting
31the same interface, but using Class::C3 to do the hard work. You can
32then write new code without NEXT, and migrate individual source files
33to use Class::C3 or method modifiers as appropriate, at whatever pace
34you're comfortable with.
c9709d23 35
36# %description -l pl.UTF-8
37# TODO
38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
43%{__perl} Makefile.PL \
44 INSTALLDIRS=vendor
45%{__make}
46
47%{?with_tests:%{__make} test}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} pure_install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes
005adad2 61%{perl_vendorlib}/Class/C3/Adopt
c9709d23 62%{_mandir}/man3/*
This page took 0.519422 seconds and 4 git commands to generate.