8
0
Stephan Kulow
2014-02-24 08:57:52 +00:00
committed by Git OBS Bridge
parent e09f472efe
commit 13fc6ce9bc
4 changed files with 108 additions and 32 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Task-Kensho-ModuleDev
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,14 @@
Name: perl-Task-Kensho-ModuleDev
Version: 0.28
Version: 0.35
Release: 0
%define cpan_name Task-Kensho-ModuleDev
Summary: A Glimpse at an Enlightened Perl (ModuleDev)
License: GPL-1.0+ or Artistic-1.0
Summary: A Glimpse at an Enlightened Perl: Module Development
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Task-Kensho-ModuleDev/
#Source: http://www.cpan.org/authors/id/A/AP/APEIRON/Task-Kensho-ModuleDev-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
Source: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -35,48 +34,77 @@ BuildRequires: perl(Carp::Always)
BuildRequires: perl(Devel::NYTProf)
BuildRequires: perl(Dist::Zilla)
BuildRequires: perl(Modern::Perl)
BuildRequires: perl(Module::Install)
BuildRequires: perl(Module::Build::Tiny)
BuildRequires: perl(Module::Build::Tiny) >= 0.034
BuildRequires: perl(Perl::Critic)
BuildRequires: perl(Perl::Tidy)
BuildRequires: perl(Perl::Version)
BuildRequires: perl(Pod::Readme)
BuildRequires: perl(Software::License)
Requires: perl(Carp::Always)
Requires: perl(CPAN::Uploader)
Requires: perl(Devel::NYTProf)
Requires: perl(Dist::Zilla)
Requires: perl(Modern::Perl)
Requires: perl(Module::Install)
Requires: perl(Perl::Critic)
Requires: perl(Perl::Tidy)
Requires: perl(Perl::Version)
Requires: perl(Pod::Readme)
Requires: perl(Software::License)
BuildRequires: perl(version)
Recommends: perl(Carp::Always)
Recommends: perl(CPAN::Uploader)
Recommends: perl(Devel::NYTProf)
Recommends: perl(Dist::Zilla)
Recommends: perl(Modern::Perl)
Recommends: perl(Module::Build::Tiny)
Recommends: perl(Perl::Critic)
Recommends: perl(Perl::Tidy)
Recommends: perl(Perl::Version)
Recommends: perl(Pod::Readme)
Recommends: perl(Software::License)
%{perl_requires}
%description
sorry, no description found
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 first cut at building 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} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%{__perl} Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
%{__make} test
./Build test
%install
%perl_make_install
%perl_process_packlist
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes MYMETA.yml README
%defattr(-,root,root,755)
%doc Changes LICENSE README README.md
%changelog