5f88bbe
%global module_name cangjie
5f88bbe
5f88bbe
Name:             python3-%{module_name}
5f88bbe
Summary:          Python bindings to libcangjie
bcbe633
Version:          1.2
b346e2f
Release:          23%{?dist}
5f88bbe
License:          LGPLv3+
9570647
URL:              http://cangjians.github.io/projects/pycangjie
9570647
Source0:          http://cangjians.github.io/downloads/pycangjie/%{module_name}-%{version}.tar.xz
5f88bbe
ece156a
Patch0:           0001-build-Explicitly-set-the-include-path.patch
ece156a
ebe8cf2
BuildRequires: make
ece156a
BuildRequires:    autoconf automake libtool
5f88bbe
BuildRequires:    python3-Cython
5f88bbe
BuildRequires:    python3-devel
bcbe633
BuildRequires:    libcangjie-devel >= 1.2
5f88bbe
5f88bbe
%description
5f88bbe
Python bindings to libcangjie, the library implementing Cangjie and Quick
5f88bbe
input methods.
5f88bbe
5f88bbe
5f88bbe
%prep
5f88bbe
%setup -q -n %{module_name}-%{version}
5f88bbe
ece156a
%patch0 -p1
ece156a
5f88bbe
5f88bbe
%build
ece156a
autoreconf -i
5f88bbe
%configure
5f88bbe
make %{?_smp_mflags}
5f88bbe
5f88bbe
5f88bbe
%install
5f88bbe
make install DESTDIR=%{buildroot}
5f88bbe
5f88bbe
find %{buildroot} -name '*.la' -exec rm -f '{}' \;
5f88bbe
5f88bbe
5f88bbe
%check
5f88bbe
make check
5f88bbe
5f88bbe
5f88bbe
%files
6e5d877
%doc AUTHORS COPYING README.md docs/*.md
5f88bbe
%{python3_sitearch}/%{module_name}
5f88bbe
5f88bbe
5f88bbe
%changelog
b346e2f
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-23
b346e2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b346e2f
a05bc2b
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2-22
a05bc2b
- Rebuilt for Python 3.9
a05bc2b
ce205e3
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-21
ce205e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ce205e3
b6a5324
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2-20
b6a5324
- Rebuilt for Python 3.8.0rc1 (#1748018)
b6a5324
4831996
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2-19
4831996
- Rebuilt for Python 3.8
4831996
2460cb6
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-18
2460cb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2460cb6
31256aa
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-17
31256aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
31256aa
63a36cb
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-16
63a36cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
63a36cb
9ca7e5b
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2-15
9ca7e5b
- Rebuilt for Python 3.7
9ca7e5b
c34c35a
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-14
c34c35a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c34c35a
0555df8
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-13
0555df8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0555df8
a2c7279
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-12
a2c7279
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a2c7279
3edf279
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-11
3edf279
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3edf279
5f64ef6
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.2-10
5f64ef6
- Rebuild for Python 3.6
5f64ef6
61182a4
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-9
61182a4
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
61182a4
c944e6a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-8
c944e6a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c944e6a
5387d5c
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
5387d5c
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
5387d5c
ece156a
* Fri Jun 19 2015 Mathieu Bridon <bochecha@daitauha.fr> - 1.2-6
ece156a
- Use upstream patch to fix the FTBFS.
ece156a
405b995
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
405b995
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
405b995
8cf5cab
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
8cf5cab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8cf5cab
34ceaa8
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
34ceaa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
34ceaa8
5878b8f
* Fri May 23 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.2-2
5878b8f
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
5878b8f
bcbe633
* Fri Apr 25 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 1.2-1
bcbe633
- New upstream 1.2 release.
bcbe633
6e5d877
* Sun Feb 02 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 1.1-1
6e5d877
- New upstream 1.1 release.
6e5d877
2cc20af
* Tue Dec 24 2013 Mathieu Bridon <bochecha@fedoraproject.org> - 1.0-1
2cc20af
- New upstream 1.0 release.
2cc20af
8d7ddce
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-2
8d7ddce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8d7ddce
5f88bbe
* Sat Apr 20 2013 Mathieu Bridon <bochecha@fedoraproject.org> - 0.0.1-1
5f88bbe
- Initial package for Fedora.