perl-Task-Kensho-Exceptions/perl-Task-Kensho-Exceptions.spec

93 lines
3.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Task-Kensho-Exceptions
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Task-Kensho-Exceptions
Version: 0.38
Release: 0
%define cpan_name Task-Kensho-Exceptions
Summary: A Glimpse at an Enlightened Perl: Exception Handling
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Task-Kensho-Exceptions/
Source: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build::Tiny) >= 0.038
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(TryCatch)
BuildRequires: perl(autodie)
Requires: perl(Try::Tiny)
Requires: perl(TryCatch)
Requires: perl(autodie)
%{perl_requires}
%description
From the http://en.wikipedia.org/wiki/Kensho manpage:
Kenshō (見性) (C. Wu) is a Japanese term for enlightenment experiences -
most commonly used within the confines of Zen Buddhism - literally
meaning "seeing one's nature"[1] or "true self."[2] It generally
"refers to the realization of nonduality of subject and object."[3]
the Task::Kensho manpage is a list of recommended modules for Enlightened
Perl development. CPAN is wonderful, but there are too many wheels and you
have to pick and choose amongst the various competing technologies.
The plan is for the Task::Kensho manpage to be a rough testing ground for
ideas that go into among other things the Enlightened Perl Organisation
Extended Core (EPO-EC).
The modules that are bundled by the Task::Kensho manpage are broken down
into several categories and are still being considered. They are all taken
from various top 100 most used perl modules lists and from discussions with
various subject matter experts in the Perl Community. That said, this
bundle does _not_ follow the guidelines established for the EPO-EC for peer
review via industry advisers.
Starting in 2011, the Task::Kensho manpage split its sub-groups of modules
into individually-installable tasks. Each the Task::Kensho manpage sub-task
is listed at the beginning of its section in this documentation.
When installing the Task::Kensho manpage itself, you will be asked to
install each sub-task in turn, or you can install individual tasks
separately. These individual tasks will always install all their modules by
default. This facilitates the ease and simplicity the distribution aims to
achieve.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE README
%changelog