1 |
jquelin |
72564 |
%define upstream_name Pod-Weaver-Section-BugsRT |
2 |
|
|
%define upstream_version 0.52 |
3 |
|
|
|
4 |
|
|
Name: perl-%{upstream_name} |
5 |
|
|
Version: %perl_convert_version %{upstream_version} |
6 |
|
|
Release: %mkrel 1 |
7 |
|
|
|
8 |
|
|
Summary: Add a BUGS pod section for rt.cpan.org |
9 |
|
|
License: GPL+ or Artistic |
10 |
|
|
Group: Development/Perl |
11 |
|
|
Url: http://search.cpan.org/dist/%{upstream_name} |
12 |
|
|
Source0: http://www.cpan.org/modules/by-module/Pod/%{upstream_name}-%{upstream_version}.tar.gz |
13 |
|
|
|
14 |
|
|
BuildRequires: perl(Module::Signature) |
15 |
|
|
BuildRequires: perl(Moose) |
16 |
|
|
BuildRequires: perl(Moose::Autobox) |
17 |
|
|
BuildRequires: perl(Pod::Weaver::Role::Section) |
18 |
|
|
BuildRequires: perl(Socket) |
19 |
|
|
BuildRequires: perl(Test::More) |
20 |
|
|
BuildArch: noarch |
21 |
|
|
|
22 |
|
|
%description |
23 |
|
|
no description found |
24 |
|
|
|
25 |
|
|
%prep |
26 |
|
|
%setup -q -n %{upstream_name}-%{upstream_version} |
27 |
|
|
|
28 |
|
|
%build |
29 |
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor |
30 |
|
|
|
31 |
|
|
%make |
32 |
|
|
|
33 |
|
|
%check |
34 |
|
|
%make test |
35 |
|
|
|
36 |
|
|
%install |
37 |
|
|
rm -rf %buildroot |
38 |
|
|
%makeinstall_std |
39 |
|
|
|
40 |
|
|
%clean |
41 |
|
|
rm -rf %buildroot |
42 |
|
|
|
43 |
|
|
%files |
44 |
|
|
%defattr(-,root,root) |
45 |
|
|
%doc Changes META.yml LICENSE README |
46 |
|
|
%{_mandir}/man3/* |
47 |
|
|
%perl_vendorlib/* |
48 |
|
|
|
49 |
|
|
|