d613e7a
%global pypi_name PySimpleSOAP
d613e7a
%global rpmname pysimplesoap
d613e7a
d613e7a
Name:           python-%{rpmname}
d613e7a
Version:        1.16.2
92cba8d
Release:        20%{?dist}
d613e7a
Summary:        Python simple and lightweight SOAP Library
d613e7a
d613e7a
License:        LGPLv3+
d613e7a
URL:            https://github.com/pysimplesoap/pysimplesoap
d613e7a
Source0:        %{pypi_source}
d613e7a
Source1:        https://raw.githubusercontent.com/pysimplesoap/pysimplesoap/master/license.txt
0b15d42
Patch0:         httplib2.patch 
d613e7a
BuildArch:      noarch
d613e7a
d613e7a
BuildRequires:  python3-devel
d613e7a
BuildRequires:  python3dist(setuptools)
d613e7a
d613e7a
%description
d613e7a
Python simple and lightweight SOAP library for client and
d613e7a
server web services interfaces, aimed to be as small and easy
d613e7a
as possible, supporting most common functionality. 
d613e7a
d613e7a
%package -n     python3-%{rpmname}
d613e7a
Summary:        %{summary}
d613e7a
%{?python_provide:%python_provide python3-%{pypi_name}}
d613e7a
d613e7a
%description -n python3-%{rpmname}
d613e7a
Python simple and lightweight SOAP library for client and 
d613e7a
server web services interfaces, aimed to be as small and easy 
d613e7a
as possible, supporting most common functionality. 
d613e7a
d613e7a
%prep
5105a19
%autosetup -n %{pypi_name}-%{version} -p1
d613e7a
for lib in pysimplesoap/*.py; do
d613e7a
 sed -e '1{\@^#! /usr/bin/env python@d}' -e '1{\@^#!/usr/bin/env python@d}' \
d613e7a
     -e '1{\@^#!/usr/bin/python@d}' $lib > $lib.new &&
d613e7a
 touch -r $lib $lib.new &&
d613e7a
 mv $lib.new $lib
d613e7a
done
d613e7a
cp -p %{SOURCE1} .
d613e7a
d613e7a
%build
d613e7a
%py3_build
d613e7a
d613e7a
%install
d613e7a
%py3_install
d613e7a
d613e7a
%files -n python3-%{rpmname}
d613e7a
%license license.txt
d613e7a
%{python3_sitelib}/pysimplesoap
d613e7a
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
d613e7a
d613e7a
%changelog
92cba8d
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-20
92cba8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
92cba8d
4f29993
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-19
4f29993
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
4f29993
b414fd3
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-18
b414fd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
b414fd3
cdc8a69
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.16.2-17
cdc8a69
- Rebuilt for Python 3.12
cdc8a69
ed90eaf
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-16
ed90eaf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
ed90eaf
a89f276
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-15
a89f276
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
a89f276
670147e
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.16.2-14
670147e
- Rebuilt for Python 3.11
670147e
30a055e
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-13
30a055e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
30a055e
6892622
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-12
6892622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
6892622
f7031ee
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.16.2-11
f7031ee
- Rebuilt for Python 3.10
f7031ee
93414a9
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-10
93414a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
93414a9
c1fc49a
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-9
c1fc49a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c1fc49a
757754a
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.16.2-8
757754a
- Rebuilt for Python 3.9
757754a
5b584a1
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-7
5b584a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5b584a1
0b15d42
* Tue Jan 21 2020 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 1.16.2-6
0b15d42
- Apply https://github.com/pysimplesoap/pysimplesoap/pull/170
0b15d42
ca25532
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.16.2-5
ca25532
- Rebuilt for Python 3.8.0rc1 (#1748018)
ca25532
36b7bf0
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.16.2-4
36b7bf0
- Rebuilt for Python 3.8
36b7bf0
d613e7a
* Fri Aug 16 2019 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 1.16.2-3
d613e7a
- Add license, fix some other errors
d613e7a
d613e7a
* Sun Aug 11 2019 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 1.16.2-2
d613e7a
- Ensure there are no rpmlint warnings
d613e7a
d613e7a
* Sat Aug 10 2019 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 1.16.2-1
d613e7a
- Initial package.