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

View File

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