Accepting request 920904 from GNOME:Next

New text-editor, alternative to gedit

OBS-URL: https://build.opensuse.org/request/show/920904
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-text-editor?expand=0&rev=1
This commit is contained in:
Dominique Leuenberger 2021-09-27 06:22:55 +00:00 committed by Git OBS Bridge
commit 61f31ae343
5 changed files with 107 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

View File

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

10
gnome-text-editor.changes Normal file
View File

@ -0,0 +1,10 @@
-------------------------------------------------------------------
Fri Sep 3 20:38:25 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 41.0:
+ Updated translations.
-------------------------------------------------------------------
Mon Aug 30 11:04:38 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Initial package, version 41.beta1.

70
gnome-text-editor.spec Normal file
View File

@ -0,0 +1,70 @@
#
# spec file for package gnome-text-editor
#
# Copyright (c) 2021 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: gnome-text-editor
Version: 41.0
Release: 0
Summary: GNOME Text Editor
License: GPL-3.0-or-later
URL: https://gitlab.gnome.org/GNOME/gnome-text-editor
Source: https://download.gnome.org/sources/%{name}/41/%{name}-%{version}.tar.xz
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(enchant-2) >= 2.2.0
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.69
BuildRequires: pkgconfig(gtk4) >= 4.3
BuildRequires: pkgconfig(gtksourceview-5) >= 5.1.1
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(libadwaita-1)
%description
Text Editor is a simple text editor that focus on session
management. It works hard to keep track of changes and state even
if you quit the application. You can come back to your work even if
you've never saved it to a file.
%lang_package
%prep
%autosetup -p1
%build
%meson \
-Ddevelopment=false \
%{nil}
%meson_build
%install
%meson_install
%find_lang %{name} %{?no_lang_C}
%files
%license COPYING
%doc NEWS README.md
%doc %{_datadir}/help/C/%{name}/
%{_bindir}/gnome-text-editor
%{_datadir}/appdata/org.gnome.TextEditor.appdata.xml
%{_datadir}/applications/org.gnome.TextEditor.desktop
%{_datadir}/dbus-1/services/org.gnome.TextEditor.service
%{_datadir}/glib-2.0/schemas/org.gnome.TextEditor.gschema.xml
%{_datadir}/icons/hicolor/*/*/*.svg
%files lang -f %{name}.lang
%changelog