2018-12-27 15:20:21 +00:00
|
|
|
%{?python_enable_dependency_generator}
|
2017-05-30 12:44:54 +00:00
|
|
|
%global with_tests 0
|
|
|
|
|
|
|
|
Name: adapt
|
2019-07-02 08:13:18 +00:00
|
|
|
Version: 0.3.3
|
|
|
|
Release: 1%{?dist}
|
2017-05-30 12:44:54 +00:00
|
|
|
Summary: Mycroft's Adapt Intent Parser
|
2018-12-23 07:30:46 +00:00
|
|
|
License: ASL 2.0
|
2017-05-30 12:44:54 +00:00
|
|
|
URL: https://adapt.mycroft.ai/
|
2019-07-02 08:13:18 +00:00
|
|
|
Source0: https://github.com/MycroftAI/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2017-05-30 12:44:54 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: libicu-devel
|
|
|
|
BuildRequires: pulseaudio-libs-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
%if 0%{?with_tests}
|
2018-12-27 15:20:21 +00:00
|
|
|
BuildRequires: python3dist(six)
|
|
|
|
BuildRequires: python3dist(pyee) = 5.0.0
|
2017-05-30 12:44:54 +00:00
|
|
|
BuildRequires: python3-pep8
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Adapt Intent Parser is a flexible and extensible intent definition and
|
|
|
|
determination framework. It is intended to parse natural language text into a
|
|
|
|
structured intent that can then be invoked programatically.
|
|
|
|
|
|
|
|
%package -n python3-adapt
|
|
|
|
Summary: A python3 library for Adapt Intent Parser
|
|
|
|
%{?python_provide:%python_provide python3-adapt}
|
|
|
|
|
|
|
|
%description -n python3-adapt
|
|
|
|
A python3 library for Adapt Intent Parser.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n adapt-release-v%{version}
|
2018-12-27 15:20:21 +00:00
|
|
|
# https://github.com/MycroftAI/adapt/pull/90
|
|
|
|
sed -i -e "s/six==1.10.0/six/" setup.py
|
2017-05-30 12:44:54 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
rm -rf adapt-parser.egg-info
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
%check
|
|
|
|
%if %{with_tests}
|
|
|
|
%{__python3} setup.py test
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%files -n python3-adapt
|
2018-12-23 14:19:47 +00:00
|
|
|
%license LICENSE.md
|
2017-05-30 12:44:54 +00:00
|
|
|
%{python3_sitelib}/%{name}_parser-%{version}*
|
|
|
|
%{python3_sitelib}/%{name}/
|
|
|
|
|
|
|
|
%changelog
|
2019-07-02 08:13:18 +00:00
|
|
|
* Tue Jul 2 2019 Peter Robinson <pbrobinson@fedoraproject.org> 0.3.3-1
|
|
|
|
- Update to 0.3.3
|
|
|
|
|
2019-01-31 12:56:32 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-12-27 15:20:21 +00:00
|
|
|
* Thu Dec 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.2-2
|
|
|
|
- Enable python dependency generator
|
|
|
|
|
2018-12-23 07:30:46 +00:00
|
|
|
* Sat Dec 22 2018 Peter Robinson <pbrobinson@fedoraproject.org> 0.3.2-1
|
|
|
|
- Update to 0.3.2
|
|
|
|
- License changed to Apache 2.0
|
|
|
|
|
2018-07-12 19:58:41 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-19 08:39:23 +00:00
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-6
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-05-20 12:06:09 +00:00
|
|
|
* Sun May 20 2018 Peter Robinson <pbrobinson@fedoraproject.org> 0.3.0-5
|
|
|
|
- Drop python2 support
|
|
|
|
|
2018-02-07 01:50:55 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-12-11 13:41:53 +00:00
|
|
|
* Mon Dec 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 0.3.0-3
|
|
|
|
- Fix ambiguous Python 2 dependency declarations
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
2017-07-26 02:35:17 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-05-30 12:44:54 +00:00
|
|
|
* Sun Mar 19 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.3.0-1
|
|
|
|
- Initial package
|