From 06e1785dc6e527db2362a540ad030dee76342b43 Mon Sep 17 00:00:00 2001 From: depesz Date: Mon, 15 Jul 2002 07:42:14 +0000 Subject: [PATCH] =?utf8?q?-=20spec=20by=20Rados=C5=82aw=20Zieli=C5=84ski?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Changed files: perl-Exception-Class.spec -> 1.1 --- perl-Exception-Class.spec | 48 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 perl-Exception-Class.spec diff --git a/perl-Exception-Class.spec b/perl-Exception-Class.spec new file mode 100644 index 0000000..eb97412 --- /dev/null +++ b/perl-Exception-Class.spec @@ -0,0 +1,48 @@ +%include /usr/lib/rpm/macros.perl +%define pdir Exception +%define pnam Class +Summary: %{pdir}::%{pnam} perl module +Summary(pl): Modu³ perla %{pdir}::%{pnam} +Name: perl-%{pdir}-%{pnam} +Version: 1.01 +Release: 1 +License: Artistic +Group: Development/Languages/Perl +Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +BuildRequires: rpm-perlprov >= 3.0.3-16 +BuildRequires: perl >= 5.005 +BuildRequires: perl(Class::Data::Inheritable) >= 0.02 +BuildRequires: perl(Devel::StackTrace) >= 0.9 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Exception::Class allows you to declare exceptions in your modules +in a manner similar to how exceptions are declared in Java. + +%description -l pl +Exception::Class pozwala na deklarowanie w modu³ach wyj±tków +w sposób podobny do stosowanego w Javie. + + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +perl Makefile.PL +%{__make} +%{__make} test + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README Changes LICENSE +%{perl_sitelib}/%{pdir}/%{pnam}.pm +%{_mandir}/man3/* -- 2.44.0