diff --git a/.enchant.metadata b/.enchant.metadata new file mode 100644 index 0000000..1d12261 --- /dev/null +++ b/.enchant.metadata @@ -0,0 +1 @@ +321f9cf0abfa1937401676ce60976d8779c39536 SOURCES/enchant-1.6.0.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..03e51b4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/enchant-1.6.0.tar.gz diff --git a/SOURCES/enchant-1.6.0-manpages.patch b/SOURCES/enchant-1.6.0-manpages.patch new file mode 100644 index 0000000..2961b3c --- /dev/null +++ b/SOURCES/enchant-1.6.0-manpages.patch @@ -0,0 +1,58 @@ +diff -up enchant-1.6.0/doc/enchant-lsmod.1.manpages enchant-1.6.0/doc/enchant-lsmod.1 +--- enchant-1.6.0/doc/enchant-lsmod.1.manpages 2018-08-27 12:48:41.277955309 +0200 ++++ enchant-1.6.0/doc/enchant-lsmod.1 2018-08-27 13:42:43.933910469 +0200 +@@ -0,0 +1,34 @@ ++.PU ++.TH ENCHANT-LSMOD 1 "July 2006" enchant "Enchant Mini Help File" ++.SH NAME ++enchant-lsmod \- list provider and dictionary information ++.SH SYNOPSIS ++.ll +8 ++.B enchant-lsmod ++[\fB\-lang [\fBlanguage_tag\fR]\fR] [\fB\-list-dicts\fR] [\fB\-h\fR] [\fB\-v\fR] ++.ll -8 ++.br ++.SH DESCRIPTION ++.B enchant-lsmod ++gives information about Enchant's spell-checker providers and the dictionaries each offers. ++.SS OPTIONS ++.TP ++.B "\-lang [language_tag]" ++Lists information about user's language if no \fIlanguage_tag\fR is given, or about that \fIlanguage_tag\fR. ++.TP ++.B "\-list-dicts" ++Lists installed dictionaries. ++.TP ++.B "\-h" ++Prints a brief usage information. ++.TP ++.B "\-v" ++Prints the program's version. ++.SH MORE INFORMATION ++http://www.abisource.com/enchant/ ++.SH "SEE ALSO" ++.BR enchant(1) ++.SH "AUTHOR" ++ Dom Lachowicz ++ WEB: http://www.abisource.com/enchant/ ++ MAIL: domlachowicz@gmail.com +diff -up enchant-1.6.0/doc/Makefile.am.manpages enchant-1.6.0/doc/Makefile.am +--- enchant-1.6.0/doc/Makefile.am.manpages 2010-04-01 22:53:37.000000000 +0200 ++++ enchant-1.6.0/doc/Makefile.am 2018-08-27 12:48:41.277955309 +0200 +@@ -1,3 +1,3 @@ +-man_MANS = enchant.1 ++man_MANS = enchant.1 enchant-lsmod.1 + + EXTRA_DIST = $(man_MANS) +diff -up enchant-1.6.0/doc/Makefile.in.manpages enchant-1.6.0/doc/Makefile.in +--- enchant-1.6.0/doc/Makefile.in.manpages 2010-04-01 22:56:37.000000000 +0200 ++++ enchant-1.6.0/doc/Makefile.in 2018-08-27 12:48:41.278955309 +0200 +@@ -215,7 +215,7 @@ target_alias = @target_alias@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-man_MANS = enchant.1 ++man_MANS = enchant.1 enchant-lsmod.1 + EXTRA_DIST = $(man_MANS) + all: all-am + diff --git a/SPECS/enchant.spec b/SPECS/enchant.spec new file mode 100644 index 0000000..f0765ae --- /dev/null +++ b/SPECS/enchant.spec @@ -0,0 +1,284 @@ +Summary: An Enchanting Spell Checking Library +Name: enchant +Version: 1.6.0 +Release: 30%{?dist} +Epoch: 1 +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 +BuildRequires: make + +Patch01: enchant-1.6.0-manpages.patch + +%description +A library that wraps other spell checking backends. + +%package aspell +Summary: Integration with aspell for libenchant +Requires: enchant = %{epoch}:%{version}-%{release} + +%description aspell +Libraries necessary to integrate applications using libenchant with aspell. + +%package voikko +Summary: Integration with voikko for libenchant +Requires: enchant = %{epoch}:%{version}-%{release} + +%description voikko +Libraries necessary to integrate applications using libenchant with voikko. + + +%package devel +Summary: Support files necessary to compile applications with libenchant. +Requires: enchant = %{epoch}:%{version}-%{release} +Requires: glib2-devel + +%description devel +Libraries, headers, and support files necessary to compile applications using libenchant. + +%prep +%setup -q +%patch01 -p1 -b .manpage-lsmod + +%build +%configure --enable-myspell --with-myspell-dir=/usr/share/myspell --disable-static --disable-ispell --disable-hspell --disable-zemberek +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install +rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la +rm -f $RPM_BUILD_ROOT/%{_libdir}/enchant/*.la + +%files +%doc AUTHORS COPYING.LIB README +%{_bindir}/* +%{_libdir}/lib*.so.* +%dir %{_libdir}/enchant +%{_libdir}/enchant/lib*myspell.so* +%{_mandir}/man1/enchant.1* +%{_mandir}/man1/enchant-lsmod.1.gz +%{_datadir}/enchant + +%files aspell +%{_libdir}/enchant/lib*aspell.so* + +%files voikko +%{_libdir}/enchant/lib*_voikko.so* + +%files devel +%{_libdir}/*.so +%{_libdir}/pkgconfig/enchant.pc +%{_includedir}/enchant + +%ldconfig_scriptlets + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 1:1.6.0-30 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Mon May 17 2021 Milan Crha - 1:1.6.0-29 +- Resolves: #1961175 (Missing man page for enchant-lsmod) + +* Thu Apr 15 2021 Mohan Boddu - 1:1.6.0-28 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Jan 26 2021 Fedora Release Engineering - 1:1.6.0-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 1:1.6.0-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jan 28 2020 Fedora Release Engineering - 1:1.6.0-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jul 24 2019 Fedora Release Engineering - 1:1.6.0-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 1:1.6.0-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Nov 13 2018 Caolán McNamara - 1:1.6.0-22 +- rebuild for hunspell 1.7.0 + +* Thu Jul 12 2018 Fedora Release Engineering - 1:1.6.0-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1:1.6.0-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Feb 03 2018 Igor Gnatenko - 1:1.6.0-19 +- Switch to %%ldconfig_scriptlets + +* Wed Aug 02 2017 Fedora Release Engineering - 1:1.6.0-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1:1.6.0-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1:1.6.0-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Dec 13 2016 Caolán McNamara - 1:1.6.0-15 +- rebuild for hunspell 1.5.4 + +* Mon Apr 18 2016 Caolán McNamara - 1:1.6.0-14 +- rebuild for hunspell 1.4.0 + +* Wed Feb 03 2016 Fedora Release Engineering - 1:1.6.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1:1.6.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 1:1.6.0-11 +- Rebuilt for GCC 5 C++11 ABI change + +* Sat Feb 21 2015 Till Maas - 1:1.6.0-10 +- Rebuilt for Fedora 23 Change + https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code + +* Sat Aug 16 2014 Fedora Release Engineering - 1:1.6.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1:1.6.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 1:1.6.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 1:1.6.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Jul 18 2012 Fedora Release Engineering - 1:1.6.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1:1.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue May 24 2011 Kevin Kofler 1:1.6.0-3 +- Rebuild for new hunspell + +* Tue Feb 08 2011 Fedora Release Engineering - 1:1.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Apr 01 2010 Marc Maurer 1:1.6.0-1 +- New upstream version. +- Drop all shipped patches, as they are included upstream. + +* Tue Jan 5 2010 Michael Schwendt 1:1.5.0-5 +- Revert 544473: Move libenchant.so back into the -devel package. + +* Sat Dec 05 2009 Marc Maurer 1:1.5.0-4 +- Fix 544473: Move enchant.so from the devel to the main package + +* Fri Jul 24 2009 Fedora Release Engineering - 1:1.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Jul 02 2009 Caolán McNamara 1:1.5.0-2 +- Resolves: rhbz#508781 improve enchant quality, leaks, and edge-case language + dict selection + +* Mon Jun 22 2009 Caolán McNamara 1:1.5.0-1 +- latest version + +* Tue Feb 24 2009 Fedora Release Engineering - 1:1.4.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Jul 26 2008 Michael Schwendt 1:1.4.2-4 +- Rebuild for ABI-incompatible hunspell-1.2.4.2-2.fc10 + +* Thu Jul 10 2008 Marc Maurer 1:1.4.2-3 +- Fix 426712: don't build static libs (patch from Michael Schwendt) + +* Wed May 21 2008 Marc Maurer 1:1.4.2-2 +- Rebuild + +* Wed May 21 2008 Marc Maurer 1:1.4.2-1 +- New upstream release +- Add voikko support in an enchant-voikko package +- Bump glib-devel BR to 2.6.0 + +* Fri Feb 08 2008 Caolan McNamara 1:1.3.0-4.fc9 +- minor cockup + +* Sat Jan 26 2008 Caolan McNamara 1:1.3.0-3.fc9 +- Resolves: rhbz#426402 use system hunspell not internal one and + split out aspell backend. +- See: rhbz#430354 hspell backend disabled until pic issue fixed + +* Wed Dec 19 2007 Caolan McNamara 1:1.3.0-2.fc9 +- tell enchant where the myspell dictionaries are + +* Thu Oct 12 2006 Marc Maurer 1:1.3.0-1.fc6 +- Update to 1.3.0 + +* Mon Sep 11 2006 Marc Maurer 1:1.2.5-3.fc6 +- Rebuild for FC6 + +* Mon Apr 10 2006 Marc Maurer 1:1.2.5-2.fc6 +- Rebuild + +* Mon Apr 10 2006 Marc Maurer 1:1.2.5-1.fc6 +- Package the data dir as well (bug 188516) +- New upstream version +- Add hspell requirement/support + +* Tue Feb 14 2006 Marc Maurer 1:1.2.2-2.fc5 +- Rebuild for Fedora Extras 5 + +* Sun Feb 05 2006 Marc Maurer 1:1.2.2-1.fc5 +- Update to 1.2.2 + +* Mon Jan 30 2006 Marc Maurer 1:1.2.1-1.fc5 +- Update to 1.2.1 +- Drop glib Require + +* Sat Oct 22 2005 Marc Maurer 1:1.2.0-1.fc5 +- Update to 1.2.0 + +* Wed Oct 5 2005 Marc Maurer 1:1.1.6-4.fc5 +- Add dist flag to the release number + +* Mon Apr 4 2005 Michael Schwendt 1:1.1.6-3 +- make in %%build +- disable bad buildroot rpaths in libs, don't use %%makeinstall +- require %%{epoch} of main package in -devel package (Fridrich Strba) + +* Thu Mar 31 2005 Michael Schwendt 1:1.1.6-2 +- add dep glib2-devel for pkgconfig in -devel package +- include %%{_libdir}/enchant dir in main package +- make -devel package require exact VR of main package +- use -p /sbin/ldconfig in scriptlets + +* Mon Mar 28 2005 Marc Maurer 1:1.1.6-1 +- update to 1.1.6 +- drop the manpage patch (RH#145010#) +- fix version numbers in the spec changelog + +* Wed Mar 2 2005 Caolan McNamara 1:1.1.5-3 +- rebuild with gcc4 + +* Fri Jan 14 2005 Caolan McNamara 1:1.1.5-2 +- RH#145010# misformatted manpage + +* Mon Dec 20 2004 Caolan McNamara 1:1.1.5-1 +- initial fedora import + +* Sun Aug 24 2003 Rui Miguel Seabra +- update spec to current stat of affairs +- building from source rpm is now aware of --with and --without flags: +- --without aspell --without ispell --without myspell --with uspell + +* Wed Jul 16 2003 Rui Miguel Seabra +- take advantage of environment rpm macros + +* Sun Jul 13 2003 Dom Lachowicz +- Initial version