Accepting request 1219332 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/1219332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/enchant?expand=0&rev=43
This commit is contained in:
Ana Guerrero 2024-11-07 15:23:47 +00:00 committed by Git OBS Bridge
commit c49dd46d9a
4 changed files with 41 additions and 12 deletions

BIN
enchant-2.2.15.tar.gz (Stored with Git LFS)

Binary file not shown.

3
enchant-2.8.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8f19535adb5577b83b00e02f330fe9b9eb40dd21f19e2899636fc4d3a7696375
size 1345097

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Sep 30 13:47:39 UTC 2024 - Felix Dumbeck <felix@dumbeck.net>
- Update to 2.8.2
+ maintainer has changed their name from abiWord to rrthomas on
Github, hence update Source and URL to new home.
+ Switch to vala.
+ Use doxygen and groff-full for documentation.
+ nuspell >= 5.1.0 is required.
+ for more information see: NEWS
- Add doxygen, vala and groff-full BuildRequires following upstream
changes.
- Pass --docdir=%%{_defaultdocdir}/%%{name} to configure, package
the now built documentation in openSUSE standard.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 24 12:40:55 UTC 2023 - pgajdos@suse.com Fri Feb 24 12:40:55 UTC 2023 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package enchant # spec file for package enchant
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -24,24 +24,27 @@
%bcond_without aspell %bcond_without aspell
Name: enchant Name: enchant
Version: 2.2.15 Version: 2.8.2
Release: 0 Release: 0
Summary: Generic Spell Checking Library Summary: Generic Spell Checking Library
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
URL: https://abiword.github.io/enchant/ URL: https://rrthomas.github.io/enchant/
Source: https://github.com/AbiWord/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz Source: https://github.com/rrthomas/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: baselibs.conf Source1: baselibs.conf
%if %{with aspell} %if %{with aspell}
BuildRequires: aspell-devel BuildRequires: aspell-devel
%endif %endif
BuildRequires: dbus-1-glib-devel BuildRequires: dbus-1-glib-devel
BuildRequires: doxygen
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: groff-full
BuildRequires: hunspell-devel BuildRequires: hunspell-devel
BuildRequires: libvoikko-devel BuildRequires: libvoikko-devel
BuildRequires: vala
%if %{with nuspell} %if %{with nuspell}
BuildRequires: libboost_headers-devel BuildRequires: libboost_headers-devel
BuildRequires: nuspell-devel >= 4.1.0 BuildRequires: nuspell-devel >= 5.1.0
%endif %endif
%description %description
@ -139,7 +142,9 @@ to develop applications that require these.
%if %{with aspell} %if %{with aspell}
--with-aspell \ --with-aspell \
%endif %endif
--disable-static --disable-static \
--docdir=%{_defaultdocdir}/%{name}
%make_build %make_build
%install %install
@ -152,12 +157,21 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files tools %files tools
%{_bindir}/enchant-2 %{_bindir}/enchant-2
%{_bindir}/enchant-lsmod-2 %{_bindir}/enchant-lsmod-2
%{_mandir}/man1/enchant-2.1%{?ext_man} %{_mandir}/man1/enchant-2.1%{?ext_man}
%{_mandir}/man1/enchant-lsmod-2.1%{?ext_man} %{_mandir}/man1/enchant-lsmod-2.1%{?ext_man}
%{_mandir}/man5/enchant.5*
%files -n libenchant-2-2 %files -n libenchant-2-2
%license COPYING.LIB %license COPYING.LIB
%doc AUTHORS ChangeLog NEWS README
%dir %{_defaultdocdir}/%{name}
%doc AUTHORS ChangeLog NEWS README.md
%doc %{_defaultdocdir}/%{name}/enchant.html
%doc %{_defaultdocdir}/%{name}/enchant-2.html
%doc %{_defaultdocdir}/%{name}/enchant-lsmod-2.html
%{_libdir}/*.so.* %{_libdir}/*.so.*
%dir %{_libdir}/enchant-2 %dir %{_libdir}/enchant-2
@ -183,8 +197,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files data %files data
# The directories are not versioned, unfortunately. Not good for the SLPP. # The directories are not versioned, unfortunately. Not good for the SLPP.
%dir %{_datadir}/enchant %dir %{_datadir}/enchant-2
%{_datadir}/enchant/enchant.ordering %{_datadir}/enchant-2/enchant.ordering
%files devel %files devel
%{_includedir}/enchant-2 %{_includedir}/enchant-2