Compare commits

...

No commits in common. "c8s" and "c9-beta" have entirely different histories.
c8s ... c9-beta

7 changed files with 37 additions and 62 deletions

1
.enchant.metadata Normal file
View File

@ -0,0 +1 @@
321f9cf0abfa1937401676ce60976d8779c39536 SOURCES/enchant-1.6.0.tar.gz

2
.gitignore vendored
View File

@ -1 +1 @@
enchant-1.6.0.tar.gz
SOURCES/enchant-1.6.0.tar.gz

View File

@ -1,18 +1,18 @@
Summary: An Enchanting Spell Checking Library
Name: enchant
Version: 1.6.0
Release: 21%{?dist}
Release: 30%{?dist}
Epoch: 1
Group: System Environment/Libraries
License: LGPLv2+
Source: http://www.abisource.com/downloads/enchant/%{version}/enchant-%{version}.tar.gz
URL: http://www.abisource.com/
BuildRequires: gcc-c++
BuildRequires: glib2-devel >= 2.6.0
BuildRequires: aspell-devel
BuildRequires: hunspell-devel
BuildRequires: libvoikko-devel
BuildRequires: automake, libtool
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: make
Patch01: enchant-1.6.0-manpages.patch
@ -21,7 +21,6 @@ A library that wraps other spell checking backends.
%package aspell
Summary: Integration with aspell for libenchant
Group: System Environment/Libraries
Requires: enchant = %{epoch}:%{version}-%{release}
%description aspell
@ -29,7 +28,6 @@ Libraries necessary to integrate applications using libenchant with aspell.
%package voikko
Summary: Integration with voikko for libenchant
Group: System Environment/Libraries
Requires: enchant = %{epoch}:%{version}-%{release}
%description voikko
@ -38,7 +36,6 @@ Libraries necessary to integrate applications using libenchant with voikko.
%package devel
Summary: Support files necessary to compile applications with libenchant.
Group: Development/Libraries
Requires: enchant = %{epoch}:%{version}-%{release}
Requires: glib2-devel
@ -47,7 +44,7 @@ Libraries, headers, and support files necessary to compile applications using li
%prep
%setup -q
%patch01 -p1 -b .manpages
%patch01 -p1 -b .manpage-lsmod
%build
%configure --enable-myspell --with-myspell-dir=/usr/share/myspell --disable-static --disable-ispell --disable-hspell --disable-zemberek
@ -60,13 +57,12 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT/%{_libdir}/enchant/*.la
%files
%defattr(-,root,root)
%doc AUTHORS COPYING.LIB README
%{_bindir}/*
%{_libdir}/lib*.so.*
%dir %{_libdir}/enchant
%{_libdir}/enchant/lib*myspell.so*
%{_mandir}/man1/enchant.1.gz
%{_mandir}/man1/enchant.1*
%{_mandir}/man1/enchant-lsmod.1.gz
%{_datadir}/enchant
@ -77,7 +73,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/enchant/*.la
%{_libdir}/enchant/lib*_voikko.so*
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/enchant.pc
%{_includedir}/enchant
@ -85,8 +80,36 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/enchant/*.la
%ldconfig_scriptlets
%changelog
* Mon Aug 27 2018 Milan Crha <mcrha@redhat.com> - 1:1.6.0-21
- Add patch for RH bug #1612585 (Missing man page for enchant-lsmod)
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.6.0-30
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Mon May 17 2021 Milan Crha <mcrha@redhat.com> - 1:1.6.0-29
- Resolves: #1961175 (Missing man page for enchant-lsmod)
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.6.0-28
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Nov 13 2018 Caolán McNamara <caolanm@redhat.com> - 1:1.6.0-22
- rebuild for hunspell 1.7.0
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.0-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1 +0,0 @@
SHA512 (enchant-1.6.0.tar.gz) = 0ca1634bb783df51512df4abecc89abdadee6baf7330d6e5f90cc15d10779896a3521a1c079ecc07e4df4f7a018ce398cca9d0125a7845a314a059840ebc9137

View File

@ -1,42 +0,0 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- test_lsmod_h:
dir: .
run: enchant-lsmod -h >/dev/null
- test_lsmod_v:
dir: .
run: enchant-lsmod -v >/dev/null
- test_list_dicts_aa_BB:
dir: .
run: test "`enchant-lsmod -list-dicts | grep aa_BB`" = ""
- test_list_dicts_cs_CZ:
dir: .
run: test "`enchant-lsmod -list-dicts | grep cs_CZ`" != ""
- test_enchant_h:
dir: .
run: enchant -h >/dev/null
- test_enchant_v:
dir: .
run: enchant -v >/dev/null
- test_enchant_d_CCC:
dir: .
run: test "`echo cezta | enchant -d cs_CZ -a | grep -c CCC`" = "0"
- test_enchant_d_cesta:
dir: .
run: echo "cezta" | enchant -d cs_CZ -a | grep cesta >/dev/null
- test_cezta_pen_pes_cezta:
dir: .
run: echo "cezta pen pes" | enchant -d cs_CZ -l | grep cezta >/dev/null
- test_cezta_pen_pes_pen:
dir: .
run: echo "cezta pen pes" | enchant -d cs_CZ -l | grep pen >/dev/null
- test_cezta_pen_pes_pes:
dir: .
run: test "`echo cezta pen pes | enchant -d cs_CZ -l | grep -c pen`" = "1"
required_packages:
- enchant
- hunspell-cs