2022-09-19 21:29:43 +00:00
|
|
|
%global glib_version 2.72
|
|
|
|
%global gtk_version 4.6
|
2021-12-02 12:22:24 +00:00
|
|
|
|
|
|
|
%global api_ver 5
|
|
|
|
|
|
|
|
Name: gtksourceview5
|
2024-01-20 10:22:13 +00:00
|
|
|
Version: 5.11.0
|
2024-10-29 15:29:33 +00:00
|
|
|
Release: 4%{?dist}
|
2021-12-02 12:22:24 +00:00
|
|
|
Summary: Source code editing widget
|
|
|
|
|
2023-02-16 16:07:50 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2021-12-02 12:22:24 +00:00
|
|
|
URL: https://wiki.gnome.org/Projects/GtkSourceView
|
2024-01-20 10:22:13 +00:00
|
|
|
Source0: https://download.gnome.org/sources/gtksourceview/5.11/gtksourceview-%{version}.tar.xz
|
2021-12-02 12:22:24 +00:00
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gettext
|
2022-01-08 15:13:03 +00:00
|
|
|
BuildRequires: gi-docgen
|
2021-12-02 12:22:24 +00:00
|
|
|
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}
|
2022-04-22 07:06:55 +00:00
|
|
|
BuildRequires: pkgconfig(libpcre2-8)
|
2021-12-02 12:22:24 +00:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
BuildRequires: pkgconfig(pangoft2)
|
2022-09-27 17:49:06 +00:00
|
|
|
BuildRequires: pkgconfig(sysprof-capture-4)
|
2021-12-02 12:22:24 +00:00
|
|
|
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.
|
|
|
|
|
2022-01-11 15:29:53 +00:00
|
|
|
This package contains version %{api_ver} of GtkSourceView.
|
2021-12-02 12:22:24 +00:00
|
|
|
|
|
|
|
%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
|
2022-01-04 10:53:43 +00:00
|
|
|
%autosetup -n gtksourceview-%{version} -p1
|
2021-12-02 12:22:24 +00:00
|
|
|
|
|
|
|
%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
|
2022-01-08 15:13:03 +00:00
|
|
|
%doc NEWS README.md
|
2021-12-02 12:22:24 +00:00
|
|
|
%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
|
2022-01-08 15:13:03 +00:00
|
|
|
%{_datadir}/doc/gtksourceview5
|
2021-12-02 12:22:24 +00:00
|
|
|
%{_datadir}/vala
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
%{_bindir}/gtksourceview%{api_ver}-widget
|
|
|
|
%{_libexecdir}/installed-tests
|
|
|
|
%{_datadir}/installed-tests
|
|
|
|
|
|
|
|
%changelog
|
2024-10-29 15:29:33 +00:00
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 5.11.0-4
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
2024-06-24 15:45:56 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 5.11.0-3
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-01-24 21:18:16 +00:00
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-20 10:22:13 +00:00
|
|
|
* Sat Jan 20 2024 David King <amigadave@amigadave.com> - 5.11.0-1
|
|
|
|
- Update to 5.11.0
|
|
|
|
|
2024-01-20 21:46:19 +00:00
|
|
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-09-19 10:32:17 +00:00
|
|
|
* Tue Sep 19 2023 Kalev Lember <klember@redhat.com> - 5.10.0-1
|
|
|
|
- Update to 5.10.0
|
|
|
|
|
2023-09-05 10:06:48 +00:00
|
|
|
* Tue Sep 05 2023 Kalev Lember <klember@redhat.com> - 5.9.0-1
|
|
|
|
- Update to 5.9.0
|
|
|
|
|
2023-07-20 05:54:39 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.8.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-03-18 10:29:53 +00:00
|
|
|
* Sat Mar 18 2023 David King <amigadave@amigadave.com> - 5.8.0-1
|
|
|
|
- Update to 5.8.0
|
|
|
|
|
2023-03-04 19:45:09 +00:00
|
|
|
* Sat Mar 04 2023 David King <amigadave@amigadave.com> - 5.7.2-1
|
|
|
|
- Update to 5.7.2
|
|
|
|
|
2023-02-16 16:07:50 +00:00
|
|
|
* Thu Feb 16 2023 David King <amigadave@amigadave.com> - 5.7.1-1
|
|
|
|
- Update to 5.7.1
|
|
|
|
|
2023-02-06 16:36:09 +00:00
|
|
|
* Mon Feb 06 2023 David King <amigadave@amigadave.com> - 5.7.0-1
|
|
|
|
- Update to 5.7.0
|
|
|
|
|
2023-01-19 11:48:31 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-09-27 17:19:11 +00:00
|
|
|
* Tue Sep 27 2022 Kalev Lember <klember@redhat.com> - 5.6.1-2
|
|
|
|
- Rebuild to fix sysprof-capture symbols leaking into libraries consuming it
|
|
|
|
|
2022-09-22 10:57:11 +00:00
|
|
|
* Thu Sep 22 2022 Kalev Lember <klember@redhat.com> - 5.6.1-1
|
|
|
|
- Update to 5.6.1
|
|
|
|
|
2022-09-19 21:29:43 +00:00
|
|
|
* Mon Sep 19 2022 Kalev Lember <klember@redhat.com> - 5.6.0-1
|
|
|
|
- Update to 5.6.0
|
|
|
|
|
2022-08-08 21:07:26 +00:00
|
|
|
* Mon Aug 08 2022 Kalev Lember <klember@redhat.com> - 5.5.1-1
|
|
|
|
- Update to 5.5.1
|
|
|
|
|
2022-07-21 13:18:34 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-15 16:08:15 +00:00
|
|
|
* Fri Jul 15 2022 Kalev Lember <klember@redhat.com> - 5.5.0-1
|
|
|
|
- Update to 5.5.0
|
|
|
|
|
2022-06-14 10:10:04 +00:00
|
|
|
* Tue Jun 14 2022 David King <amigadave@amigadave.com> - 5.4.2-1
|
|
|
|
- Update to 5.4.2 (#2096086)
|
|
|
|
|
2022-05-11 00:42:26 +00:00
|
|
|
* Tue May 10 2022 Adam Williamson <awilliam@redhat.com> - 5.4.1-2
|
|
|
|
- Backport fix for dark theme Markdown highlighting
|
|
|
|
|
2022-04-22 07:06:55 +00:00
|
|
|
* Fri Apr 22 2022 David King <amigadave@amigadave.com> - 5.4.1-1
|
|
|
|
- Update to 5.4.1 (#2077674)
|
|
|
|
|
2022-03-25 10:05:43 +00:00
|
|
|
* Fri Mar 25 2022 David King <amigadave@amigadave.com> - 5.4.0-1
|
|
|
|
- Update to 5.4.0 (#2065873)
|
|
|
|
|
2022-01-20 12:02:10 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2022-01-11 15:29:53 +00:00
|
|
|
* Tue Jan 11 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.3.2-2
|
|
|
|
- Remove usage of undefined macros
|
|
|
|
|
2022-01-09 19:13:57 +00:00
|
|
|
* Sun Jan 09 2022 David King <amigadave@amigadave.com> - 5.3.2-1
|
|
|
|
- Update to 5.3.2
|
|
|
|
|
2022-01-08 15:13:03 +00:00
|
|
|
* Sat Jan 08 2022 David King <amigadave@amigadave.com> - 5.3.1-1
|
|
|
|
- Update to 5.3.1
|
|
|
|
|
2021-12-02 12:22:24 +00:00
|
|
|
* Mon Oct 25 2021 Amanda Graven <amanda@amandag.net> - 5.2.0-1
|
|
|
|
- Initial packaging of GtkSourceView 5
|