SHA256
1
0
forked from pool/libspelling

Accepting request 1115584 from GNOME:Next

New dep for gtranslator

OBS-URL: https://build.opensuse.org/request/show/1115584
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/libspelling?expand=0&rev=1
This commit is contained in:
Bjørn Lie 2023-10-04 11:59:50 +00:00 committed by Git OBS Bridge
commit 12dcbc3384
5 changed files with 131 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
libspelling-0.2.0.tar.xz Normal file
View File

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

4
libspelling.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun Sep 17 07:34:45 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Initial packaging for openSUSE.

100
libspelling.spec Normal file
View File

@ -0,0 +1,100 @@
#
# spec file for package libspelling
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: libspelling
Version: 0.2.0
Release: 0
Summary: A spellcheck library for GTK 4
# main source is LGPL-2.1-or-later
# lib/egg-action-group.h is GPL-3.0-or-later
License: LGPL-2.1-or-later AND GPL-3.0-or-later
URL: https://gitlab.gnome.org/chergert/libspelling
Source: https://download.gnome.org/sources/libspelling/0.2/%{name}-%{version}.tar.xz
BuildRequires: pkgconfig
BuildRequires: c_compiler
BuildRequires: meson
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)
BuildRequires: pkgconfig(vapigen)
BuildRequires: pkgconfig(gi-docgen)
%description
A spellcheck library for GTK 4.
This library is heavily based upon GNOME Text Editor and GNOME
Builder's spellcheck implementation. However, it is licensed
LGPL-2.1-or-later
%package -n libspelling1-1
Summary: Shared libraries for %{name}
%description -n libspelling1-1
Shared libraries for %{name}.
%package -n typelib-1_0-Spelling-1
Summary: Introspection file for %{name}
%description -n typelib-1_0-Spelling-1
Introspection file for %{name}.
%package devel
Summary: Development files for %{name}
Requires: libspelling1-1 = %{version}
Requires: typelib-1_0-Spelling-1 = %{version}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup
%build
%meson
%meson_build
%install
%meson_install
%ldconfig_scriptlets -n libspelling1-1
%files -n libspelling1-1
%license COPYING
%doc NEWS README.md
%{_libdir}/libspelling-1.so.1*
%files -n typelib-1_0-Spelling-1
%{_libdir}/girepository-1.0/Spelling-1.typelib
%files devel
%doc %{_datadir}/doc/libspelling-1/
%{_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