Blame SPECS/gtksourceview4.spec

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