Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
006881c465
!5 升级到5.8.0
From: @lvgenggeng 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
2023-11-29 06:59:31 +00:00
lvgenggeng
62a611bb5d bump to 5.8.0
Signed-off-by: lvgenggeng <lvgenggeng@uniontech.com>
2023-11-29 13:57:49 +08:00
openeuler-ci-bot
0f042348b0
!4 Update to 5.6.1
From: @dwl301 
Reviewed-by: @zhang__3125 
Signed-off-by: @zhang__3125
2023-02-01 08:45:28 +00:00
dwl301
b630fc12ce Update to 5.6.1 2023-02-01 16:10:19 +08:00
openeuler-ci-bot
30a16e550b
!3 update to 5.4.2
From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
2022-06-21 04:06:18 +00:00
zhang__3125
1734625491 update to 5.4.2 2022-06-21 11:02:03 +08:00
openeuler-ci-bot
24806f724b
!2 Upgrade to 5.4.1
From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
2022-06-08 03:04:42 +00:00
zhang__3125
f7851b77be Upgrade to 5.4.1 2022-06-08 10:33:07 +08:00
openeuler-ci-bot
084490df76
!1 Initial packaging of GtkSourceView 5
From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
2022-06-07 04:20:21 +00:00
zhang__3125
0c404e06c5 Initial packaging of GtkSourceView 5 2022-04-13 16:22:45 +08:00
3 changed files with 114 additions and 0 deletions

BIN
gtksourceview-5.8.0.tar.xz Normal file

Binary file not shown.

110
gtksourceview5.spec Normal file
View File

@ -0,0 +1,110 @@
%global glib_version 2.72
%global gtk_version 4.6
%global src_name gtksourceview
%global api_ver 5
Name: gtksourceview5
Version: 5.8.0
Release: 1
Summary: Source code editing widget
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/GtkSourceView
Source0: https://download.gnome.org/sources/gtksourceview/%{api_ver}.8/%{src_name}-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: gi-docgen
BuildRequires: itstool
BuildRequires: meson
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(fribidi)
BuildRequires: pkgconfig(gio-2.0) >= %{glib_version}
BuildRequires: pkgconfig(glib-2.0) >= %{glib_version}
BuildRequires: pkgconfig(gobject-2.0) >= %{glib_version}
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk4) >= %{gtk_version}
BuildRequires: pkgconfig(libpcre2-8)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(pangoft2)
BuildRequires: pkgconfig(sysprof-capture-4)
BuildRequires: vala
Requires: glib2%{?_isa} >= %{glib_version}
Requires: gtk4%{?_isa} >= %{gtk_version}
Requires: hicolor-icon-theme
%description
GtkSourceView is a GNOME library that extends GtkTextView, the standard GTK+
widget for multiline text editing. GtkSourceView adds support for syntax
highlighting, undo/redo, file loading and saving, search and replace, a
completion system, printing, displaying line numbers, and other features
typical of a source code editor.
This package contains version %{api_ver} of GtkSourceView.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package tests
Summary: Tests for the %{name} package
Requires: %{name}%{?_isa} = %{version}-%{release}
%description tests
The %{name}-tests package contains tests that can be used to verify
the functionality of the installed %{name} package.
%prep
%autosetup -n gtksourceview-%{version} -p1
%build
%meson -Dgtk_doc=true -Dsysprof=true -Dinstall_tests=true
%meson_build
%install
%meson_install
%find_lang gtksourceview-%{api_ver}
%files -f gtksourceview-%{api_ver}.lang
%license COPYING
%doc NEWS README.md
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/GtkSource-%{api_ver}.typelib
%{_libdir}/libgtksourceview-%{api_ver}.so.0*
%{_datadir}/gtksourceview-%{api_ver}/
%{_datadir}/icons/hicolor/scalable/actions/*
%files devel
%{_includedir}/gtksourceview-%{api_ver}/
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libgtksourceview-%{api_ver}.so
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/GtkSource-%{api_ver}.gir
%{_datadir}/doc/gtksourceview5
%{_datadir}/vala
%files tests
%{_bindir}/gtksourceview%{api_ver}-widget
%{_libexecdir}/installed-tests
%{_datadir}/installed-tests
%changelog
* Fri Nov 17 2023 lvgenggeng <lvgenggeng@uniontech.com> - 5.8.0-1
- bump to 5.8.0
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 5.6.1-1
- Upgrade to 5.6.1
* Mon Jun 20 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 5.4.2-1
- Upgrade to 5.4.2
* Mon Jun 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 5.4.1-1
- Upgrade to 5.4.1
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 5.4.0-1
- Initial packaging of GtkSourceView 5

4
gtksourceview5.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: gitlab.gnome
src_repo: gtksourceview
tag_prefix: ^v
seperator: .