2019-04-03 07:48:34 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-JIRA-REST
|
|
|
|
#
|
2024-03-07 17:23:19 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2019-04-03 07:48:34 +00:00
|
|
|
#
|
|
|
|
# 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 https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
Accepting request 870479 from devel:languages:perl:autoupdate
- updated to 0.021
see /usr/share/doc/packages/perl-JIRA-REST/Changes
0.021 2021-02-05 22:14:44-03:00 America/Sao_Paulo
[Deprecation]
- Since CentOS 6 reached EOL on December/2020, following our policy we're
dropping support for it and, consequently, for Perl 5.10. Now Jira::REST
requires Perl 5.16, which ships with CentOS 7, which will reach EOL on July,
2024.
[Enhancement]
- Now the constructor sets up a cookie jar on the LWP::UserAgent object
inside, so that it can keep and use the session cookies it gets from the
server, making it possible to establish and keep user sessions. This is
particularly useful when interacting with Jira Data Center instances.
[New feature]
- A new constructor called 'new_session' is implemented. It accepts the same
options as the default constructor 'new', invokes it and then creates a user
session, which is destroyed during destruction of the JIRA::REST
object.
OBS-URL: https://build.opensuse.org/request/show/870479
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JIRA-REST?expand=0&rev=3
2021-02-11 11:26:56 +00:00
|
|
|
%define cpan_name JIRA-REST
|
2019-04-03 07:48:34 +00:00
|
|
|
Name: perl-JIRA-REST
|
2024-03-07 17:23:19 +00:00
|
|
|
Version: 0.24.0
|
2019-04-03 07:48:34 +00:00
|
|
|
Release: 0
|
2024-03-07 17:23:19 +00:00
|
|
|
%define cpan_version 0.024
|
2019-04-03 07:48:34 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-04-13 19:20:42 +00:00
|
|
|
Summary: Thin wrapper around Jira's REST API
|
Accepting request 870479 from devel:languages:perl:autoupdate
- updated to 0.021
see /usr/share/doc/packages/perl-JIRA-REST/Changes
0.021 2021-02-05 22:14:44-03:00 America/Sao_Paulo
[Deprecation]
- Since CentOS 6 reached EOL on December/2020, following our policy we're
dropping support for it and, consequently, for Perl 5.10. Now Jira::REST
requires Perl 5.16, which ships with CentOS 7, which will reach EOL on July,
2024.
[Enhancement]
- Now the constructor sets up a cookie jar on the LWP::UserAgent object
inside, so that it can keep and use the session cookies it gets from the
server, making it possible to establish and keep user sessions. This is
particularly useful when interacting with Jira Data Center instances.
[New feature]
- A new constructor called 'new_session' is implemented. It accepts the same
options as the default constructor 'new', invokes it and then creates a user
session, which is destroyed during destruction of the JIRA::REST
object.
OBS-URL: https://build.opensuse.org/request/show/870479
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JIRA-REST?expand=0&rev=3
2021-02-11 11:26:56 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2024-03-07 17:23:19 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/G/GN/GNUSTAVO/%{cpan_name}-%{cpan_version}.tar.gz
|
2019-11-05 23:19:07 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:14:54 +02:00
|
|
|
Source100: README.md
|
2019-04-03 07:48:34 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Config::Identity) >= 0.0019
|
|
|
|
BuildRequires: perl(HTML::TreeBuilder)
|
Accepting request 870479 from devel:languages:perl:autoupdate
- updated to 0.021
see /usr/share/doc/packages/perl-JIRA-REST/Changes
0.021 2021-02-05 22:14:44-03:00 America/Sao_Paulo
[Deprecation]
- Since CentOS 6 reached EOL on December/2020, following our policy we're
dropping support for it and, consequently, for Perl 5.10. Now Jira::REST
requires Perl 5.16, which ships with CentOS 7, which will reach EOL on July,
2024.
[Enhancement]
- Now the constructor sets up a cookie jar on the LWP::UserAgent object
inside, so that it can keep and use the session cookies it gets from the
server, making it possible to establish and keep user sessions. This is
particularly useful when interacting with Jira Data Center instances.
[New feature]
- A new constructor called 'new_session' is implemented. It accepts the same
options as the default constructor 'new', invokes it and then creates a user
session, which is destroyed during destruction of the JIRA::REST
object.
OBS-URL: https://build.opensuse.org/request/show/870479
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JIRA-REST?expand=0&rev=3
2021-02-11 11:26:56 +00:00
|
|
|
BuildRequires: perl(HTTP::CookieJar::LWP)
|
2019-04-03 07:48:34 +00:00
|
|
|
BuildRequires: perl(HTTP::Status)
|
|
|
|
BuildRequires: perl(JSON) >= 2.23
|
|
|
|
BuildRequires: perl(REST::Client)
|
|
|
|
BuildRequires: perl(URI)
|
|
|
|
BuildRequires: perl(URI::Escape)
|
|
|
|
Requires: perl(Config::Identity) >= 0.0019
|
|
|
|
Requires: perl(HTML::TreeBuilder)
|
Accepting request 870479 from devel:languages:perl:autoupdate
- updated to 0.021
see /usr/share/doc/packages/perl-JIRA-REST/Changes
0.021 2021-02-05 22:14:44-03:00 America/Sao_Paulo
[Deprecation]
- Since CentOS 6 reached EOL on December/2020, following our policy we're
dropping support for it and, consequently, for Perl 5.10. Now Jira::REST
requires Perl 5.16, which ships with CentOS 7, which will reach EOL on July,
2024.
[Enhancement]
- Now the constructor sets up a cookie jar on the LWP::UserAgent object
inside, so that it can keep and use the session cookies it gets from the
server, making it possible to establish and keep user sessions. This is
particularly useful when interacting with Jira Data Center instances.
[New feature]
- A new constructor called 'new_session' is implemented. It accepts the same
options as the default constructor 'new', invokes it and then creates a user
session, which is destroyed during destruction of the JIRA::REST
object.
OBS-URL: https://build.opensuse.org/request/show/870479
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JIRA-REST?expand=0&rev=3
2021-02-11 11:26:56 +00:00
|
|
|
Requires: perl(HTTP::CookieJar::LWP)
|
2019-04-03 07:48:34 +00:00
|
|
|
Requires: perl(HTTP::Status)
|
|
|
|
Requires: perl(JSON) >= 2.23
|
|
|
|
Requires: perl(REST::Client)
|
|
|
|
Requires: perl(URI)
|
|
|
|
Requires: perl(URI::Escape)
|
2024-03-07 17:23:19 +00:00
|
|
|
Provides: perl(JIRA::REST) = %{version}
|
2024-03-08 22:34:31 +00:00
|
|
|
%undefine __perllib_provides
|
2019-04-03 07:48:34 +00:00
|
|
|
Recommends: perl(HTTP::Status)
|
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
|
|
|
at http://www.atlassian.com/software/jira/ is a proprietary bug tracking
|
|
|
|
system from Atlassian.
|
|
|
|
|
|
|
|
This module implements a very thin wrapper around Jira's REST APIs:
|
|
|
|
|
2019-11-05 23:19:07 +00:00
|
|
|
* * at https://docs.atlassian.com/software/jira/docs/api/REST/latest/
|
2019-04-03 07:48:34 +00:00
|
|
|
|
|
|
|
This rich API superseded the old Jira SOAP
|
|
|
|
API|http://docs.atlassian.com/software/jira/docs/api/rpc-jira-plugin/latest
|
|
|
|
/com/atlassian/jira/rpc/soap/JiraSoapService.html which isn't supported
|
|
|
|
anymore as of Jira version 7.
|
|
|
|
|
|
|
|
The endpoints of this API have a path prefix of '/rest/api/VERSION'.
|
|
|
|
|
|
|
|
* * at https://docs.atlassian.com/jira-servicedesk/REST/server/
|
|
|
|
|
|
|
|
This API deals with the objects of the Jira Service Desk application. Its
|
|
|
|
endpoints have a path prefix of '/rest/servicedeskapi'.
|
|
|
|
|
|
|
|
* * at https://docs.atlassian.com/jira-software/REST/server/
|
|
|
|
|
|
|
|
This API deals with the objects of the Jira Software application. Its
|
|
|
|
endpoints have a path prefix of '/rest/agile/VERSION'.
|
|
|
|
|
|
|
|
%prep
|
2024-03-07 17:23:19 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2019-04-03 07:48:34 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
Accepting request 870479 from devel:languages:perl:autoupdate
- updated to 0.021
see /usr/share/doc/packages/perl-JIRA-REST/Changes
0.021 2021-02-05 22:14:44-03:00 America/Sao_Paulo
[Deprecation]
- Since CentOS 6 reached EOL on December/2020, following our policy we're
dropping support for it and, consequently, for Perl 5.10. Now Jira::REST
requires Perl 5.16, which ships with CentOS 7, which will reach EOL on July,
2024.
[Enhancement]
- Now the constructor sets up a cookie jar on the LWP::UserAgent object
inside, so that it can keep and use the session cookies it gets from the
server, making it possible to establish and keep user sessions. This is
particularly useful when interacting with Jira Data Center instances.
[New feature]
- A new constructor called 'new_session' is implemented. It accepts the same
options as the default constructor 'new', invokes it and then creates a user
session, which is destroyed during destruction of the JIRA::REST
object.
OBS-URL: https://build.opensuse.org/request/show/870479
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JIRA-REST?expand=0&rev=3
2021-02-11 11:26:56 +00:00
|
|
|
%make_build
|
2019-04-03 07:48:34 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2022-01-01 17:44:34 +00:00
|
|
|
%doc Changes examples README.md
|
2019-04-03 07:48:34 +00:00
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%changelog
|