source: projects/specs/trunk/p/perl-Log-Dispatch-Configurator-Any/perl-Log-Dispatch-Configurator-Any-vl.spec @ 9142

Revision 9142, 2.0 KB checked in by inagaki, 9 years ago (diff)

2014-12-09 Ryoichi INAGAKI <ryo1@…>

  • perl-Config-{Any, General, IniFiles?}, perl-Log-Dispatch-{Config, Configurator-Any}, perl-Log-Dump, perl-Path-Extended, perl-Sort-Naturally perl-Test-{Output, Spelling}: updated
  • perl-ExtUtils?-MakeMaker?-CPANfile, perl-IO-Capture, perl-Module-CPANfile: NEW


Line 
1%define real_name Log-Dispatch-Configurator-Any
2
3Summary:        Perl module that implements Log4j
4Name:           perl-%{real_name}
5Version:        1.122640
6Release:        1%{?_dist_release}
7License:        GPL+ or Artistic
8Group:          Development/Libraries
9URL:            http://search.cpan.org/dist/Log-Dispatch-Config/
10
11Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/%{real_name}-%{version}.tar.gz
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
14BuildArch:      noarch
15BuildRequires:  perl(AppConfig) >= 1.52
16BuildRequires:  perl(Config::Any)
17BuildRequires:  perl(ExtUtils::MakeMaker)
18BuildRequires:  perl(File::Temp) >= 0.12
19BuildRequires:  perl(IO::Scalar)
20BuildRequires:  perl(Log::Dispatch) >= 2
21BuildRequires:  perl(Log::Dispatch::Config)
22BuildRequires:  perl(Test::More) >= 0.32
23Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
24Requires:       perl(AppConfig) >= 1.52
25Requires:       perl(File::Temp) >= 0.12
26Requires:       perl(IO::Scalar)
27Requires:       perl(Log::Dispatch) >= 2
28Requires:       perl(Test::More) >= 0.32
29
30Vendor:         Project Vine
31Distribution:   Vine Linux
32Packager:       shaolin
33
34%description
35Log-Dispatch-Config is a Perl module that implements Log4j.
36
37%prep
38%setup -q -n %{real_name}-%{version}
39
40%build
41perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
42make %{?_smp_mflags}
43
44%install
45rm -rf %{buildroot}
46make pure_install DESTDIR=%{buildroot}
47find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
48find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
49%{_fixperms} %{buildroot}
50
51%clean
52rm -rf %{buildroot}
53
54%check
55make 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
Note: See TracBrowser for help on using the repository browser.