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

Revision 9142, 2.2 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-Config
2
3Summary:        Perl module that implements Log4j
4Name:           perl-%{real_name}
5Version:        1.04
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(ExtUtils::MakeMaker)
17BuildRequires:  perl(File::Temp) >= 0.12
18BuildRequires:  perl(IO::Scalar)
19BuildRequires:  perl(Log::Dispatch) >= 2
20BuildRequires:  perl(Test::More) >= 0.32
21Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
22Requires:       perl(AppConfig) >= 1.52
23Requires:       perl(File::Temp) >= 0.12
24Requires:       perl(IO::Scalar)
25Requires:       perl(Log::Dispatch) >= 2
26Requires:       perl(Test::More) >= 0.32
27
28Vendor:         Project Vine
29Distribution:   Vine Linux
30Packager:       shaolin
31
32%description
33Log-Dispatch-Config is a Perl module that implements Log4j.
34
35%prep
36%setup -n %{real_name}-%{version}
37
38%build
39perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
40make %{?_smp_mflags}
41
42%install
43rm -rf %{buildroot}
44make pure_install DESTDIR=%{buildroot}
45find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
46find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
47%{_fixperms} %{buildroot}
48
49%clean
50rm -rf %{buildroot}
51
52%check
53make test
54
55%files
56%defattr(-, root, root, 0755)
57%doc Changes MANIFEST META.yml README
58%doc %{_mandir}/man3/Log::Dispatch::Config.3pm*
59%doc %{_mandir}/man3/Log::Dispatch::Configurator.3pm*
60%doc %{_mandir}/man3/Log::Dispatch::Configurator::AppConfig.3pm*
61%dir %{perl_vendorlib}/Log/
62%dir %{perl_vendorlib}/Log/Dispatch/
63%{perl_vendorlib}/Log/Dispatch/Config.pm
64%{perl_vendorlib}/Log/Dispatch/Configurator.pm
65%dir %{perl_vendorlib}/Log/Dispatch/Configurator/
66%{perl_vendorlib}/Log/Dispatch/Configurator/AppConfig.pm
67
68%changelog
69* Sun Dec 07 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.04-1
70- updated to 1.04
71- rebuilt with perl 5.16.3
72
73* Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.03-1
74- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.