File apertium-separable.spec of Package apertium-separable

Name: apertium-separable
Version: 0.7.0.g275.2a4fe916
Release: 1%{?dist}
Summary: Reordering separable/discontiguous multiwords
Group: Development/Tools
License: GPL-3.0+
URL: https://apertium.org/
Source0: %{name}_%{version}.orig.tar.bz2

BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: lttoolbox-devel
BuildRequires: libicu-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: pkgconfig

%description
Apertium module for reordering separable/discontiguous multiwords

%prep
%setup -q -n %{name}-%{version}

%build
export LC_ALL=%(locale -a | grep -i utf | head -n1)
autoreconf -fi
%configure
make %{?_smp_mflags} || make %{?_smp_mflags} || make

%install
make DESTDIR=%{buildroot} install

%files
%defattr(-,root,root)
%doc AUTHORS NEWS README
%{_bindir}/*
%{_libdir}/pkgconfig/*

%changelog
* Sat May 27 2023 Apertium Automaton <apertium-packaging@lists.sourceforge.net> 0.7.0.g275.2a4fe916-1
- Automatic build - see changelog at https://github.com/apertium/apertium-separable/

openSUSE Build Service is sponsored by