Accepting request 447487 from home:pluskalm:branches:devel:libraries:c_c++
- Update to version 1.6.0: OBS-URL: https://build.opensuse.org/request/show/447487 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/hunspell?expand=0&rev=56
This commit is contained in:
@@ -16,10 +16,10 @@
|
||||
#
|
||||
|
||||
|
||||
%define ver 1.5
|
||||
%define libname lib%{name}-1_5-0
|
||||
%define ver 1.6
|
||||
%define libname lib%{name}-1_6-0
|
||||
Name: hunspell
|
||||
Version: 1.5.4
|
||||
Version: 1.6.0
|
||||
Release: 0
|
||||
Summary: A spell checker and morphological analyzer library
|
||||
License: (GPL-2.0+ or LGPL-2.1+ or MPL-1.1+) and LGPL-2.1+
|
||||
@@ -27,10 +27,13 @@ Group: Productivity/Office/Other
|
||||
Url: https://hunspell.github.io
|
||||
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libstdc++-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: ncurses-devel >= 5.0
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: readline-devel
|
||||
Recommends: %{name}-tools
|
||||
Recommends: unzip
|
||||
@@ -79,6 +82,8 @@ Includes and definitions for developing with hunspell.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
# latest released tarball does not contain generated configure
|
||||
autoreconf -fiv
|
||||
%configure \
|
||||
--disable-silent-rules \
|
||||
--enable-nls \
|
||||
@@ -92,7 +97,7 @@ make %{?_smp_mflags}
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
rm -f %{buildroot}%{_bindir}/example
|
||||
install -m 644 src/tools/{,un}munch.h %{buildroot}%{_includedir}
|
||||
install -p -m 644 src/tools/{,un}munch.h %{buildroot}%{_includedir}
|
||||
ln -sf %{_libdir}/libhunspell-%{ver}.so.0.0.0 %{buildroot}%{_libdir}/libhunspell.so
|
||||
|
||||
%check
|
||||
|
Reference in New Issue
Block a user