Initial import based on Fedora 42

Resolves: RHEL-74347
This commit is contained in:
Tomas Popela 2025-01-23 08:49:24 +01:00
parent 8bd1b54d8a
commit 6c1b79aaf6
4 changed files with 83 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/libspelling-0.4.5.tar.xz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

75
libspelling.spec Normal file
View File

@ -0,0 +1,75 @@
Name: libspelling
Version: 0.4.5
Release: %autorelease
Summary: Spellcheck library for GTK 4
License: LGPL-2.1-or-later
URL: https://gitlab.gnome.org/GNOME/libspelling
Source: https://download.gnome.org/sources/libspelling/0.4/libspelling-%{version}.tar.xz
BuildRequires: meson
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(gtksourceview-5)
BuildRequires: pkgconfig(enchant-2)
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(gobject-introspection-1.0)
# for vapigen
BuildRequires: vala
BuildRequires: gi-docgen
%description
A spellcheck library for GTK 4. This library is heavily based upon GNOME Text
Editor and GNOME Builder's spellcheck implementation.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for developing
applications that use %{name}.
%prep
%autosetup -n libspelling-%{version}
%build
%meson -Ddocs=false
%meson_build
%install
%meson_install
%find_lang libspelling
%check
%meson_test
%files -f libspelling.lang
%license COPYING
%doc NEWS
%{_libdir}/libspelling-1.so.2*
%{_libdir}/girepository-1.0/Spelling-1.typelib
%files devel
%{_includedir}/libspelling-1
%{_libdir}/libspelling-1.so
%{_libdir}/pkgconfig/libspelling-1.pc
%{_datadir}/gir-1.0/Spelling-1.gir
%dir %{_datadir}/vala
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/libspelling-1.deps
%{_datadir}/vala/vapi/libspelling-1.vapi
%changelog
%autochangelog

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (libspelling-0.4.5.tar.xz) = 2f06f2edcd0fd08e23f567545d131c5251ef830230959f9d494a688428e4b1db83331236733b6e6b08dab91f15558ee16082bfcf72eecb7d508030be0d330b73