INSTALL(DIRECTORY nltk DESTINATION /usr/lib/python2.7/site-packages)
INSTALL(DIRECTORY langdetect DESTINATION /usr/lib/python2.7/site-packages)
INSTALL(DIRECTORY nltk_data DESTINATION /usr/local/lib/)
-
-
-
-
-
BuildRequires: pkgconfig(python)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(rpc-port)
+Requires: %{name}-data-en
# runtime requires
Requires(post): /sbin/ldconfig
%description
Natural Language Processing library.
+%package data-en
+Summary: Data files for English
+Group: Graphics & UI Framework/Input
+
+%description data-en
+NLP Data files for English
+
%prep
%setup -q
%files
%manifest service/org.tizen.nlp.service.manifest
+%defattr(-,root,root,-)
%{_libdir}/*.so
%{_includedir}/*.h
%{_app_bin_dir}/*
%{TZ_SYS_RO_PACKAGES}/org.tizen.nlp.service.xml
%{_libdir}/python2.7/site-packages/langdetect/*
%{_libdir}/python2.7/site-packages/nltk/*
-/usr/local/lib/nltk_data/*
%license LICENSE
+
+%files data-en
+%manifest service/org.tizen.nlp.service.manifest
+%defattr(-,root,root,-)
+%license LICENSE
+/usr/local/lib/nltk_data/*