source: projects/specs/trunk/p/perl-Class-ErrorHandler/perl-Class-ErrorHandler-vl.spec @ 9109

Revision 9109, 2.2 KB checked in by inagaki, 9 years ago (diff)

2014-11-22 Ryoichi INAGAKI <ryo1@…>

  • perl-Class-ErrorHander?, perl-Glib, perl-Package-Generator, perl-Test-Test-Without-Module: updated
  • perl-Crypt-DSA: changed Group
  • perl-File-Flat, perl-Test-{ClassAPI, MockModule?, Perl-Critic}, perl-prefork: rebuilt
Line 
1%define module  Class-ErrorHandler
2%define name    perl-%{module}
3%define version 0.03
4%define release 1%{_dist_release}
5
6Name:           %{name}
7Version:        %{version}
8Release:        %{release}
9Summary:        Base class for error handling
10Summary(ja):    Perl 上でエラーを扱うための基本クラス
11Group:          Development/Libraries
12License:        GPL or Artistic
13URL:            http://search.cpan.org/dist/%{module}/
14Source:         http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/%{module}-%{version}.tar.gz
15
16BuildArch:      noarch
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18BuildRequires:  perl(ExtUtils::MakeMaker)
19Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
20
21Vendor:         Project Vine
22Distribution:   Vine Linux
23
24%description
25Class::ErrorHandler provides an error-handling mechanism that's
26generic enough to be used as the base class for a variety of OO classes.
27Subclasses inherit its two error-handling methods, error and errstr,
28to communicate error messages back to the calling program.
29
30#'
31%prep
32%setup -q -n %{module}-%{version}
33
34%build
35%{__perl} ./Build.PL installdirs=vendor
36./Build
37
38%install
39rm -rf $RPM_BUILD_ROOT
40./Build install destdir=$RPM_BUILD_ROOT
41
42find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
43find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
44%{_fixperms} $RPM_BUILD_ROOT
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%check
50./Build test
51
52%files
53%defattr(-,root,root)
54%doc Changes LICENSE README.md
55%{_mandir}/man3*/*
56%{perl_vendorlib}/Class/*
57
58%changelog
59* Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.03-1
60- updated to 0.03
61- built with perl 5.16.3
62
63* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.01-3
64- rebuild with perl-5.12.3
65
66* Thu Mar 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.01-2vl5
67- changed Group to Development/Libraries
68- added Japanese summary
69
70* Fri May 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.01-1vl5
71- rebuild with perl 5.10
72- new versioning policy
73
74* Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.01-0vl1
75- rebuild for VineSeed
76
77* Sun Mar 09 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.01-0vl0.43
78- rebuild to release for VinePlus 4.2
79
80* Tue Mar 04 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.01-0vl0.42
81- built for Vine 4.2 (testing)
82
Note: See TracBrowser for help on using the repository browser.