[perl-Ouch] Initial import (#697401)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 160cb9e479d6cf490085052fac92cc218928eb84
Author: Petr Sabata <psabata@xxxxxxxxxx>
Date:   Wed Apr 20 11:09:35 2011 +0200

    Initial import (#697401)

 .gitignore     |    1 +
 perl-Ouch.spec |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f1ab554 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Ouch-0.0300.tar.gz
diff --git a/perl-Ouch.spec b/perl-Ouch.spec
new file mode 100644
index 0000000..6f22a3f
--- /dev/null
+++ b/perl-Ouch.spec
@@ -0,0 +1,49 @@
+Name:           perl-Ouch
+Version:        0.0300
+Release:        1%{?dist}
+Summary:        Exceptions that don't hurt
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Ouch/
+Source0:        http://www.cpan.org/authors/id/R/RI/RIZEN/Ouch-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(parent)
+BuildRequires:  perl(overload)
+# Tests
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Ouch provides a class for exception handling that doesn't require a lot of
+boilerplate, nor any up front definition. If Exception::Class is working
+for you, great! But if you want something that is faster, easier to use,
+requires less typing, and has no prereqs, but still gives you much of that
+same functionality, then Ouch is for you.
+
+%prep
+%setup -q -n Ouch-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes dist.ini LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Apr 18 2011 Petr Sabata <psabata@xxxxxxxxxx> 0.0300-1
+- Specfile autogenerated by cpanspec 1.78
+- Buildroot stuff removed
diff --git a/sources b/sources
index e69de29..e569894 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d7564126d2cc1c96f27ba05fd05674b0  Ouch-0.0300.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux