forked from pool/perl-Router-Simple
Compare commits
10 Commits
9d5ad470ac
...
e6b580bc84
Author | SHA256 | Date | |
---|---|---|---|
e6b580bc84 | |||
|
20dc93d550 | ||
|
caa8953d44 | ||
|
1e98d102d8 | ||
|
0bab35c401 | ||
|
a4bae42a48 | ||
|
5df46a8bcc | ||
|
dee19c304e | ||
|
335c696975 | ||
|
0fe363032c |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ad3df9b8f913e5e46f7adc44638220ba0b9c713ca6f9ff25a5728308d4d32f52
|
||||
size 35537
|
3
Router-Simple-0.17.tar.gz
Normal file
3
Router-Simple-0.17.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:334615620f38eee15620ccdbf2dbd8b0a403ba1610e5b27d51737d8b0fb0c89d
|
||||
size 19990
|
@@ -1,3 +1,40 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 13 19:07:42 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.17
|
||||
see /usr/share/doc/packages/perl-Router-Simple/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 4 09:13:25 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 0.15
|
||||
- minil migrate. (tokuhirom)
|
||||
- typo fix (David Steinbrunner)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 17 12:01:30 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 0.14
|
||||
- added 'routes' acecessor for Router::Simple class.
|
||||
And switch to Class::Accessor::Lite.
|
||||
- Added ->method_not_allowed()
|
||||
- minor pod fix
|
||||
- Added warnings when regexp contains parens.
|
||||
i.e. following code does not works.
|
||||
/{year:(\d+)}/{month:(\d+)}{day:(\d+)}
|
||||
|
||||
Q. Why don't you croak?
|
||||
A. I don't want to break existed code.
|
||||
But I may change this feature in future version.
|
||||
- handle empty PATH_INFO as root
|
||||
(tokuhirom)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 17 12:00:26 UTC 2013 - coolo@suse.com
|
||||
|
||||
- update to 0.09
|
||||
- modernize package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 16 14:58:52 CET 2011 - pascal.bleser@opensuse.org
|
||||
|
||||
|
@@ -1,59 +1,66 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
#
|
||||
# spec file for package perl-Router-Simple
|
||||
#
|
||||
# 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-Router-Simple
|
||||
Version: 0.08
|
||||
Version: 0.17
|
||||
Release: 0
|
||||
Summary: Simple HTTP router
|
||||
Source: http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Router-Simple-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/Router-Simple
|
||||
%define cpan_name Router-Simple
|
||||
Summary: simple HTTP router
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
%{perl_requires}
|
||||
Url: http://search.cpan.org/dist/Router-Simple/
|
||||
Source: http://www.cpan.org/authors/id/T/TO/TOKUHIROM/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: make
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(List::Util)
|
||||
BuildRequires: perl(Class::Accessor::Lite) >= 0.05
|
||||
BuildRequires: perl(Module::Build) >= 0.38
|
||||
BuildRequires: perl(Test::More) >= 0.98
|
||||
BuildRequires: perl(parent)
|
||||
BuildRequires: perl(Class::Accessor::Fast)
|
||||
Requires: perl(List::Util)
|
||||
Requires: perl(Class::Accessor::Lite) >= 0.05
|
||||
Requires: perl(parent)
|
||||
Requires: perl(Class::Accessor::Fast)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Router::Simple is a simple router class.
|
||||
|
||||
Its main purpose is to serve as a dispatcher for web applications.
|
||||
Router::Simple can match against PSGI $env directly, which means it's easy
|
||||
to use with PSGI supporting web frameworks.
|
||||
|
||||
Router::Simple can match against PSGI '$env' directly, which means it's
|
||||
easy to use with PSGI supporting web frameworks.
|
||||
|
||||
%prep
|
||||
%setup -q -n "Router-Simple-%{version}"
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%__make test
|
||||
./Build test
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
%install
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes README.mkdn
|
||||
%dir %{perl_vendorlib}/Router
|
||||
%{perl_vendorlib}/Router/Simple
|
||||
%{perl_vendorlib}/Router/Simple.pm
|
||||
%dir %{perl_vendorarch}/auto/Router
|
||||
%{perl_vendorarch}/auto/Router/Simple
|
||||
%doc %{perl_man3dir}/Router::Simple.%{perl_man3ext}%{ext_man}
|
||||
%doc %{perl_man3dir}/Router::Simple::*.%{perl_man3ext}%{ext_man}
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE minil.toml README.md
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user