Prabin Kumar Datta f3fceb5
%define		realname PyICU
Prabin Kumar Datta f3fceb5
Name:		pyicu
211f265
Version:	2.4.3
fcb7995
Release:	3%{?dist}
Prabin Kumar Datta f3fceb5
Summary:	Python extension wrapping IBM's ICU C++ libraries
9e5af82
Prabin Kumar Datta f3fceb5
License:	MIT
Prabin Kumar Datta f3fceb5
URL:		http://pyicu.osafoundation.org/
955a0e8
Source0:	https://files.pythonhosted.org/packages/source/P/%{realname}/%{realname}-%{version}.tar.gz
Prabin Kumar Datta f3fceb5
955a0e8
BuildRequires:	gcc-c++
955a0e8
BuildRequires:	libicu-devel
Bastien Nocera de58a6c
BuildRequires:	python3-devel
955a0e8
BuildRequires:	python3-pytest
Bastien Nocera de58a6c
BuildRequires:	python3-setuptools
955a0e8
BuildRequires:	python3-six
Prabin Kumar Datta f3fceb5
1aa4767
%global _description\
1aa4767
PyICU is Python extension wrapping IBM's International Components\
1aa4767
for Unicode C++ library (ICU). ICU is a mature, widely used set of\
1aa4767
C/C++ and Java libraries providing Unicode and Globalization support\
1aa4767
for software applications. ICU is widely portable and gives applications\
1aa4767
the same results on all platforms and between C/C++ and Javasoftware.
1aa4767
1aa4767
%description %_description
1aa4767
Bastien Nocera 13049f1
%package -n python3-pyicu
9e5af82
Summary: Python 3 extension wrapping IBM's ICU C++ libraries
9e5af82
9e5af82
%description -n python3-pyicu %_description
Bastien Nocera 13049f1
Prabin Kumar Datta f3fceb5
%prep
Prabin Kumar Datta f3fceb5
%setup -q -n %{realname}-%{version}
Prabin Kumar Datta f3fceb5
Prabin Kumar Datta f3fceb5
%build
c5f56f1
%py3_build
Bastien Nocera 13049f1
Prabin Kumar Datta f3fceb5
# we don't want to provide private python extension libs
Prabin Kumar Datta f3fceb5
%{?filter_setup:
c5f56f1
%filter_provides_in %{python3_sitearch}/.*\.so$
Prabin Kumar Datta f3fceb5
%filter_setup
Prabin Kumar Datta f3fceb5
}
Prabin Kumar Datta f3fceb5
Prabin Kumar Datta f3fceb5
%install
c5f56f1
%py3_install
Bastien Nocera 13049f1
Prabin Kumar Datta f3fceb5
# Remove tests
c5f56f1
rm -rf %{buildroot}%{python3_sitearch}/tests
Prabin Kumar Datta f3fceb5
c5f56f1
%check
c5f56f1
%{__python3} setup.py test
Bastien Nocera 13049f1
Bastien Nocera 13049f1
%files -n python3-pyicu
Bastien Nocera 13049f1
%doc LICENSE
c5f56f1
%{python3_sitearch}/PyICU*
c5f56f1
%{python3_sitearch}/__pycache__/PyICU*
c5f56f1
%{python3_sitearch}/icu/
c5f56f1
%{python3_sitearch}/_icu*
Prabin Kumar Datta f3fceb5
Prabin Kumar Datta f3fceb5
%changelog
fcb7995
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.4.3-3
fcb7995
- Rebuilt for Python 3.9
fcb7995
6f7e27e
* Fri May 15 2020 Pete Walter <pwalter@fedoraproject.org> - 2.4.3-2
6f7e27e
- Rebuild for ICU 67
6f7e27e
211f265
* Fri May 15 2020 Pete Walter <pwalter@fedoraproject.org> - 2.4.3-1
211f265
- Update to 2.4.3
211f265
afb0063
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-2
afb0063
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
afb0063
840cf64
* Mon Jan 13 2020 Pete Walter <pwalter@fedoraproject.org> - 2.4.2-1
840cf64
- Update to 2.4.2
840cf64
1da1529
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 2.3.1-1
1da1529
- Update to 2.3.1
1da1529
348dcd1
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.2-6
348dcd1
- Rebuilt for Python 3.8.0rc1 (#1748018)
348dcd1
3c5cea1
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.2-5
3c5cea1
- Rebuilt for Python 3.8
3c5cea1
bec6f02
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-4
bec6f02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
bec6f02
6704d52
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-3
6704d52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6704d52
c5f56f1
* Mon Jan 28 2019 Miro Hrončok <mhroncok@redhat.com> - 2.2-2
c5f56f1
- Subpackage python2-pyicu has been removed
c5f56f1
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
c5f56f1
702b22c
* Wed Jan 23 2019 Pete Walter <pwalter@fedoraproject.org> - 2.2-1
702b22c
- Update to 2.2
702b22c
71024ff
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
71024ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
71024ff
4947f8e
* Tue Jul 10 2018 Pete Walter <pwalter@fedoraproject.org> - 2.0.3-1
4947f8e
- Update to 2.0.3
4947f8e
28c6df9
* Tue Jul 10 2018 Pete Walter <pwalter@fedoraproject.org> - 2.0.2-5
28c6df9
- Rebuild for ICU 62
28c6df9
496f3b4
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.2-4
496f3b4
- Rebuilt for Python 3.7
496f3b4
6d2343e
* Mon Apr 30 2018 Pete Walter <pwalter@fedoraproject.org> - 2.0.2-3
6d2343e
- Rebuild for ICU 61.1
6d2343e
786fc1d
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
786fc1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
786fc1d
c47095c
* Tue Jan 23 2018 Pete Walter <pwalter@fedoraproject.org> - 2.0.2-1
c47095c
- Update to 2.0.2
c47095c
10afa00
* Tue Jan 09 2018 Pete Walter <pwalter@fedoraproject.org> - 2.0-1
10afa00
- Update to 2.0
10afa00
955a0e8
* Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 1.9.8-1
955a0e8
- Update to 1.9.8
955a0e8
6283780
* Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 1.5-25
6283780
- Rebuild for ICU 60.1
6283780
ec1028d
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.5-24
ec1028d
- Add Provides for the old name without %%_isa
ec1028d
1aa4767
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.5-23
1aa4767
- Python 2 binary package renamed to python2-pyicu
1aa4767
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
1aa4767
8efb1dd
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-22
8efb1dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
8efb1dd
322921c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-21
322921c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
322921c
Igor Gnatenko 3ceae50
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.5-20
Igor Gnatenko 3ceae50
- Rebuild due to bug in RPM (RHBZ #1468476)
Igor Gnatenko 3ceae50
84c91a6
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-19
84c91a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
84c91a6
da9fd95
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.5-18
da9fd95
- Rebuild for Python 3.6
da9fd95
3fe5dbf
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-17
3fe5dbf
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
3fe5dbf
b35a96f
* Fri Apr 15 2016 David Tardon <dtardon@redhat.com> - 1.5-16
b35a96f
- rebuild for ICU 57.1
b35a96f
4fc3563
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-15
4fc3563
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4fc3563
8988599
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-14
8988599
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
8988599
cc19d37
* Thu Oct 29 2015 Eike Rathke <erack@redhat.com> - 1.5-13
cc19d37
- fix build with ICU 56.1
cc19d37
5c00f07
* Wed Oct 28 2015 David Tardon <dtardon@redhat.com> - 1.5-12
5c00f07
- rebuild for ICU 56.1
5c00f07
45259cd
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-11
45259cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
45259cd
7fc7db0
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.5-10
7fc7db0
- Rebuilt for GCC 5 C++11 ABI change
7fc7db0
5083d6f
* Mon Jan 26 2015 David Tardon <dtardon@redhat.com> - 1.5-9
5083d6f
- rebuild for ICU 54.1
5083d6f
7089334
* Tue Aug 26 2014 David Tardon <dtardon@redhat.com> - 1.5-8
7089334
- rebuild for ICU 53.1
7089334
cbfce87
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-7
cbfce87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
cbfce87
Bastien Nocera 13049f1
* Wed Jul 16 2014 Bastien Nocera <bnocera@redhat.com> 1.5-6
Bastien Nocera 13049f1
- Build Python3 version as well (#917449)
Bastien Nocera 13049f1
5505c67
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-5
5505c67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5505c67
Parag Nemade 95ca088
* Fri Feb 14 2014 Parag Nemade <paragn AT fedoraproject DOT org> - 1.5-4
Parag Nemade 95ca088
- Rebuild for icu 52
Parag Nemade 95ca088
a9c0038
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-3
a9c0038
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a9c0038
d707e6a
* Mon Jul 22 2013 David Tardon <dtardon@redhat.com> - 1.5-2
d707e6a
- rebuild for ICU ABI break
d707e6a
9761a3e
* Fri Feb 08 2013 Jon Ciesla <limburgher@gmail.com> - 1.5-1
f518064
- libicu rebuild.
9761a3e
- Update to 1.5, 1.4 doesn't build on new libicu.
f518064
8eea358
* Wed Aug 22 2012 Tom Callaway <spot@fedoraproject.org> - 1.4-1
8eea358
- update to 1.4
8eea358
8a7d704
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
8a7d704
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8a7d704
0d7802a
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
0d7802a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0d7802a
b76577c
* Tue Oct 11 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2-1
b76577c
- New upstream 1.2 release
b76577c
Prabin Kumar Datta f3fceb5
* Sun May 08 2011 Prabin Kumar Datta <prabindatta@fedoraproject.org> - 1.1-2
Prabin Kumar Datta f3fceb5
- added CHANGES CREDITS under doc section
Prabin Kumar Datta f3fceb5
- updated URL
Prabin Kumar Datta f3fceb5
- added check section
Prabin Kumar Datta f3fceb5
Prabin Kumar Datta f3fceb5
* Thu Mar 17 2011 Prabin Kumar Datta <prabindatta@fedoraproject.org> - 1.1-1
Prabin Kumar Datta f3fceb5
- Initial build