1 | %define real_name Log-Dispatch-Configurator-Any |
---|
2 | |
---|
3 | Summary: Perl module that implements Log4j |
---|
4 | Name: perl-%{real_name} |
---|
5 | Version: 1.122640 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | License: GPL+ or Artistic |
---|
8 | Group: Development/Libraries |
---|
9 | URL: http://search.cpan.org/dist/Log-Dispatch-Config/ |
---|
10 | |
---|
11 | Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/%{real_name}-%{version}.tar.gz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
14 | BuildArch: noarch |
---|
15 | BuildRequires: perl(AppConfig) >= 1.52 |
---|
16 | BuildRequires: perl(Config::Any) |
---|
17 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
18 | BuildRequires: perl(File::Temp) >= 0.12 |
---|
19 | BuildRequires: perl(IO::Scalar) |
---|
20 | BuildRequires: perl(Log::Dispatch) >= 2 |
---|
21 | BuildRequires: perl(Log::Dispatch::Config) |
---|
22 | BuildRequires: perl(Test::More) >= 0.32 |
---|
23 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
24 | Requires: perl(AppConfig) >= 1.52 |
---|
25 | Requires: perl(File::Temp) >= 0.12 |
---|
26 | Requires: perl(IO::Scalar) |
---|
27 | Requires: perl(Log::Dispatch) >= 2 |
---|
28 | Requires: perl(Test::More) >= 0.32 |
---|
29 | |
---|
30 | Vendor: Project Vine |
---|
31 | Distribution: Vine Linux |
---|
32 | Packager: shaolin |
---|
33 | |
---|
34 | %description |
---|
35 | Log-Dispatch-Config is a Perl module that implements Log4j. |
---|
36 | |
---|
37 | %prep |
---|
38 | %setup -q -n %{real_name}-%{version} |
---|
39 | |
---|
40 | %build |
---|
41 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" |
---|
42 | make %{?_smp_mflags} |
---|
43 | |
---|
44 | %install |
---|
45 | rm -rf %{buildroot} |
---|
46 | make pure_install DESTDIR=%{buildroot} |
---|
47 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
48 | find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null |
---|
49 | %{_fixperms} %{buildroot} |
---|
50 | |
---|
51 | %clean |
---|
52 | rm -rf %{buildroot} |
---|
53 | |
---|
54 | %check |
---|
55 | make test |
---|
56 | |
---|
57 | %files |
---|
58 | %defattr(-, root, root, 0755) |
---|
59 | %doc Changes MANIFEST META.yml README |
---|
60 | %doc %{_mandir}/man3/* |
---|
61 | %dir %{perl_vendorlib}/Log/Dispatch/Configurator |
---|
62 | %{perl_vendorlib}/Log/Dispatch/Configurator/*.pm |
---|
63 | |
---|
64 | %changelog |
---|
65 | * Sun Dec 7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.122640-1 |
---|
66 | - new upstream release |
---|
67 | - built with perl 5.16.3 |
---|
68 | |
---|
69 | * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.110690-1 |
---|
70 | - initial build for Vine Linux |
---|