Blame SPECS/gtksourceview4.spec

f2101b
%global glib_version 2.48
f2101b
%global gtk_version 3.22
f2101b
f2101b
Name:           gtksourceview4
f2101b
Version:        4.8.1
f2101b
Release:        3%{?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
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
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
f2101b
%autosetup -n gtksourceview-%{version}
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
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