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

Revision 9142, 2.1 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


RevLine 
[4913]1%define pkgname Log-Dump
2
3# Basic Information
4Name:           perl-%{pkgname}
[9142]5Version:        0.14
[4913]6Release:        1%{?_dist_release}
[9142]7Summary:        simple logger mainly for debugging
8Summary(ja):    主にデバッグのための簡単なロガー
9
[4913]10License:        Artistic or GPL
11Group:          Development/Libraries
[9142]12URL:            http://search.cpan.org/dist/Log-Dump/
13
[4913]14Source0:        http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/%{pkgname}-%{version}.tar.gz
[9142]15
[4913]16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[9142]17BuildArch:      noarch
18# Dependency
19BuildRequires:  perl(ExtUtils::MakeMaker::CPANfile) >= 0.06
20BuildRequires:  perl(IO::Capture)
21BuildRequires:  perl(Test::More) >= 0.98
22BuildRequires:  perl(Test::UseAllModules) >= 0.09
[4913]23
[9142]24Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
25
[4913]26Vendor:         Project Vine
27Distribution:   Vine Linux
28Packager:       yasumichi
29
30
31%description
32Log::Dump is a simple logger mix-in mainly for debugging. This installs five
33methods into a caller (the class that used Log::Dump) via Sub::Install. The
34point is you don't need to load extra dumper modules or you don't need to
35concatenate messages. Just log things and they will be dumped (and
36concatenated if necessary) to stderr, and to a file if you prefer. Also, you
37can use these logging methods as class methods or object methods (though
38usually you don't want to mix them, especially when you're doing something
39special).
40
41#%%description -l ja
42
43%prep
[9142]44%setup -q -n Log-Dump-%{version}
[4913]45
46%build
[9142]47perl Makefile.PL INSTALLDIRS=vendor
48make %{?_smp_mflags}
[4913]49
50%install
[9142]51rm -rf $RPM_BUILD_ROOT
52make pure_install DESTDIR=$RPM_BUILD_ROOT
[4913]53
[9142]54find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
55find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
[4913]56
[9142]57%{_fixperms} $RPM_BUILD_ROOT/*
[4913]58
59
60%clean
[9142]61rm -rf $RPM_BUILD_ROOT
[4913]62
63
[9142]64%files
[4913]65%defattr(-,root,root)
66%doc Changes README
[9142]67%{perl_vendorlib}/Log/*
[4913]68%{_mandir}/*/*
69
70%changelog
[9142]71* Sun Dec  7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.14-1
72- updated to 0.14
73- moved to noarch
74- added BuildRequires: perl(ExtUtils::MakeMaker::CPANfile), perl(IO::Capture), perl(Test::More) and perl(Test::UseAllModules)
75
[4913]76* Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.09-1
77- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.