0d5ba6
Name:           malaga-suomi-voikko
0d5ba6
Version:        1.19
0d5ba6
Release:        5%{?dist}
0d5ba6
Summary:        A description of Finnish morphology written in Malaga (Voikko edition)
0d5ba6
0d5ba6
Group:          Applications/Text
0d5ba6
License:        GPLv2+
0d5ba6
URL:            http://voikko.puimula.org
0d5ba6
# The usual format of stable release source URLs
0d5ba6
Source0:        http://www.puimula.org/voikko-sources/suomi-malaga/suomi-malaga-%{version}.tar.gz
0d5ba6
# The usual format of testing release source URLs
0d5ba6
#Source0:        http://www.puimula.org/htp/testing/suomi-malaga-%{version}rc3.tar.gz
0d5ba6
Patch0:         make-it-work-with-python3.patch
0d5ba6
0d5ba6
BuildRequires:  malaga >= 7.8
0d5ba6
BuildRequires:  python3-devel
0d5ba6
0d5ba6
# debuginfo would be empty
0d5ba6
%define debug_package %{nil}
0d5ba6
0d5ba6
%description
0d5ba6
A description of Finnish morphology written in Malaga. This package is built
0d5ba6
to support the Voikko spellchecker/hyphenator, it doesn't support the Sukija
0d5ba6
text indexer.
0d5ba6
0d5ba6
%prep
0d5ba6
%setup -q -n suomi-malaga-%{version}
0d5ba6
%patch0 -p1 -b .make-it-work-with-python3
0d5ba6
0d5ba6
0d5ba6
%build
0d5ba6
# configure removed, not needed in this package
0d5ba6
make %{?_smp_mflags} voikko PYTHON=%{__python3}
0d5ba6
0d5ba6
0d5ba6
%install
0d5ba6
rm -rf $RPM_BUILD_ROOT
0d5ba6
# Files differ on big-endian and small-endian archs, and they have different
0d5ba6
# names (*_l vs *_b). This is the reason we use %%{_libdir} instead of
0d5ba6
# %%{_datadir} and won't noarch the package.
0d5ba6
make voikko-install DESTDIR=$RPM_BUILD_ROOT%{_libdir}/voikko
0d5ba6
0d5ba6
0d5ba6
%files
0d5ba6
%defattr(-,root,root,-)
0d5ba6
%doc ChangeLog CONTRIBUTORS COPYING README README.fi
0d5ba6
%{_libdir}/voikko
0d5ba6
0d5ba6
0d5ba6
%changelog
0d5ba6
* Tue Jul 03 2018 Mike FABIAN <mfabian@redhat.com> - 1.19-5
0d5ba6
- Make it build using Python3 instead of Python2
0d5ba6
- Resolves: rhbz#1595797
0d5ba6
0d5ba6
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-4
0d5ba6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0d5ba6
0d5ba6
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-3
0d5ba6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0d5ba6
0d5ba6
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-2
0d5ba6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0d5ba6
0d5ba6
* Thu Jul 14 2016 Ville-Pekka Vainio <vpvainio AT iki.fi> - 1.19-1
0d5ba6
- Suomi-malaga 1.19
0d5ba6
0d5ba6
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-3
0d5ba6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0d5ba6
0d5ba6
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-2
0d5ba6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0d5ba6
0d5ba6
* Sat Oct 25 2014 Ville-Pekka Vainio <vpvainio AT iki.fi> - 1.17-1
0d5ba6
- Suomi-malaga 1.17
0d5ba6
- Updated upstream and source URLs
0d5ba6
0d5ba6
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-3
0d5ba6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0d5ba6
0d5ba6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-2
0d5ba6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0d5ba6
0d5ba6
* Sat Jan 25 2014 Ville-Pekka Vainio <vpvainio AT iki.fi> - 1.15-1
0d5ba6
- Suomi-malaga 1.15
0d5ba6
0d5ba6
* Fri Oct 18 2013 Ville-Pekka Vainio <vpvainio AT iki.fi> - 1.14-1
0d5ba6
- Suomi-malaga 1.14
0d5ba6
0d5ba6
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4
0d5ba6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0d5ba6
0d5ba6
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
0d5ba6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0d5ba6
0d5ba6
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2
0d5ba6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0d5ba6
0d5ba6
* Sun Jul 01 2012 Ville-Pekka Vainio <vpvainio AT iki.fi> - 1.12-1
0d5ba6
- Suomi-malaga 1.12
0d5ba6
0d5ba6
* Sun Mar 18 2012 Ville-Pekka Vainio <vpvainio AT iki.fi> - 1.11-1
0d5ba6
- Suomi-malaga 1.11
0d5ba6
0d5ba6
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
0d5ba6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0d5ba6
0d5ba6
* Fri Sep 16 2011 Ville-Pekka Vainio <vpvainio AT iki.fi> - 1.10-1
0d5ba6
- Suomi-malaga 1.10
0d5ba6
0d5ba6
* Sat Apr 23 2011 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 1.9-1
0d5ba6
- Suomi-malaga 1.9
0d5ba6
0d5ba6
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-2
0d5ba6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0d5ba6
0d5ba6
* Mon Nov 22 2010 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 1.8-1
0d5ba6
- Suomi-malaga 1.8
0d5ba6
0d5ba6
* Thu Sep 16 2010 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 1.7-1
0d5ba6
- Suomi-malaga 1.7
0d5ba6
- Remove the %%clean section of the spec file, not needed in Fedora >= 13
0d5ba6
0d5ba6
* Tue May 18 2010 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 1.6-1
0d5ba6
- RC3 released as stable, bump release to preserve upgrade path
0d5ba6
0d5ba6
* Thu May 13 2010 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 1.6-0.1.rc3
0d5ba6
- New upstream release candidate
0d5ba6
- Remove unneeded BuildRoot tag
0d5ba6
0d5ba6
* Wed Jan 27 2010 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 1.5-1
0d5ba6
- Suomi-malaga 1.5
0d5ba6
0d5ba6
* Fri Oct 09 2009 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 1.4-1
0d5ba6
- RC3 released as stable.
0d5ba6
0d5ba6
* Mon Sep 28 2009 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 1.4-0.3.rc3
0d5ba6
- New release candidate.
0d5ba6
0d5ba6
* Fri Sep 18 2009 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 1.4-0.2.rc2
0d5ba6
- New release candidate.
0d5ba6
0d5ba6
* Tue Sep 15 2009 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 1.4-0.1.rc1
0d5ba6
- New release candidate.
0d5ba6
- Don't require libmalaga anymore, libvoikko >= 2.2 uses its own malaga
0d5ba6
  implementation for Finnish spell checking. Malaga is still required for
0d5ba6
  building this package.
0d5ba6
- Cleanup DESTDIR, Makefile now automatically adds the directory version
0d5ba6
  and variant to it.
0d5ba6
0d5ba6
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-11
0d5ba6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0d5ba6
0d5ba6
* Fri Mar 06 2009 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 1.3-10
0d5ba6
- Install data files into the new location expected by libvoikko 2.1
0d5ba6
- Bump Release to 10 to differentiate this from earlier packages,
0d5ba6
  this release or higher needs to be required by the libvoikko 2.1 package
0d5ba6
0d5ba6
* Thu Mar 05 2009 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 1.3-1
0d5ba6
- Suomi-malaga 1.3
0d5ba6
0d5ba6
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
0d5ba6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0d5ba6
0d5ba6
* Thu Oct 02 2008 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 1.2-1
0d5ba6
- Suomi-malaga 1.2
0d5ba6
  - RC1 released as stable
0d5ba6
0d5ba6
* Wed Oct 01 2008 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 1.2-0.1.rc1
0d5ba6
- New release candidate
0d5ba6
0d5ba6
* Mon Apr 28 2008 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 1.1-1
0d5ba6
- Suomi-malaga 1.1
0d5ba6
0d5ba6
* Thu Jan 10 2008 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 1.0-1
0d5ba6
- Suomi-malaga 1.0
0d5ba6
- Requires: libmalaga, not malaga. The malaga binaries are not needed for
0d5ba6
  Finnish spellchecking, only the library is.
0d5ba6
- Changed description a bit
0d5ba6
0d5ba6
* Tue Dec 4 2007 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 0.7.7-1
0d5ba6
- Suomi-malaga 0.7.7
0d5ba6
0d5ba6
* Mon Dec 03 2007 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 0.7.7-0.1.rc1
0d5ba6
- New release candidate
0d5ba6
0d5ba6
* Thu Nov 1 2007 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 0.7.6-1
0d5ba6
- Require malaga >= 7.8 as per the latest Voikko release notes
0d5ba6
  (http://voikko.sourceforge.net/releases.html)
0d5ba6
- Bump release for the initial Fedora build
0d5ba6
0d5ba6
* Tue Oct 23 2007 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 0.7.6-0.2
0d5ba6
- Remove duplicate files entries
0d5ba6
- Remove (Build)Requires libmalaga
0d5ba6
0d5ba6
* Tue Oct 23 2007 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 0.7.6-0.1
0d5ba6
- Initial package