## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global glib_version 2.72 %global gtk_version 4.17 %global api_ver 5 Name: gtksourceview5 Version: 5.18.0 Release: %autorelease Summary: Source code editing widget License: LGPL-2.1-or-later URL: https://wiki.gnome.org/Projects/GtkSourceView Source0: https://download.gnome.org/sources/gtksourceview/5.18/gtksourceview-%{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} # Because web fonts from upstream are not bundled in the gi-docgen package, # packages containing documentation generated with gi-docgen should depend on # this metapackage to ensure the proper system fonts are present. Recommends: gi-docgen-fonts %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 -Ddocumentation=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 ## START: Generated by rpmautospec * Fri Jan 16 2026 Fedora Release Engineering - 5.18.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Sun Nov 30 2025 Benjamin A. Beasley - 5.18.0-3 - Ensure correct fonts are installed for HTML docs * Mon Sep 15 2025 Michael Catanzaro - 5.18.0-1 - Update to 5.18.0 * Thu Sep 04 2025 Michael Catanzaro - 5.17.1-1 - Update to 5.17.1 * Thu Jul 24 2025 Fedora Release Engineering - 5.17.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Jun 30 2025 Milan Crha - 5.17.0-1 - Update to 5.17.0 * Mon Mar 17 2025 nmontero - 5.16.0-1 - Update to 5.16.0 * Mon Mar 03 2025 nmontero - 5.15.1-1 - Update to 5.15.1 * Mon Feb 03 2025 nmontero - 5.15.0-1 - Update to 5.15.0 * Fri Jan 17 2025 Fedora Release Engineering - 5.14.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Nov 25 2024 nmontero - 5.14.2-1 - Update to 5.14.2 * Sat Oct 05 2024 David King - 5.14.1-1 - Update to 5.14.1 * Wed Sep 18 2024 nmontero - 5.14.0-1 - Update to 5.14.0 * Mon Aug 05 2024 nmontero - 5.13.1-1 - Update to 5.13.1 * Thu Jul 18 2024 Fedora Release Engineering - 5.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jul 01 2024 Nieves Montero - 5.13.0-1 - Update to 5.13.0 * Fri May 31 2024 Nieves Montero - 5.12.1-1 - Update to 5.12.1 * Sat Mar 16 2024 David King - 5.12.0-1 - Update to 5.12.0 * Tue Mar 05 2024 David King - 5.11.2-1 - Update to 5.11.2 * Sun Feb 18 2024 David King - 5.11.1-1 - Update to 5.11.1 * Wed Jan 24 2024 Fedora Release Engineering - 5.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 David King - 5.11.0-1 - Update to 5.11.0 * Sat Jan 20 2024 Fedora Release Engineering - 5.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Sep 19 2023 Kalev Lember - 5.10.0-1 - Update to 5.10.0 ## END: Generated by rpmautospec