5fe9ae1
%{?python_enable_dependency_generator}
a6d7e10
%global with_tests 0
a6d7e10
a6d7e10
Name:           adapt
950bca2
Version:        0.5.1
5dd913f
Release:        2%{?dist}
a6d7e10
Summary:        Mycroft's Adapt Intent Parser
fe6f587
License:        ASL 2.0
a6d7e10
URL:            https://adapt.mycroft.ai/
6b30c8f
Source0:        https://github.com/MycroftAI/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
a6d7e10
BuildArch:      noarch
a6d7e10
a6d7e10
BuildRequires:  libicu-devel
a6d7e10
BuildRequires:  pulseaudio-libs-devel
a6d7e10
BuildRequires:  python3-devel
a6d7e10
BuildRequires:  python3-setuptools
a6d7e10
a6d7e10
%if 0%{?with_tests}
5fe9ae1
BuildRequires:  python3dist(six)
b270f83
BuildRequires:  python3dist(pyee) = 5
a6d7e10
BuildRequires:  python3-pep8
a6d7e10
%endif
a6d7e10
a6d7e10
%description
a6d7e10
The Adapt Intent Parser is a flexible and extensible intent definition and 
a6d7e10
determination framework. It is intended to parse natural language text into a 
a6d7e10
structured intent that can then be invoked programatically.
a6d7e10
a6d7e10
%package -n python3-adapt
a6d7e10
Summary:        A python3 library for Adapt Intent Parser
a6d7e10
%{?python_provide:%python_provide python3-adapt}
a6d7e10
a6d7e10
%description -n python3-adapt
a6d7e10
A python3 library for Adapt Intent Parser.
a6d7e10
a6d7e10
%prep
8d94297
%autosetup -p1 -n %{name}-release-v%{version}
53a9005
rm -rf adapt-parser.egg-info
950bca2
sed -i 's/pyee==8.1.0/pyee>=8.1.0/' requirements.txt
a6d7e10
a6d7e10
%build
a6d7e10
%py3_build
a6d7e10
a6d7e10
%install
a6d7e10
%py3_install
a6d7e10
a6d7e10
%check
a6d7e10
%if %{with_tests}
a6d7e10
%{__python3} setup.py test
a6d7e10
%endif
a6d7e10
a6d7e10
%files -n python3-adapt
3f6c271
%license LICENSE.md
a6d7e10
%{python3_sitelib}/%{name}_parser-%{version}*
a6d7e10
%{python3_sitelib}/%{name}/
a6d7e10
a6d7e10
%changelog
5dd913f
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-2
5dd913f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
5dd913f
950bca2
* Tue Aug 24 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 0.5.1-1
950bca2
- Update to 0.5.1
950bca2
0fc034f
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-4
0fc034f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
0fc034f
79040e2
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.3.7-3
79040e2
- Rebuilt for Python 3.10
79040e2
a49eb68
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-2
a49eb68
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a49eb68
9bb00e4
* Tue Dec  1 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.3.7-1
9bb00e4
- Update to 0.3.7
9bb00e4
19e0275
* Thu Jul 30 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.3.6-1
19e0275
- Update to 0.3.6
19e0275
073fd66
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-3
073fd66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
073fd66
366894f
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.5-2
366894f
- Rebuilt for Python 3.9
366894f
8d94297
* Sun May 03 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.3.5-1
8d94297
- Update to 0.3.5
8d94297
53a9005
* Sat Feb  1 2020 Peter Robinson <pbrobinson@fedoraproject.org> 0.3.4-3
53a9005
- Handle newer pyee
53a9005
1656c79
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-2
1656c79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1656c79
c0875cd
* Fri Nov 29 2019 Peter Robinson <pbrobinson@fedoraproject.org> 0.3.4-1
c0875cd
- Update to 0.3.4
c0875cd
aba9412
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.3-5
aba9412
- Rebuilt for Python 3.8.0rc1 (#1748018)
aba9412
db75b21
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.3-4
db75b21
- Rebuilt for Python 3.8
db75b21
42faf77
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.3-3
42faf77
- Rebuilt for Python 3.8
42faf77
720b49e
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-2
720b49e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
720b49e
6b30c8f
* Tue Jul  2 2019 Peter Robinson <pbrobinson@fedoraproject.org> 0.3.3-1
6b30c8f
- Update to 0.3.3
6b30c8f
a77c072
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-3
a77c072
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a77c072
5fe9ae1
* Thu Dec 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.2-2
5fe9ae1
- Enable python dependency generator
5fe9ae1
fe6f587
* Sat Dec 22 2018 Peter Robinson <pbrobinson@fedoraproject.org> 0.3.2-1
fe6f587
- Update to 0.3.2
fe6f587
- License changed to Apache 2.0
fe6f587
07171d8
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-7
07171d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
07171d8
4eb139d
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-6
4eb139d
- Rebuilt for Python 3.7
4eb139d
d062d19
* Sun May 20 2018 Peter Robinson <pbrobinson@fedoraproject.org> 0.3.0-5
d062d19
- Drop python2 support
d062d19
e7771c7
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
e7771c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e7771c7
8bab377
* Mon Dec 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 0.3.0-3
8bab377
- Fix ambiguous Python 2 dependency declarations
8bab377
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
8bab377
4483190
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
4483190
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4483190
a6d7e10
* Sun Mar 19 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.3.0-1
a6d7e10
- Initial package