forked from pool/perl-Web-MREST
Compare commits
10 Commits
7f55e94ce8
...
5c3687afc6
Author | SHA256 | Date | |
---|---|---|---|
5c3687afc6 | |||
|
326878e137 | ||
|
d1ec06e7dd | ||
871143ec70 | |||
|
a300fb7652 | ||
9840c5cd1a | |||
|
800dd587d0 | ||
486666d6f4 | |||
a98ca8f075 | |||
2049155e50 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ab7a35d0844b03eda3f309dc5ad1a90c06cdb621dfb223ee0589ec65aab22935
|
|
||||||
size 77165
|
|
3
Web-MREST-0.290.tar.gz
Normal file
3
Web-MREST-0.290.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f8cb0fca1b1786c62f34ce079e7d50c0abb9ed1b3de80cf5c6e87d6f551b6c87
|
||||||
|
size 77467
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#description: |-
|
||||||
|
# override description from CPAN
|
||||||
|
#summary: override summary from CPAN
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_build: |-
|
||||||
|
# rm unused.files
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,53 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 29 12:58:20 UTC 2022 - Nathan Cutler <ncutler@suse.com>
|
||||||
|
|
||||||
|
- updated to 0.290
|
||||||
|
see /usr/share/doc/packages/perl-Web-MREST/Changes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 29 12:46:47 UTC 2022 - Nathan Cutler <ncutler@suse.com>
|
||||||
|
|
||||||
|
updated to 0.289
|
||||||
|
see /usr/share/doc/packages/perl-Web-MREST/Changes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 16 20:17:42 UTC 2017 - ncutler@suse.com
|
||||||
|
|
||||||
|
- updated to 0.288
|
||||||
|
see /usr/share/doc/packages/perl-Web-MREST/Changes
|
||||||
|
|
||||||
|
- build/ops: require latest App::CELL
|
||||||
|
- Report MREST_DEBUG_MODE setting at startup
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 26 07:46:51 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.287
|
||||||
|
see /usr/share/doc/packages/perl-Web-MREST/Changes
|
||||||
|
|
||||||
|
|
||||||
|
0.287 2017-02-25 09:38 CET
|
||||||
|
- Refrain from munging Plack::Session object
|
||||||
|
- script: store sessions in a dedicated directory in /tmp
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 27 15:03:21 UTC 2016 - ncutler@suse.com
|
||||||
|
|
||||||
|
- updated to 0.286
|
||||||
|
see /usr/share/doc/packages/perl-Web-MREST/Changes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 5 09:07:29 UTC 2016 - ncutler@suse.com
|
||||||
|
|
||||||
|
- add _service file, run it to update version in spec file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 5 07:03:05 UTC 2016 - ncutler@suse.com
|
||||||
|
|
||||||
|
- updated to 0.285
|
||||||
|
see /usr/share/doc/packages/perl-Web-MREST/Changes
|
||||||
|
- fix %doc in spec file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 2 11:25:43 UTC 2016 - tampakrap@opensuse.org
|
Fri Sep 2 11:25:43 UTC 2016 - tampakrap@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Web-MREST
|
# spec file for package perl-Web-MREST
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,25 +12,24 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Web-MREST
|
|
||||||
Version: 0.284
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name Web-MREST
|
%define cpan_name Web-MREST
|
||||||
|
Name: perl-Web-MREST
|
||||||
|
Version: 0.290
|
||||||
|
Release: 0
|
||||||
Summary: Minimalistic REST server
|
Summary: Minimalistic REST server
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/Perl
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Url: http://search.cpan.org/dist/Web-MREST/
|
Source0: Web-MREST-0.290.tar.gz
|
||||||
Source0: Web-MREST-0.284.tar.gz
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(App::CELL) >= 0.209
|
BuildRequires: perl(App::CELL) >= 0.209
|
||||||
BuildRequires: perl(File::ShareDir)
|
BuildRequires: perl(File::ShareDir) >= 1.00
|
||||||
BuildRequires: perl(HTTP::Request)
|
BuildRequires: perl(HTTP::Request)
|
||||||
BuildRequires: perl(HTTP::Request::Common)
|
BuildRequires: perl(HTTP::Request::Common)
|
||||||
BuildRequires: perl(JSON)
|
BuildRequires: perl(JSON)
|
||||||
@@ -45,7 +44,6 @@ BuildRequires: perl(Plack::Middleware::LogErrors)
|
|||||||
BuildRequires: perl(Plack::Middleware::Session)
|
BuildRequires: perl(Plack::Middleware::Session)
|
||||||
BuildRequires: perl(Plack::Middleware::StackTrace)
|
BuildRequires: perl(Plack::Middleware::StackTrace)
|
||||||
BuildRequires: perl(Plack::Runner)
|
BuildRequires: perl(Plack::Runner)
|
||||||
BuildRequires: perl(Plack::Session)
|
|
||||||
BuildRequires: perl(Plack::Test)
|
BuildRequires: perl(Plack::Test)
|
||||||
BuildRequires: perl(Pod::Simple::HTML)
|
BuildRequires: perl(Pod::Simple::HTML)
|
||||||
BuildRequires: perl(Pod::Simple::Text)
|
BuildRequires: perl(Pod::Simple::Text)
|
||||||
@@ -58,8 +56,8 @@ BuildRequires: perl(Try::Tiny)
|
|||||||
BuildRequires: perl(URI::Escape)
|
BuildRequires: perl(URI::Escape)
|
||||||
BuildRequires: perl(Web::MREST::CLI) >= 0.276
|
BuildRequires: perl(Web::MREST::CLI) >= 0.276
|
||||||
BuildRequires: perl(Web::Machine) >= 0.15
|
BuildRequires: perl(Web::Machine) >= 0.15
|
||||||
Requires: perl(App::CELL) >= 0.205
|
Requires: perl(App::CELL) >= 0.209
|
||||||
Requires: perl(File::ShareDir)
|
Requires: perl(File::ShareDir) >= 1.00
|
||||||
Requires: perl(HTTP::Request)
|
Requires: perl(HTTP::Request)
|
||||||
Requires: perl(HTTP::Request::Common)
|
Requires: perl(HTTP::Request::Common)
|
||||||
Requires: perl(JSON)
|
Requires: perl(JSON)
|
||||||
@@ -72,7 +70,6 @@ Requires: perl(Plack::Middleware::LogErrors)
|
|||||||
Requires: perl(Plack::Middleware::Session)
|
Requires: perl(Plack::Middleware::Session)
|
||||||
Requires: perl(Plack::Middleware::StackTrace)
|
Requires: perl(Plack::Middleware::StackTrace)
|
||||||
Requires: perl(Plack::Runner)
|
Requires: perl(Plack::Runner)
|
||||||
Requires: perl(Plack::Session)
|
|
||||||
Requires: perl(Pod::Simple::HTML)
|
Requires: perl(Pod::Simple::HTML)
|
||||||
Requires: perl(Pod::Simple::Text)
|
Requires: perl(Pod::Simple::Text)
|
||||||
Requires: perl(Test::Deep::NoTest)
|
Requires: perl(Test::Deep::NoTest)
|
||||||
@@ -84,25 +81,25 @@ Requires: perl(Web::Machine) >= 0.15
|
|||||||
|
|
||||||
%description
|
%description
|
||||||
MREST stands for "minimalistic" or "mechanical" REST server. (Mechanical
|
MREST stands for "minimalistic" or "mechanical" REST server. (Mechanical
|
||||||
because it relies on the Web::Machine manpage.)
|
because it relies on Web::Machine.)
|
||||||
|
|
||||||
the Web::MREST manpage provides a fully functional REST server that can be
|
Web::MREST provides a fully functional REST server that can be started with
|
||||||
started with a simple command. Without modification, the server provides a
|
a simple command. Without modification, the server provides a set of
|
||||||
set of generalized resources that can be used to demonstrate how the REST
|
generalized resources that can be used to demonstrate how the REST server
|
||||||
server works, or for testing.
|
works, or for testing.
|
||||||
|
|
||||||
Developers can use the Web::MREST manpage as a platform for implementing
|
Developers can use Web::MREST as a platform for implementing their own REST
|
||||||
their own REST servers, as described below. the App::Dochazka::REST manpage
|
servers, as described below. App::Dochazka::REST is a "real-world" example
|
||||||
is a "real-world" example of such a server.
|
of such a server.
|
||||||
|
|
||||||
For an introduction to REST and Web Services, see the
|
For an introduction to REST and Web Services, see
|
||||||
Web::MREST::WebServicesIntro manpage.
|
Web::MREST::WebServicesIntro.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
perl Build.PL installdirs=vendor
|
||||||
./Build build flags=%{?_smp_mflags}
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -113,7 +110,7 @@ Web::MREST::WebServicesIntro manpage.
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%doc Changes README.rst
|
||||||
%doc Changes config LICENSE README README.md
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user