Compare commits
No commits in common. "rawhide" and "f26" have entirely different histories.
4 changed files with 85 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/v0.3.0.tar.gz
|
||||
83
adapt.spec
Normal file
83
adapt.spec
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
%global with_tests 0
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: adapt
|
||||
Version: 0.3.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Mycroft's Adapt Intent Parser
|
||||
|
||||
License: LGPLv3
|
||||
URL: https://adapt.mycroft.ai/
|
||||
Source0: https://github.com/MycroftAI/adapt/archive/release/v%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: pulseaudio-libs-devel
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python-six
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-six
|
||||
|
||||
%if 0%{?with_tests}
|
||||
BuildRequires: python-pep8
|
||||
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 python2-adapt
|
||||
Summary: A python2 library for Adapt Intent Parser
|
||||
%{?python_provide:%python_provide python2-adapt}
|
||||
Requires: python2-ee
|
||||
|
||||
%description -n python2-adapt
|
||||
A python2 library for Adapt Intent Parser.
|
||||
|
||||
%package -n python3-adapt
|
||||
Summary: A python3 library for Adapt Intent Parser
|
||||
%{?python_provide:%python_provide python3-adapt}
|
||||
Requires: python3-ee
|
||||
|
||||
%description -n python3-adapt
|
||||
A python3 library for Adapt Intent Parser.
|
||||
|
||||
%prep
|
||||
%setup -q -n adapt-release-v%{version}
|
||||
|
||||
%build
|
||||
rm -rf adapt-parser.egg-info
|
||||
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
%if %{with_tests}
|
||||
%{__python2} setup.py test
|
||||
%{__python3} setup.py test
|
||||
%endif
|
||||
|
||||
|
||||
%files -n python2-adapt
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license LICENSE
|
||||
%{python_sitelib}/%{name}_parser-%{version}*
|
||||
%{python_sitelib}/%{name}/
|
||||
|
||||
%files -n python3-adapt
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/%{name}_parser-%{version}*
|
||||
%{python3_sitelib}/%{name}/
|
||||
|
||||
%changelog
|
||||
* Sun Mar 19 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.3.0-1
|
||||
- Initial package
|
||||
|
|
@ -1 +0,0 @@
|
|||
Mycroft is dead and as a result this is unmaintained
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (v0.3.0.tar.gz) = b067670051b440f2b3b322f10263e1f5a06c5c0ab34cc967c52df724e8e833068b905d74b4e8b58582aee1e59e67ad17c2427785a8d66168b90d1acbbdbf8299
|
||||
Loading…
Add table
Add a link
Reference in a new issue