Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
5c610be16d
!6 update to version 44.0
From: @zhangxianting 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
2023-11-29 07:55:29 +00:00
zhangxianting
cb783181e1 update to version 44.0 2023-11-23 17:12:33 +08:00
openeuler-ci-bot
1cf8ff6ec5
!4 Update to 43.1
From: @dwl301 
Reviewed-by: @zhang__3125 
Signed-off-by: @zhang__3125
2023-02-17 07:39:38 +00:00
dwl301
604f381cae Update to 43.1 2023-02-01 10:39:45 +08:00
openeuler-ci-bot
333b461c40
!3 update to 42.2
From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
2022-06-21 03:54:06 +00:00
zhang__3125
7f750442a6 update to 42.2 2022-06-21 11:36:19 +08:00
openeuler-ci-bot
7604c6684e
!2 Upgrade to 42.1
From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
2022-06-08 03:27:33 +00:00
zhang__3125
7c983fc4b0 Upgrade to 42.1 2022-06-08 11:07:40 +08:00
openeuler-ci-bot
3e78cce3ab
!1 Initial packaging
From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
2022-06-07 05:57:39 +00:00
zhang__3125
62c89a673f Initial packaging 2022-04-13 16:29:04 +08:00
3 changed files with 82 additions and 0 deletions

Binary file not shown.

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

@ -0,0 +1,78 @@
%global glib2_version 2.73
%global gtk4_version 4.7
%global gtksourceview_version 5.5.0
%global enchant_version 2.2.0
Name: gnome-text-editor
Version: 44.0
Release: 1
Summary: A simple text editor for the GNOME desktop
License: GPL-3.0-or-later
URL: https://gitlab.gnome.org/GNOME/gnome-text-editor
Source0: https://download.gnome.org/sources/%{name}/44/%{name}-%{version}.tar.xz
BuildRequires: pkgconfig(editorconfig)
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: gcc meson itstool desktop-file-utils
BuildRequires: libappstream-glib pcre-devel
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}-%{version}
#sed -i '/rc1/d' data/org.gnome.TextEditor.appdata.xml.in.in
%build
%meson -Ddevelopment=false
%meson_build
%install
%meson_install
%find_lang %{name} --with-gnome
%check
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.gnome.TextEditor.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.TextEditor.desktop
%files -f %{name}.lang
%doc README.md NEWS
%license COPYING
%{_bindir}/gnome-text-editor
%{_metainfodir}/org.gnome.TextEditor.appdata.xml
%{_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
%{_datadir}/gnome-text-editor/
%{_datadir}/icons/hicolor/*/*/*.svg
%changelog
* Thu Nov 23 2023 zhangxianting <zhangxianting@uniontech.com> - 44.0-1
- update to version 44.0
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.1-1
- upgrade to 43.1
* Mon Jun 20 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.2-1
- Upgrade to 42.2
* Mon Jun 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.1-1
- Upgrade to 42.1
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.0-1
- Initial packaging

4
gnome-text-editor.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: gitlab.gnome
src_repo: gnome-text-editor
tag_prefix: ^v
separator: .