gnome-text-editor/gnome-text-editor.spec
Dominique Leuenberger 0fd4d1fe42 Accepting request 1002777 from GNOME:Next
- Update to version 43.alpha1:
  + Many performance improvements during loading of documents.
  + libeditorconfig (editorconfig-core-c) is now required instead
    of the in-tree copy. This ensures that only PCRE2 is needed.
  + Avoid editable/focusable pages while loading document so that
    a11y peers are not spammed with updates.
  + UI recoloring improvements.
  + Fix horizontal two-finger non-kinetic scrolling.
  + Desktop integration improvements.
  + Updated translations.
- Add pkgconfig(editorconfig) BuildRequires: new depdency.
- Drop pkgconfig(libpcre) BuildRequires: No longer needed.

- Update to version 43.alpha:
  + Text Editor has been updated to use new dialogs from libadwaita
    such as the message about dialogs.
  + Translation improvements.
  + Support for opening local and remove STDIN streams.
  + Suggest new filenames based on current syntax language.
  + Maximized window state is now persisted across sessions.
  + Spellchecking improvements.
  + The modified bit is dropped from draft-only documents when
    discarding to prevent re-opening on next launch.
  + Text Editor now knows if the previous session crashed.
  + A new --version command line argument.
  + Improvements to --new-window command line argument.
  + Window title is fixed when last document is closed.
- Add explict pkgconfig(libpcre) BuildRequires: Needed after GLibs
  port to libpcre2.

OBS-URL: https://build.opensuse.org/request/show/1002777
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-text-editor?expand=0&rev=10
2022-09-13 07:37:41 +00:00

88 lines
2.6 KiB
RPMSpec

#
# spec file for package gnome-text-editor
#
# Copyright (c) 2022 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: 43.alpha1
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/gnome-text-editor/43/%{name}-%{version}.tar.xz
BuildRequires: appstream-glib
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: itstool
BuildRequires: meson >= 0.59.1
BuildRequires: pkgconfig
BuildRequires: pkgconfig(editorconfig)
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.5.0
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(libadwaita-1) >= 1.2.alpha
%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}
%fdupes %{buildroot}%{_datadir}
%check
%meson_test
%files
%license COPYING
%doc NEWS README.md
%doc %{_datadir}/help/C/%{name}/
%{_bindir}/%{name}
%{_datadir}/applications/org.gnome.TextEditor.desktop
%{_datadir}/dbus-1/services/org.gnome.TextEditor.service
%{_datadir}/glib-2.0/schemas/org.gnome.TextEditor.gschema.xml
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/styles
%{_datadir}/%{name}/styles/builder-dark.xml
%{_datadir}/%{name}/styles/builder.xml
%{_datadir}/%{name}/styles/peninsula-dark.xml
%{_datadir}/%{name}/styles/peninsula.xml
%{_datadir}/%{name}/styles/printing.xml
%{_datadir}/icons/hicolor/*/*/*.svg
%{_datadir}/metainfo/org.gnome.TextEditor.appdata.xml
%files lang -f %{name}.lang
%changelog