12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- %define real_name Log-Dispatch-Configurator-Any
- Summary: Perl module that implements Log4j
- Name: perl-%{real_name}
- Version: 1.110690
- Release: 1%{?_dist_release}
- License: GPL+ or Artistic
- Group: Development/Libraries
- Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/%{real_name}-%{version}.tar.gz
- URL: http://search.cpan.org/dist/Log-Dispatch-Config/
- BuildArch: noarch
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- BuildRequires: perl(AppConfig) >= 1.52
- BuildRequires: perl(ExtUtils::MakeMaker)
- BuildRequires: perl(File::Temp) >= 0.12
- BuildRequires: perl(IO::Scalar)
- BuildRequires: perl(Log::Dispatch) >= 2
- BuildRequires: perl(Test::More) >= 0.32
- Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
- Requires: perl(AppConfig) >= 1.52
- Requires: perl(File::Temp) >= 0.12
- Requires: perl(IO::Scalar)
- Requires: perl(Log::Dispatch) >= 2
- Requires: perl(Test::More) >= 0.32
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: shaolin
- %description
- Log-Dispatch-Config is a Perl module that implements Log4j.
- %prep
- %setup -q -n %{real_name}-%{version}
- %build
- perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
- make %{?_smp_mflags}
- %install
- rm -rf %{buildroot}
- make pure_install DESTDIR=%{buildroot}
- find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
- find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
- %{_fixperms} %{buildroot}
- %clean
- rm -rf %{buildroot}
- %check
- make test
- %files
- %defattr(-, root, root, 0755)
- %doc Changes MANIFEST META.yml README
- %doc %{_mandir}/man3/*
- %dir %{perl_vendorlib}/Log/Dispatch/Configurator
- %{perl_vendorlib}/Log/Dispatch/Configurator/*.pm
- %changelog
- * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.110690-1
- - initial build for Vine Linux
|