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

Revision 9142, 2.1 KB checked in by inagaki, 6 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 pkgname Log-Dump
2
3# Basic Information
4Name:           perl-%{pkgname}
5Version:        0.14
6Release:        1%{?_dist_release}
7Summary:        simple logger mainly for debugging
8Summary(ja):    主にデバッグのための簡単なロガー
9
10License:        Artistic or GPL
11Group:          Development/Libraries
12URL:            http://search.cpan.org/dist/Log-Dump/
13
14Source0:        http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/%{pkgname}-%{version}.tar.gz
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
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
23
24Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
25
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
44%setup -q -n Log-Dump-%{version}
45
46%build
47perl Makefile.PL INSTALLDIRS=vendor
48make %{?_smp_mflags}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52make pure_install DESTDIR=$RPM_BUILD_ROOT
53
54find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
55find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
56
57%{_fixperms} $RPM_BUILD_ROOT/*
58
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63
64%files
65%defattr(-,root,root)
66%doc Changes README
67%{perl_vendorlib}/Log/*
68%{_mandir}/*/*
69
70%changelog
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
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.