]> git.pld-linux.org Git - packages/perl-Exception-Class.git/commitdiff
- spec by Radosław Zieliński
authordepesz <depesz@depesz.pl>
Mon, 15 Jul 2002 07:42:14 +0000 (07:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Exception-Class.spec -> 1.1

perl-Exception-Class.spec [new file with mode: 0644]

diff --git a/perl-Exception-Class.spec b/perl-Exception-Class.spec
new file mode 100644 (file)
index 0000000..eb97412
--- /dev/null
@@ -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/*
This page took 0.224203 seconds and 4 git commands to generate.