71e64f
Name:      hyphen
71e64f
Summary:   A text hyphenation library
71e64f
Version:   2.8.8
71e64f
Release:   17%{?dist}
71e64f
Source:    http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
71e64f
URL:       http://hunspell.sf.net
71e64f
License:   GPLv2 or LGPLv2+ or MPLv1.1
71e64f
BuildRequires: perl-interpreter, patch, autoconf, automake, libtool
71e64f
# s390 lacks valgrind support
71e64f
# no working valgrind built for MIPS yet
71e64f
# tests with valgrind fail on arm
71e64f
# tests with valgrind fail on ppc64le
71e64f
%ifnarch s390 %{arm} %{mips} ppc64le
71e64f
BuildRequires: valgrind
71e64f
%endif
71e64f
BuildRequires: make
71e64f
71e64f
%description
71e64f
Hyphen is a library for high quality hyphenation and justification.
71e64f
71e64f
%package devel
71e64f
Requires: hyphen = %{version}-%{release}
71e64f
Summary: Files for developing with hyphen
71e64f
71e64f
%description devel
71e64f
Includes and definitions for developing with hyphen
71e64f
71e64f
%package en
71e64f
Requires: hyphen
71e64f
Summary: English hyphenation rules
71e64f
BuildArch: noarch
71e64f
71e64f
%description en
71e64f
English hyphenation rules.
71e64f
71e64f
%prep
71e64f
%setup -q
71e64f
71e64f
%build
71e64f
%configure --disable-static
71e64f
make %{?_smp_mflags}
71e64f
71e64f
%check
71e64f
make check
71e64f
%ifnarch s390 %{arm} %{mips} ppc64le
71e64f
VALGRIND=memcheck make check
71e64f
%endif
71e64f
71e64f
%install
71e64f
rm -rf $RPM_BUILD_ROOT
71e64f
make DESTDIR=$RPM_BUILD_ROOT install
71e64f
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
71e64f
71e64f
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
71e64f
en_US_aliases="en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_HK en_IE en_IN en_JM en_MW en_NA en_NZ en_PH en_SG en_TT en_ZA en_ZM en_ZW"
71e64f
for lang in $en_US_aliases; do
71e64f
        ln -s hyph_en_US.dic hyph_$lang.dic
71e64f
done
71e64f
popd
71e64f
71e64f
71e64f
%ldconfig_scriptlets
71e64f
71e64f
%files
71e64f
%doc AUTHORS ChangeLog README README.hyphen README.nonstandard TODO
71e64f
%{_libdir}/*.so.*
71e64f
%dir %{_datadir}/hyphen
71e64f
71e64f
%files en
71e64f
%{_datadir}/hyphen/hyph_en*.dic
71e64f
71e64f
%files devel
71e64f
%{_includedir}/hyphen.h
71e64f
%{_libdir}/*.so
71e64f
%{_bindir}/substrings.pl
71e64f
71e64f
%changelog
71e64f
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.8.8-17
71e64f
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
71e64f
  Related: rhbz#1991688
71e64f
71e64f
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.8.8-16
71e64f
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
71e64f
71e64f
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-15
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
71e64f
71e64f
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-14
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
71e64f
71e64f
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-13
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
71e64f
71e64f
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-12
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
71e64f
71e64f
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-11
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
71e64f
71e64f
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-10
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
71e64f
71e64f
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-9
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
71e64f
71e64f
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-8
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
71e64f
71e64f
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-7
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
71e64f
71e64f
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-6
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
71e64f
71e64f
* Fri Aug 12 2016 Michal Toman <mtoman@fedoraproject.org> - 2.8.8-5
71e64f
- Resolves: rhbz#1366680 No valgrind on MIPS
71e64f
71e64f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-4
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
71e64f
71e64f
* Wed Jan 20 2016 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 2.8.8-3
71e64f
- Valgrind is not available only on s/390
71e64f
- tests with Valgrind fail only on arm
71e64f
71e64f
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.8-2
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
71e64f
71e64f
* Thu Sep 18 2014 Caolán McNamara <caolanm@redhat.com> - 2.8.8-1
71e64f
- latest version
71e64f
71e64f
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.7-3
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
71e64f
71e64f
* Thu Jul 03 2014 David Tardon <dtardon@redhat.com> - 2.8.7-2
71e64f
- fix hyphen.h
71e64f
71e64f
* Fri Jun 27 2014 Caolán McNamara <caolanm@redhat.com> - 2.8.7-1
71e64f
- latest version
71e64f
71e64f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.6-5
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
71e64f
71e64f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.6-4
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
71e64f
71e64f
* Thu Apr 04 2013 Caolán McNamara <caolanm@redhat.com> - 2.8.6-3
71e64f
- Resolves: rhbz#925563 support aarch64
71e64f
71e64f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.6-2
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
71e64f
71e64f
* Mon Nov 05 2012 Caolán McNamara <caolanm@redhat.com> - 2.8.6-1
71e64f
- latest version
71e64f
71e64f
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.5-2
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
71e64f
71e64f
* Thu Jul 12 2012 Caolán McNamara <caolanm@redhat.com> - 2.8.5-1
71e64f
- latest version
71e64f
71e64f
* Fri Jun 29 2012 Caolán McNamara <caolanm@redhat.com> - 2.8.4-1
71e64f
- latest version
71e64f
71e64f
* Wed Apr 18 2012 Caolán McNamara <caolanm@redhat.com> - 2.8.3-4
71e64f
- Resolves: rhbz#813481 x86_64 valgrind spews, see rhbz#813780
71e64f
- Related: rhbz#813481 dump valgrind failure log
71e64f
71e64f
* Thu Apr 12 2012 Caolán McNamara <caolanm@redhat.com> - 2.8.3-3
71e64f
- add Malawian alias
71e64f
- add Zambian alias
71e64f
71e64f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.3-2
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
71e64f
71e64f
* Mon Oct 24 2011 Caolán McNamara <caolanm@redhat.com> - 2.8.3-1
71e64f
- latest version
71e64f
71e64f
* Mon Oct 17 2011 Caolán McNamara <caolanm@redhat.com> - 2.8-1
71e64f
- latest version
71e64f
71e64f
* Fri Jun 24 2011 Caolán McNamara <caolanm@redhat.com> - 2.7-3
71e64f
- Resolves: rhbz#715995 FTBFS
71e64f
71e64f
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-2
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
71e64f
71e64f
* Thu Dec 02 2010 Caolán McNamara <caolanm@redhat.com> - 2.7-1
71e64f
- latest version
71e64f
71e64f
* Mon Jul 19 2010 Caolán McNamara <caolanm@redhat.com> - 2.6-1
71e64f
- latest version
71e64f
- run make check
71e64f
71e64f
* Thu Feb 25 2010 Caolán McNamara <caolanm@redhat.com> - 2.5-1
71e64f
- latest version
71e64f
71e64f
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-5
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
71e64f
71e64f
* Wed Jul 22 2009 Caolán McNamara <caolanm@redhat.com> - 2.4-4
71e64f
- make hyphen-en a noarch subpackage
71e64f
71e64f
* Fri Jun 12 2009 Caolán McNamara <caolanm@redhat.com> - 2.4-3
71e64f
- extend coverage
71e64f
71e64f
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-2
71e64f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
71e64f
71e64f
* Fri May 02 2008 Caolán McNamara <caolanm@redhat.com> - 2.4-1
71e64f
- latest version
71e64f
71e64f
* Tue Feb 19 2008 Caolán McNamara <caolanm@redhat.com> - 2.3.1-1
71e64f
- latest version
71e64f
71e64f
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.3-2
71e64f
- Autorebuild for GCC 4.3
71e64f
71e64f
* Mon Nov 12 2007 Caolán McNamara <caolanm@redhat.com> - 2.3-1
71e64f
- initial version