/
perl-Class-Prototyped.spec
48 lines (38 loc) · 1.01 KB
/
perl-Class-Prototyped.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
%define modname Class-Prototyped
%define modver 1.13
Summary: Fast prototype-based OO programming in Perl
Name: perl-%{modname}
Version: %perl_convert_version %{modver}
Release: 2
License: GPLv2+ or Artistic
Group: Development/Perl
Url: http://search.cpan.org/dist/%{modname}
Source0: http://www.cpan.org/modules/by-module/Class/%{modname}-%{modver}.tar.gz
BuildArch: noarch
BuildRequires: perl(Test)
BuildRequires: perl(Test::More)
BuildRequires: perl-devel
%description
Fast prototype-based OO programming in Perl
%package GraphViz
Summary: Graph a Perl object structure with GraphViz
Group: Development/Perl
Requires: %{name} = %{EVRD}
%description GraphViz
Graph a Perl object structure with GraphViz
%prep
%setup -qn %{modname}-%{modver}
%build
%__perl Makefile.PL INSTALLDIRS=vendor </dev/null
%make
%check
%make test
%install
%make_install
%files
%doc README
%{perl_vendorlib}/Class/*
%exclude %{perl_vendorlib}/Class/Prototyped/Graph.pm
%{_mandir}/man3/*
%files GraphViz
%{perl_vendorlib}/Class/Prototyped/Graph.pm