forked from pool/libvoikko
Accepting request 532811 from devel:libraries:c_c++
1 OBS-URL: https://build.opensuse.org/request/show/532811 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvoikko?expand=0&rev=30
This commit is contained in:
commit
0262ae5bd0
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 5 11:18:38 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Stop mixing %buildroot and $RPM_BUILD_ROOT.
|
||||||
|
- Drop --with-pic which is a no-op with --disable-static.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 4 07:54:42 UTC 2017 - tuukka.pasanen@ilmi.fi
|
||||||
|
|
||||||
|
- Added python3 interface package libvoikko which is needed
|
||||||
|
by LibreOffice
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 25 13:17:13 UTC 2017 - tchvatal@suse.com
|
Tue Apr 25 13:17:13 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -67,13 +67,23 @@ Requires: libvoikko1 = %{version}
|
|||||||
Voikko is a Finnish spellchecker and hyphenator based on Malaga and
|
Voikko is a Finnish spellchecker and hyphenator based on Malaga and
|
||||||
Suomi-Malaga.
|
Suomi-Malaga.
|
||||||
|
|
||||||
|
%package -n python3-libvoikko
|
||||||
|
Summary: Python interface to %{name}
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
Requires: libvoikko1 = %{version}-%{release}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n python3-libvoikko
|
||||||
|
Python interface to libvoikko, library of language tools.
|
||||||
|
This module can be used to perform various natural language analysis
|
||||||
|
tasks on text.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--disable-silent_rules \
|
--disable-silent_rules \
|
||||||
--with-pic \
|
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--with-dictionary-path=%{_libexecdir}/voikko:%{_datadir}/voikko
|
--with-dictionary-path=%{_libexecdir}/voikko:%{_datadir}/voikko
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -85,6 +95,9 @@ make %{?_smp_mflags} check || :
|
|||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
|
install -d %{buildroot}/%{python3_sitelib}
|
||||||
|
install -pm 0644 python/libvoikko.py %{buildroot}/%{python3_sitelib}/
|
||||||
|
|
||||||
%post -n libvoikko1 -p /sbin/ldconfig
|
%post -n libvoikko1 -p /sbin/ldconfig
|
||||||
%postun -n libvoikko1 -p /sbin/ldconfig
|
%postun -n libvoikko1 -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -104,4 +117,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/libvoikko.pc
|
%{_libdir}/pkgconfig/libvoikko.pc
|
||||||
|
|
||||||
|
%files -n python3-libvoikko
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user