12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- Summary: Error/exception handling in an OO-ish way with Perl
- Summary(ja): エラーや例外をオブジェクト指向的に扱う Perl モジュール
- Name: perl-Error
- Version: 0.17029
- Release: 1%{?_dist_release}
- Group: programming
- Vendor: Project Vine
- Distribution: Vine Linux
- License: Aristic and GPL
- URL: https://metacpan.org/pod/Error
- Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz
- BuildArch: noarch
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: perl >= 2:5.34.0
- Requires: perl >= 2:5.34.0
- %description
- The Error package provides two interfaces. Firstly Error provides
- a procedural interface to exception handling. Secondly Error is a
- base class for errors/exceptions that can either be thrown, for
- subsequent catch, or can simply be recorded.
- Errors in the class Error should not be thrown directly, but the
- user should throw errors from a sub-class of Error
- %description -l ja
- Errorパッケージはふたつのインターフェースを提供します。まず、
- Errorは例外を扱うための手続き型インターフェースを提供します。
- またErrorは、throw したり、あとでcatchしたり、もしくは単に
- recordしたりするための、エラーや例外のベースクラスとなること
- ができます。
- Errorクラスのエラーを直接throwするべきではありません。Errorの
- サブクラスを使ってエラーを投げるようにしてください。
- %prep
- %setup -q -n Error-%{version}
- %build
- CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
- make
- %install
- rm -rf %{buildroot}
- make DESTDIR=%{buildroot} install
- %{_fixperms} $RPM_BUILD_ROOT/*
- %check
- make test
- %clean
- rm -rf %{buildroot}
- %files
- %defattr(-,root,root)
- %license LICENSE
- %doc README ChangeLog examples
- %{perl_vendorlib}/Error*
- %{_mandir}/*/*
- %changelog
- * Thu Nov 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.17029-1
- - new upstream release.
- - built with perl-5.34.0.
- * Thu Jul 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.17022-1
- - new upstream release.
- - applied versioning presented by upstream.
- * Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 0.17-2
- - updated to 0.17016
- - add %%{perl_vendorlib}/Error directory in %%files
- * Thu Aug 28 2008 Shu KONNO <owa@bg.wakwak.com> 0.17-1vl5
- - applied new versioning policy, spec in utf-8
- - built with perl-5.10.0
- * Tue Sep 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-0vl1
- - updated to 0.17009
- - changed Group to Development/Libraries
- - install module files to vendor_perl dir
- * Sat May 10 2003 IWAI Masaharu <iwai@alib.jp> 0.15-0vl1
- - first build for Vine Linux
|