2022-09-16 15:52:22 +00:00
|
|
|
%global glib2_version 2.73
|
|
|
|
%global gtk4_version 4.7
|
|
|
|
%global gtksourceview_version 5.5.0
|
2022-01-06 20:00:31 +00:00
|
|
|
%global enchant_version 2.2.0
|
|
|
|
|
|
|
|
%global tarball_version %%(echo %{version} | tr '~' '.')
|
|
|
|
|
|
|
|
Name: gnome-text-editor
|
2023-07-03 10:14:20 +00:00
|
|
|
Version: 45~alpha
|
2023-07-19 23:50:07 +00:00
|
|
|
Release: 4%{?dist}
|
2022-01-06 20:00:31 +00:00
|
|
|
Summary: A simple text editor for the GNOME desktop
|
|
|
|
|
2023-02-16 16:03:11 +00:00
|
|
|
License: GPL-3.0-or-later
|
2022-01-06 20:00:31 +00:00
|
|
|
URL: https://gitlab.gnome.org/GNOME/gnome-text-editor
|
2023-07-03 10:14:20 +00:00
|
|
|
Source0: https://download.gnome.org/sources/%{name}/45/%{name}-%{tarball_version}.tar.xz
|
2023-07-05 19:06:39 +00:00
|
|
|
# https://gitlab.gnome.org/GNOME/gnome-text-editor/-/commit/6d74d46
|
|
|
|
# https://gitlab.gnome.org/GNOME/gnome-text-editor/-/issues/588
|
|
|
|
# Focus the search box in the Document Type dialog on open
|
|
|
|
Patch0: 0001-language-dialog-focus-search-entry-on-display.patch
|
2022-10-06 10:24:04 +00:00
|
|
|
|
2022-08-09 11:55:23 +00:00
|
|
|
BuildRequires: pkgconfig(editorconfig)
|
2022-01-06 20:00:31 +00:00
|
|
|
BuildRequires: pkgconfig(enchant-2) >= %{enchant_version}
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version}
|
|
|
|
BuildRequires: pkgconfig(gtk4) >= %{gtk4_version}
|
|
|
|
BuildRequires: pkgconfig(gtksourceview-5) >= %{gtksourceview_version}
|
|
|
|
BuildRequires: pkgconfig(icu-uc)
|
|
|
|
BuildRequires: pkgconfig(libadwaita-1)
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: itstool
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: /usr/bin/appstream-util
|
|
|
|
|
|
|
|
Requires: glib2%{?_isa} >= %{glib2_version}
|
|
|
|
Requires: enchant2%{?_isa} >= %{enchant_version}
|
|
|
|
Requires: gtk4%{?_isa} >= %{gtk4_version}
|
|
|
|
Requires: gtksourceview5%{?_isa} >= %{gtksourceview_version}
|
|
|
|
|
|
|
|
%description
|
|
|
|
GNOME Text Editor is a simple text editor that focuses 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.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n %{name}-%{tarball_version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%meson -Ddevelopment=false
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%find_lang %{name} --with-gnome
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
2022-01-20 09:27:23 +00:00
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.gnome.TextEditor.appdata.xml
|
2022-01-06 20:00:31 +00:00
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.TextEditor.desktop
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%doc README.md NEWS
|
|
|
|
%license COPYING
|
|
|
|
%{_bindir}/gnome-text-editor
|
2022-01-20 09:27:23 +00:00
|
|
|
%{_metainfodir}/org.gnome.TextEditor.appdata.xml
|
2022-01-06 20:00:31 +00:00
|
|
|
%{_datadir}/applications/org.gnome.TextEditor.desktop
|
|
|
|
%dir %{_datadir}/dbus-1
|
|
|
|
%dir %{_datadir}/dbus-1/services
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.TextEditor.service
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.TextEditor.gschema.xml
|
2022-03-08 14:32:14 +00:00
|
|
|
%{_datadir}/gnome-text-editor/
|
2022-01-06 20:00:31 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/*/*.svg
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-07-19 23:50:07 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 45~alpha-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-07-11 20:15:00 +00:00
|
|
|
* Tue Jul 11 2023 František Zatloukal <fzatlouk@redhat.com> - 45~alpha-3
|
|
|
|
- Rebuilt for ICU 73.2
|
|
|
|
|
2023-07-05 19:06:39 +00:00
|
|
|
* Wed Jul 05 2023 Adam Williamson <awilliam@redhat.com> - 45~alpha-2
|
|
|
|
- Backport an upstream commit to focus Document Type search box on open
|
|
|
|
|
2023-07-03 10:14:20 +00:00
|
|
|
* Mon Jul 03 2023 Kalev Lember <klember@redhat.com> - 45~alpha-1
|
|
|
|
- Update to 45.alpha
|
|
|
|
|
2023-06-06 08:31:56 +00:00
|
|
|
* Tue Jun 06 2023 David King <amigadave@amigadave.com> - 44.0-2
|
|
|
|
- Drop unnecessary libpcre BuildRequires (#2212743)
|
|
|
|
|
2023-03-18 10:26:26 +00:00
|
|
|
* Sat Mar 18 2023 David King <amigadave@amigadave.com> - 44.0-1
|
|
|
|
- Update to 44.0
|
|
|
|
|
2023-03-04 19:41:41 +00:00
|
|
|
* Sat Mar 04 2023 David King <amigadave@amigadave.com> - 44~rc-1
|
|
|
|
- Update to 44.rc
|
|
|
|
|
2023-02-16 16:03:11 +00:00
|
|
|
* Thu Feb 16 2023 David King <amigadave@amigadave.com> - 44~beta-1
|
|
|
|
- Update to 44.beta
|
|
|
|
|
2023-02-06 18:26:11 +00:00
|
|
|
* Mon Feb 06 2023 David King <amigadave@amigadave.com> - 44~alpha-1
|
|
|
|
- Update to 44.alpha
|
|
|
|
|
2023-01-19 05:41:12 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 43.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-12-31 02:40:02 +00:00
|
|
|
* Sat Dec 31 2022 Pete Walter <pwalter@fedoraproject.org> - 43.1-3
|
|
|
|
- Rebuild for ICU 72
|
|
|
|
|
2022-10-06 10:24:04 +00:00
|
|
|
* Thu Oct 06 2022 Kalev Lember <klember@redhat.com> - 43.1-2
|
|
|
|
- Backport upstream patch to fix the release number in appdata
|
|
|
|
|
2022-10-04 21:31:35 +00:00
|
|
|
* Tue Oct 04 2022 Kalev Lember <klember@redhat.com> - 43.1-1
|
|
|
|
- Update to 43.1
|
|
|
|
|
2022-09-16 15:52:22 +00:00
|
|
|
* Tue Sep 20 2022 Kalev Lember <klember@redhat.com> - 43.0-1
|
|
|
|
- Update to 43.0
|
|
|
|
|
2022-08-09 11:55:23 +00:00
|
|
|
* Tue Aug 09 2022 Kalev Lember <klember@redhat.com> - 43~alpha1-1
|
|
|
|
- Update to 43.alpha1
|
|
|
|
|
2022-08-01 13:04:27 +00:00
|
|
|
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 43~alpha0-3
|
|
|
|
- Rebuilt for ICU 71.1
|
|
|
|
|
2022-07-21 07:05:12 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 43~alpha0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-19 23:15:34 +00:00
|
|
|
* Tue Jul 19 2022 Kalev Lember <klember@redhat.com> - 43~alpha0-1
|
|
|
|
- Update to 43.alpha0
|
|
|
|
|
2022-06-14 10:29:20 +00:00
|
|
|
* Tue Jun 14 2022 David King <amigadave@amigadave.com> - 42.2-1
|
|
|
|
- Update to 42.2 (#2096085)
|
|
|
|
|
2022-05-30 23:05:01 +00:00
|
|
|
* Fri May 27 2022 Link Dupont <link@sub-pop.net> - 42.1-2
|
2022-05-27 13:19:20 +00:00
|
|
|
- Patch to fix session handling crash (RHBZ#2071116)
|
|
|
|
|
2022-04-22 07:15:00 +00:00
|
|
|
* Fri Apr 22 2022 David King <amigadave@amigadave.com> - 42.1-1
|
|
|
|
- Update to 42.1 (#2077673)
|
|
|
|
|
2022-03-19 11:08:39 +00:00
|
|
|
* Sat Mar 19 2022 David King <amigadave@amigadave.com> - 42.0-1
|
2022-04-22 07:15:00 +00:00
|
|
|
- Update to 42.0
|
2022-03-19 11:08:39 +00:00
|
|
|
|
2022-03-08 14:32:14 +00:00
|
|
|
* Tue Mar 08 2022 David King <amigadave@amigadave.com> - 42~rc1-1
|
|
|
|
- Update to 42.rc1
|
|
|
|
|
2022-01-20 09:27:23 +00:00
|
|
|
* Thu Jan 20 2022 David King <amigadave@amigadave.com> - 42~alpha2-1
|
|
|
|
- Update to 42.alpha2
|
|
|
|
|
2022-01-20 06:47:01 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 41.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2022-01-06 20:00:31 +00:00
|
|
|
* Thu Jan 06 2022 Neal Gompa <ngompa@fedoraproject.org> - 41.1-1
|
|
|
|
- Update to 41.1
|
|
|
|
|
|
|
|
* Tue Oct 05 2021 Neal Gompa <ngompa@fedoraproject.org> - 41.0-1
|
|
|
|
- Initial packaging
|
|
|
|
|