source: projects/specs/branches/6/p/perl-Class-ErrorHandler/perl-Class-ErrorHandler-vl.spec @ 3736

Revision 3736, 2.0 KB checked in by Takemikaduchi, 13 years ago (diff)

rebuild with perl-5.12.3

Line 
1%define module  Class-ErrorHandler
2%define name    perl-%{module}
3%define version 0.01
4%define release 3%{_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
15BuildArch:      noarch
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17
18Vendor:         Project Vine
19Distribution:   Vine Linux
20
21%description
22Class::ErrorHandler provides an error-handling mechanism that's
23generic enough to be used as the base class for a variety of OO classes.
24Subclasses inherit its two error-handling methods, error and errstr,
25to communicate error messages back to the calling program.
26
27#'
28%prep
29%setup -q -n %{module}-%{version}
30
31%build
32CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor"
33%{__make}
34
35%install
36rm -rf $RPM_BUILD_ROOT
37%makeinstall DESTDIR=$RPM_BUILD_ROOT
38rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
39# rm -rf %{buildroot}%{perl_vendorarch}
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%check
45%{__make} test
46
47%files
48%defattr(-,root,root)
49%doc README Changes
50%{_mandir}/man3*/*
51%{perl_vendorlib}/Class/*
52
53%changelog
54* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.01-3
55- rebuild with perl-5.12.3
56
57* Thu Mar 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.01-2vl5
58- changed Group to Development/Libraries
59- added Japanese summary
60
61* Fri May 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.01-1vl5
62- rebuild with perl 5.10
63- new versioning policy
64
65* Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.01-0vl1
66- rebuild for VineSeed
67
68* Sun Mar 09 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.01-0vl0.43
69- rebuild to release for VinePlus 4.2
70
71* Tue Mar 04 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.01-0vl0.42
72- built for Vine 4.2 (testing)
73
Note: See TracBrowser for help on using the repository browser.