Compare commits
10 Commits
d3b3cc5ae7
...
62bcd8d7e3
Author | SHA256 | Date | |
---|---|---|---|
62bcd8d7e3 | |||
|
01e77e9101 | ||
|
01cab726db | ||
|
da189f508e | ||
|
a49aa830a8 | ||
|
ab939976c2 | ||
|
8b04b8a49e | ||
|
b7cb840a7e | ||
|
a3111d5fcd | ||
|
d207c85ca6 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c6234a579cad514294b0c87515136348104ec4f26ee97fa0a695f37e2ef5e412
|
||||
size 3857
|
3
Dancer-Plugin-REST-0.11.tar.gz
Normal file
3
Dancer-Plugin-REST-0.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:81b8916632ef464c913829fe661eb1a6cecba0f2f9f7e1935db128f2ab4518a8
|
||||
size 19134
|
20
cpanspec.yml
Normal file
20
cpanspec.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#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_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: -
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
@@ -1,3 +1,52 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 16 20:53:29 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.11
|
||||
see /usr/share/doc/packages/perl-Dancer-Plugin-REST/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 16 20:53:28 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.07
|
||||
see /usr/share/doc/packages/perl-Dancer-Plugin-REST/CHANGES
|
||||
|
||||
0.07 2011-11-01
|
||||
|
||||
* Minor updates to fix warnings with Dancer 1.3080
|
||||
* Fix POD
|
||||
(Alexis Sukrieh)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 31 14:34:21 UTC 2011 - coolo@novell.com
|
||||
|
||||
- updated to 0.06
|
||||
* Skip test t/03_resource.t if Dancer is not >= 1.3059_01
|
||||
A bug in Dancer::Test in previous versions prevent the test from passing.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 5 11:46:12 UTC 2011 - coolo@novell.com
|
||||
|
||||
- updated to 0.05
|
||||
* Fix the test suite with dancer_response
|
||||
* Fix dependencies: Dancer 1.3014
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 19 19:03:19 UTC 2011 - dbahi@novell.com
|
||||
|
||||
- update to 0.04 release
|
||||
- patching for testing removed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 8 21:14:08 UTC 2010 - dbahi@novell.com
|
||||
|
||||
- patched for testing to pass
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 7 16:09:24 UTC 2010 - dbahi@novell.com
|
||||
|
||||
- update to 0.03 release
|
||||
- add BuildRequires for more test coverage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:31:29 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Dancer (Version 1.1811)
|
||||
# spec file for package perl-Dancer-Plugin-REST
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,61 +12,56 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: perl-Dancer-Plugin-REST
|
||||
%define cpan_name Dancer-Plugin-REST
|
||||
Summary: A plugin for writing RESTful apps with Dancer
|
||||
Version: 0.0001_01
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Dancer-Plugin-REST/
|
||||
#Source: http://search.cpan.org/src/SUKRIA/Dancer-Plugin-REST-0.0001_01/lib/Dancer/Plugin/REST.pm
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
Name: perl-Dancer-Plugin-REST
|
||||
Version: 0.110.0
|
||||
Release: 0
|
||||
# 0.11 -> normalize -> 0.110.0
|
||||
%define cpan_version 0.11
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Plugin for writing RESTful apps with Dancer
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/Y/YA/YANICK/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(Test::More) >= 0.87
|
||||
BuildRequires: perl(Dancer) >= 1.178_01
|
||||
BuildRequires: perl(JSON)
|
||||
BuildRequires: perl(Dancer) >= 1.311.100
|
||||
BuildRequires: perl(Dancer::ModuleLoader)
|
||||
BuildRequires: perl(Dancer::Plugin)
|
||||
BuildRequires: perl(Dancer::Test)
|
||||
BuildRequires: perl(HTTP::Headers)
|
||||
BuildRequires: perl(Module::Build) >= 0.3601
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
Requires: perl(Dancer) >= 1.311.100
|
||||
Requires: perl(Dancer::Plugin)
|
||||
Provides: perl(Dancer::Plugin::REST) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
Requires: perl(Dancer) >= 1.178_01
|
||||
Requires: perl(JSON)
|
||||
|
||||
%description
|
||||
This plugin helps you write a RESTful webservice with Dancer.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_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
|
||||
# do not perl_process_packlist (noarch)
|
||||
# remove .packlist file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||
# remove perllocal.pod file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES README
|
||||
%doc Changes CONTRIBUTORS README README.mkdn
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user