|
|
f2101b |
%global glib_version 2.48
|
|
|
f2101b |
%global gtk_version 3.22
|
|
|
f2101b |
|
|
|
f2101b |
Name: gtksourceview4
|
|
|
f2101b |
Version: 4.8.1
|
|
|
a78d3a |
Release: 5%{?dist}
|
|
|
f2101b |
Summary: Source code editing widget
|
|
|
f2101b |
|
|
|
f2101b |
License: LGPLv2+
|
|
|
f2101b |
URL: https://wiki.gnome.org/Projects/GtkSourceView
|
|
|
f2101b |
Source0: https://download.gnome.org/sources/gtksourceview/4.8/gtksourceview-%{version}.tar.xz
|
|
|
f2101b |
|
|
|
f2101b |
BuildRequires: gcc
|
|
|
f2101b |
BuildRequires: gettext
|
|
|
a78d3a |
BuildRequires: git
|
|
|
f2101b |
BuildRequires: gtk-doc
|
|
|
f2101b |
BuildRequires: itstool
|
|
|
f2101b |
BuildRequires: meson
|
|
|
f2101b |
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
|
|
f2101b |
BuildRequires: pkgconfig(gladeui-2.0)
|
|
|
f2101b |
BuildRequires: pkgconfig(glib-2.0) >= %{glib_version}
|
|
|
f2101b |
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
f2101b |
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk_version}
|
|
|
f2101b |
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
f2101b |
BuildRequires: pkgconfig(pango)
|
|
|
f2101b |
BuildRequires: vala
|
|
|
f2101b |
|
|
|
f2101b |
Requires: glib2%{?_isa} >= %{glib_version}
|
|
|
f2101b |
Requires: gtk3%{?_isa} >= %{gtk_version}
|
|
|
f2101b |
|
|
|
a78d3a |
# Fixes build and test suite on single cpu VMs
|
|
|
a78d3a |
Patch10001: 0001-build-ensure-access-to-resources-in-corelib-build.patch
|
|
|
a78d3a |
|
|
|
a78d3a |
Patch20001: 0001-view-fix-decrement-of-negative-numbers.patch
|
|
|
a78d3a |
|
|
|
f2101b |
%description
|
|
|
f2101b |
GtkSourceView is a GNOME library that extends GtkTextView, the standard GTK+
|
|
|
f2101b |
widget for multiline text editing. GtkSourceView adds support for syntax
|
|
|
f2101b |
highlighting, undo/redo, file loading and saving, search and replace, a
|
|
|
f2101b |
completion system, printing, displaying line numbers, and other features
|
|
|
f2101b |
typical of a source code editor.
|
|
|
f2101b |
|
|
|
f2101b |
This package contains version 4 of GtkSourceView.
|
|
|
f2101b |
|
|
|
f2101b |
%package devel
|
|
|
f2101b |
Summary: Development files for %{name}
|
|
|
f2101b |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
f2101b |
|
|
|
f2101b |
%description devel
|
|
|
f2101b |
The %{name}-devel package contains libraries and header files for
|
|
|
f2101b |
developing applications that use %{name}.
|
|
|
f2101b |
|
|
|
f2101b |
%package tests
|
|
|
f2101b |
Summary: Tests for the %{name} package
|
|
|
f2101b |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
f2101b |
|
|
|
f2101b |
%description tests
|
|
|
f2101b |
The %{name}-tests package contains tests that can be used to verify
|
|
|
f2101b |
the functionality of the installed %{name} package.
|
|
|
f2101b |
|
|
|
f2101b |
%prep
|
|
|
a78d3a |
%autosetup -n gtksourceview-%{version} -S git
|
|
|
f2101b |
|
|
|
f2101b |
%build
|
|
|
f2101b |
%meson -Dgtk_doc=true -Dglade_catalog=true -Dinstall_tests=true
|
|
|
f2101b |
%meson_build
|
|
|
f2101b |
|
|
|
f2101b |
%install
|
|
|
f2101b |
%meson_install
|
|
|
f2101b |
|
|
|
f2101b |
%find_lang gtksourceview-4
|
|
|
f2101b |
|
|
|
f2101b |
%files -f gtksourceview-4.lang
|
|
|
f2101b |
%license COPYING
|
|
|
f2101b |
%dir %{_libdir}/girepository-1.0
|
|
|
f2101b |
%{_libdir}/girepository-1.0/GtkSource-4.typelib
|
|
|
f2101b |
%{_libdir}/libgtksourceview-4.so.0*
|
|
|
f2101b |
%{_datadir}/gtksourceview-4/
|
|
|
f2101b |
|
|
|
f2101b |
%files devel
|
|
|
f2101b |
%{_includedir}/gtksourceview-4/
|
|
|
f2101b |
%{_libdir}/pkgconfig/*.pc
|
|
|
f2101b |
%{_libdir}/libgtksourceview-4.so
|
|
|
f2101b |
%dir %{_datadir}/gir-1.0
|
|
|
f2101b |
%{_datadir}/gir-1.0/GtkSource-4.gir
|
|
|
f2101b |
%dir %{_datadir}/glade
|
|
|
f2101b |
%dir %{_datadir}/glade/catalogs
|
|
|
f2101b |
%{_datadir}/glade/catalogs/gtksourceview.xml
|
|
|
f2101b |
%dir %{_datadir}/gtk-doc
|
|
|
f2101b |
%dir %{_datadir}/gtk-doc/html
|
|
|
f2101b |
%{_datadir}/gtk-doc/html/*
|
|
|
f2101b |
%dir %{_datadir}/vala
|
|
|
f2101b |
%dir %{_datadir}/vala/vapi
|
|
|
f2101b |
%{_datadir}/vala/vapi/gtksourceview-4.deps
|
|
|
f2101b |
%{_datadir}/vala/vapi/gtksourceview-4.vapi
|
|
|
f2101b |
|
|
|
f2101b |
%files tests
|
|
|
f2101b |
%dir %{_libexecdir}/installed-tests
|
|
|
f2101b |
%{_libexecdir}/installed-tests/gtksourceview-4/
|
|
|
f2101b |
%dir %{_datadir}/installed-tests
|
|
|
f2101b |
%{_datadir}/installed-tests/gtksourceview-4/
|
|
|
f2101b |
|
|
|
f2101b |
%changelog
|
|
|
a78d3a |
* Thu Jan 26 2023 Ray Strode <rstrode@redhat.com> - 4.8.1-5
|
|
|
a78d3a |
- Add build and test suite fix for single core VMs
|
|
|
a78d3a |
Related: #2062786
|
|
|
a78d3a |
|
|
|
a78d3a |
* Wed Jan 25 2023 Ray Strode
|
|
|
a78d3a |
- Fix decrement number feature
|
|
|
a78d3a |
Resolves: #2062786
|
|
|
a78d3a |
|
|
|
f2101b |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.8.1-3
|
|
|
f2101b |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
f2101b |
Related: rhbz#1991688
|
|
|
f2101b |
|
|
|
f2101b |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.8.1-2
|
|
|
f2101b |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
f2101b |
|
|
|
f2101b |
* Tue Mar 02 2021 Kalev Lember <klember@redhat.com> - 4.8.1-1
|
|
|
f2101b |
- Update to 4.8.1
|
|
|
f2101b |
|
|
|
f2101b |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.8.0-2
|
|
|
f2101b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
f2101b |
|
|
|
f2101b |
* Sat Sep 12 2020 Kalev Lember <klember@redhat.com> - 4.8.0-1
|
|
|
f2101b |
- Update to 4.8.0
|
|
|
f2101b |
|
|
|
f2101b |
* Mon Aug 17 2020 Kalev Lember <klember@redhat.com> - 4.7.90-1
|
|
|
f2101b |
- Update to 4.7.90
|
|
|
f2101b |
|
|
|
f2101b |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.1-2
|
|
|
f2101b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
f2101b |
|
|
|
f2101b |
* Mon Jul 20 2020 Kalev Lember <klember@redhat.com> - 4.6.1-1
|
|
|
f2101b |
- Update to 4.6.1
|
|
|
f2101b |
|
|
|
f2101b |
* Sat Mar 07 2020 Kalev Lember <klember@redhat.com> - 4.6.0-1
|
|
|
f2101b |
- Update to 4.6.0
|
|
|
f2101b |
|
|
|
f2101b |
* Mon Feb 17 2020 Kalev Lember <klember@redhat.com> - 4.5.91-1
|
|
|
f2101b |
- Update to 4.5.91
|
|
|
f2101b |
|
|
|
f2101b |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-2
|
|
|
f2101b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
f2101b |
|
|
|
f2101b |
* Tue Sep 10 2019 Kalev Lember <klember@redhat.com> - 4.4.0-1
|
|
|
f2101b |
- Update to 4.4.0
|
|
|
f2101b |
|
|
|
f2101b |
* Wed Sep 04 2019 Kalev Lember <klember@redhat.com> - 4.3.92-1
|
|
|
f2101b |
- Update to 4.3.92
|
|
|
f2101b |
|
|
|
f2101b |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.1-2
|
|
|
f2101b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
f2101b |
|
|
|
f2101b |
* Mon Apr 29 2019 Phil Wyett <philwyett@kathenas.org> - 4.3.1-1
|
|
|
f2101b |
- Update to 4.3.1
|
|
|
f2101b |
- Convert to meson
|
|
|
f2101b |
|
|
|
f2101b |
* Sat Mar 16 2019 Kalev Lember <klember@redhat.com> - 4.2.0-1
|
|
|
f2101b |
- Update to 4.2.0
|
|
|
f2101b |
|
|
|
f2101b |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.3-3
|
|
|
f2101b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
f2101b |
|
|
|
f2101b |
* Fri Sep 07 2018 Kalev Lember <klember@redhat.com> - 4.0.3-2
|
|
|
f2101b |
- Rebuilt against fixed atk (#1626575)
|
|
|
f2101b |
|
|
|
f2101b |
* Fri Sep 07 2018 Pete Walter <pwalter@fedoraproject.org> - 4.0.3-1
|
|
|
f2101b |
- Initial packaging of GtkSourceView 4
|