|
|
5fe9ae1 |
%{?python_enable_dependency_generator}
|
|
|
a6d7e10 |
%global with_tests 0
|
|
|
a6d7e10 |
|
|
|
a6d7e10 |
Name: adapt
|
|
|
fe6f587 |
Version: 0.3.2
|
|
|
a77c072 |
Release: 3%{?dist}
|
|
|
a6d7e10 |
Summary: Mycroft's Adapt Intent Parser
|
|
|
fe6f587 |
License: ASL 2.0
|
|
|
a6d7e10 |
URL: https://adapt.mycroft.ai/
|
|
|
a6d7e10 |
Source0: https://github.com/MycroftAI/adapt/archive/release/v%{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)
|
|
|
5fe9ae1 |
BuildRequires: python3dist(pyee) = 5.0.0
|
|
|
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
|
|
|
a6d7e10 |
%setup -q -n adapt-release-v%{version}
|
|
|
5fe9ae1 |
# https://github.com/MycroftAI/adapt/pull/90
|
|
|
5fe9ae1 |
sed -i -e "s/six==1.10.0/six/" setup.py
|
|
|
a6d7e10 |
|
|
|
a6d7e10 |
%build
|
|
|
a6d7e10 |
rm -rf adapt-parser.egg-info
|
|
|
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
|
|
|
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
|