1 |
%define upstream_name Metabase-Fact |
2 |
%define upstream_version 0.020 |
3 |
|
4 |
Name: perl-%{upstream_name} |
5 |
Version: %perl_convert_version %{upstream_version} |
6 |
Release: %mkrel 1 |
7 |
|
8 |
Summary: Class for Metabase resources |
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/Metabase/%{upstream_name}-%{upstream_version}.tar.gz |
13 |
|
14 |
BuildRequires: perl(CPAN::DistnameInfo) |
15 |
BuildRequires: perl(Carp) |
16 |
BuildRequires: perl(Cwd) |
17 |
BuildRequires: perl(Data::GUID) |
18 |
BuildRequires: perl(File::Find) |
19 |
BuildRequires: perl(File::Spec) |
20 |
BuildRequires: perl(File::Temp) |
21 |
BuildRequires: perl(Getopt::Long) |
22 |
BuildRequires: perl(JSON) |
23 |
BuildRequires: perl(Pod::Usage) |
24 |
BuildRequires: perl(Test::Exception) |
25 |
BuildRequires: perl(Test::More) |
26 |
BuildRequires: perl(overload) |
27 |
BuildArch: noarch |
28 |
|
29 |
%description |
30 |
the Metabase manpage is a framework for associating content and metadata |
31 |
with arbitrary resources. A Metabase can be used to store test reports, |
32 |
reviews, coverage analysis reports, reports on static analysis of coding |
33 |
style, or anything else for which datatypes are constructed. |
34 |
|
35 |
Metabase::Fact is a base class for Facts (really opinions or analyses) that |
36 |
can be sent to or retrieved from a Metabase repository. |
37 |
|
38 |
Structure of a Fact object |
39 |
A Fact object associates a 'content' attribute with a 'resource' |
40 |
attribute and a 'creator' attribute. |
41 |
|
42 |
%prep |
43 |
%setup -q -n %{upstream_name}-%{upstream_version} |
44 |
|
45 |
%build |
46 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
47 |
|
48 |
%make |
49 |
|
50 |
%check |
51 |
%make test |
52 |
|
53 |
%install |
54 |
%makeinstall_std |
55 |
|
56 |
%files |
57 |
%doc README Changes LICENSE META.yml META.json |
58 |
%{_mandir}/man3/* |
59 |
%perl_vendorlib/* |
60 |
/usr/bin/metabase-profile |
61 |
/usr/share/man/man1/metabase-profile.1.xz |
62 |
|