8
0

Compare commits

...

10 Commits

Author SHA256 Message Date
e6b580bc84 Accepting request 296046 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/296046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Router-Simple?expand=0&rev=5
2015-04-15 14:23:17 +00:00
Stephan Kulow
20dc93d550 Accepting request 295962 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/295962
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Router-Simple?expand=0&rev=10
2015-04-14 05:29:55 +00:00
Tomáš Chvátal
caa8953d44 Accepting request 202246 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/202246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Router-Simple?expand=0&rev=3
2013-10-06 12:56:08 +00:00
Stephan Kulow
1e98d102d8 update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Router-Simple?expand=0&rev=8
2013-10-04 18:17:33 +00:00
Stephan Kulow
0bab35c401 Accepting request 179300 from devel:languages:perl
needed for JSON::RPC

OBS-URL: https://build.opensuse.org/request/show/179300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Router-Simple?expand=0&rev=1
2013-06-21 11:32:32 +00:00
Stephan Kulow
a4bae42a48 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Router-Simple?expand=0&rev=6 2013-06-17 12:03:01 +00:00
Stephan Kulow
5df46a8bcc - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Router-Simple?expand=0&rev=5
2013-06-17 12:02:49 +00:00
Stephan Kulow
dee19c304e - update to 0.09
- modernize package

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Router-Simple?expand=0&rev=4
2013-06-17 12:00:45 +00:00
Stephan Kulow
335c696975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Router-Simple?expand=0&rev=3 2011-11-11 11:22:01 +00:00
Pascal Bleser
0fe363032c only run tests on >= 11.2, perl too old
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Router-Simple?expand=0&rev=2
2011-02-16 15:13:42 +00:00
4 changed files with 85 additions and 41 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ad3df9b8f913e5e46f7adc44638220ba0b9c713ca6f9ff25a5728308d4d32f52
size 35537

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:334615620f38eee15620ccdbf2dbd8b0a403ba1610e5b27d51737d8b0fb0c89d
size 19990

View File

@@ -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

View File

@@ -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