Files
perl-JIRA-Client/perl-JIRA-Client.spec
2025-08-12 18:14:54 +02:00

86 lines
2.8 KiB
RPMSpec

#
# spec file for package perl-JIRA-Client
#
# 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
# 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/
#
%define cpan_name JIRA-Client
Name: perl-JIRA-Client
Version: 0.450.0
Release: 0
# 0.45 -> normalize -> 0.450.0
%define cpan_version 0.45
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: (DEPRECATED) Extended interface to JIRA's SOAP API
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/G/GN/GNUSTAVO/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Data::Util)
BuildRequires: perl(SOAP::Lite)
Requires: perl(Data::Util)
Requires: perl(SOAP::Lite)
Provides: perl(JIRA::Client) = %{version}
Provides: perl(RemoteComponent) = %{version}
Provides: perl(RemoteCustomFieldValue) = %{version}
Provides: perl(RemoteFieldValue) = %{version}
Provides: perl(RemoteVersion) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
*DEPRECATION WARNING*: Please, before using this module consider using the
newer JIRA::REST because JIRA's SOAP API was at
https://developer.atlassian.com/jiradev/latest-updates/soap-and-xml-rpc-api
-deprecation-notice on JIRA 6.0 and isn't available anymore on JIRA 7.0.
JIRA is a proprietary bug tracking system from Atlassian
(http://www.atlassian.com/software/jira/).
This module implements an Object Oriented wrapper around JIRA's SOAP API,
which is specified in
http://docs.atlassian.com/software/jira/docs/api/rpc-jira-plugin/latest/com
/atlassian/jira/rpc/soap/JiraSoapService.html. (This version is known work
against JIRA 4.4.)
Moreover, it implements some other methods to make it easier to do some
common operations.
%prep
%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
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes examples README
%license LICENSE
%changelog