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