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