Sophie

Sophie

distrib > Mageia > 6 > i586 > by-pkgid > 6859839116e4cd1c54f06dd533145e3c > files > 1

hfst-ospell-0.4.3-3.mga6.src.rpm

%define oname hfstospell

%define major	8
%define libname	%mklibname %{oname} %{major}
%define devname %mklibname %{oname} -d

Name:		hfst-ospell
Summary:	HFST spell checker library and command line tool
Version:	0.4.3
Release:	%mkrel 3
Group:		System/Libraries
License:	ASL 2.0
Url:		https://hfst.github.io/
Source0:	https://github.com/hfst/hfst-ospell/releases/download/v%{version}/hfstospell-%{version}.tar.gz
BuildRequires:	pkgconfig(libarchive)
BuildRequires:	pkgconfig(libxml++-2.6)
BuildRequires:	pkgconfig(icu-uc)

%description
This is a minimal HFST optimized lookup format based spell checker library and
a demonstrational implementation of command line based spell checker.

%prep
%setup -qn %{oname}-%{version}

%package -n %{libname}
Summary:	HFST spell checker library

%description -n %{libname}
Minimal HFST optimized lookup format based spell checker library.

%package -n %{devname}
Summary:	Development files for %{name}
Group:		Development/Other
Requires:	%{libname} = %{version}-%{release}
Provides:	%{name}-devel = %{version}-%{release}
Provides:	%{oname}-devel = %{version}-%{release}

%description -n %{devname}
Development files and headers for %{name}.

%build
%configure2_5x \
	--disable-static \
	--with-libxmlpp
%make_build

%install
%make_install

#we don't want these
find %{buildroot} -name "*.la" -delete

%files
%doc AUTHORS NEWS README
%license COPYING
%{_bindir}/hfst-ospell
%{_bindir}/hfst-ospell-office
%{_mandir}/man1/hfst-ospell-office.1*
%{_mandir}/man1/hfst-ospell.1*

%files -n %{libname}
%doc AUTHORS NEWS README
%license COPYING
%{_libdir}/lib%{oname}.so.%{major}
%{_libdir}/lib%{oname}.so.%{major}.*

%files -n %{devname}
%{_includedir}/*
%{_libdir}/lib%{oname}.so
%{_libdir}/pkgconfig/%{oname}.pc


%changelog
* Thu Mar 16 2017 mrambo3501 <mrambo3501> 0.4.3-3.mga6
+ Revision: 1093146
+ rebuild (emptylog)

* Thu Mar 16 2017 mrambo3501 <mrambo3501> 0.4.3-2.mga6
+ Revision: 1093087
- Rebuild for icu-58.2

* Sat Jan 28 2017 wally <wally> 0.4.3-1.mga6
+ Revision: 1083802
- imported package hfst-ospell