[12404] | 1 | %global glib_version 2.48 |
---|
| 2 | %global gtk_version 3.22 |
---|
| 3 | |
---|
| 4 | Name: gtksourceview4 |
---|
| 5 | Version: 4.6.0 |
---|
| 6 | Release: 2%{?_dist_release} |
---|
| 7 | Summary: Source code editing widget |
---|
| 8 | Summary(ja): ソースコード編集ウィジェット |
---|
| 9 | Vendor: Project Vine |
---|
| 10 | Distribution: Vine Linux |
---|
| 11 | |
---|
| 12 | License: LGPLv2+ |
---|
| 13 | URL: https://wiki.gnome.org/Projects/GtkSourceView |
---|
| 14 | %global shortver %(echo %{version} | cut -d . -f 1,2) |
---|
| 15 | Source0: https://download.gnome.org/sources/gtksourceview/%{shortver}/gtksourceview-%{version}.tar.xz |
---|
| 16 | |
---|
| 17 | BuildRequires: gcc |
---|
| 18 | BuildRequires: gettext |
---|
| 19 | BuildRequires: gtk-doc |
---|
| 20 | BuildRequires: itstool |
---|
| 21 | BuildRequires: meson |
---|
| 22 | BuildRequires: pkgconfig(gdk-pixbuf-2.0) |
---|
| 23 | BuildRequires: pkgconfig(gladeui-2.0) |
---|
| 24 | BuildRequires: pkgconfig(glib-2.0) >= %{glib_version} |
---|
| 25 | BuildRequires: pkgconfig(gobject-introspection-1.0) |
---|
| 26 | BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk_version} |
---|
| 27 | BuildRequires: pkgconfig(libxml-2.0) |
---|
| 28 | BuildRequires: pkgconfig(pango) |
---|
| 29 | BuildRequires: fribidi-devel |
---|
| 30 | BuildRequires: vala-tools |
---|
| 31 | BuildRequires: vala-devel |
---|
| 32 | |
---|
| 33 | Requires: glib2%{?_isa} >= %{glib_version} |
---|
| 34 | Requires: gtk3%{?_isa} >= %{gtk_version} |
---|
| 35 | |
---|
| 36 | %description |
---|
| 37 | GtkSourceView is a GNOME library that extends GtkTextView, the standard GTK+ |
---|
| 38 | widget for multiline text editing. GtkSourceView adds support for syntax |
---|
| 39 | highlighting, undo/redo, file loading and saving, search and replace, a |
---|
| 40 | completion system, printing, displaying line numbers, and other features |
---|
| 41 | typical of a source code editor. |
---|
| 42 | |
---|
| 43 | This package contains version 4 of GtkSourceView. |
---|
| 44 | |
---|
| 45 | %description -l ja |
---|
| 46 | GtkSourceViewは、GTK+標準の複数行テキスト編集ウィジェット・GtkTextViewを |
---|
| 47 | 拡張するGNOMEライブラリです。GtkSourceViewは、シンタックスハイライト、 |
---|
| 48 | undo/redo、ファイル読込・保存、検索・置換、入力補完、印刷、行番号表示、 |
---|
| 49 | 等々の典型的なソースコードエディタの機能を追加します。 |
---|
| 50 | |
---|
| 51 | このパッケージはGtkSourceViewのバージョン4を収録しています。 |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %package devel |
---|
| 55 | Summary: Development files for %{name} |
---|
| 56 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
| 57 | |
---|
| 58 | %description devel |
---|
| 59 | The %{name}-devel package contains libraries and header files for |
---|
| 60 | developing applications that use %{name}. |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %package tests |
---|
| 64 | Summary: Tests for the %{name} package |
---|
| 65 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
| 66 | |
---|
| 67 | %description tests |
---|
| 68 | The %{name}-tests package contains tests that can be used to verify |
---|
| 69 | the functionality of the installed %{name} package. |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %prep |
---|
| 73 | %autosetup -n gtksourceview-%{version} |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %build |
---|
| 77 | %meson -Dgtk_doc=true -Dglade_catalog=true -Dinstall_tests=true |
---|
| 78 | %meson_build |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %install |
---|
| 82 | %meson_install |
---|
| 83 | |
---|
| 84 | %find_lang gtksourceview-4 |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | %files -f gtksourceview-4.lang |
---|
| 88 | %license COPYING |
---|
| 89 | %dir %{_libdir}/girepository-1.0 |
---|
| 90 | %{_libdir}/girepository-1.0/GtkSource-4.typelib |
---|
| 91 | %{_libdir}/libgtksourceview-4.so.0* |
---|
| 92 | %{_datadir}/gtksourceview-4/ |
---|
| 93 | |
---|
| 94 | %files devel |
---|
| 95 | %{_includedir}/gtksourceview-4/ |
---|
| 96 | %{_libdir}/pkgconfig/*.pc |
---|
| 97 | %{_libdir}/libgtksourceview-4.so |
---|
| 98 | %dir %{_datadir}/gir-1.0 |
---|
| 99 | %{_datadir}/gir-1.0/GtkSource-4.gir |
---|
| 100 | %dir %{_datadir}/glade |
---|
| 101 | %dir %{_datadir}/glade/catalogs |
---|
| 102 | %{_datadir}/glade/catalogs/gtksourceview.xml |
---|
| 103 | %dir %{_datadir}/gtk-doc |
---|
| 104 | %dir %{_datadir}/gtk-doc/html |
---|
| 105 | %{_datadir}/gtk-doc/html/* |
---|
| 106 | %dir %{_datadir}/vala |
---|
| 107 | %dir %{_datadir}/vala/vapi |
---|
| 108 | %{_datadir}/vala/vapi/gtksourceview-4.deps |
---|
| 109 | %{_datadir}/vala/vapi/gtksourceview-4.vapi |
---|
| 110 | |
---|
| 111 | %files tests |
---|
| 112 | %dir %{_libexecdir}/installed-tests |
---|
| 113 | %{_libexecdir}/installed-tests/gtksourceview-4/ |
---|
| 114 | %dir %{_datadir}/installed-tests |
---|
| 115 | %{_datadir}/installed-tests/gtksourceview-4/ |
---|
| 116 | |
---|
| 117 | |
---|
| 118 | %changelog |
---|
| 119 | * Tue May 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.6.0-2 |
---|
| 120 | - initial build for Vine Linux. |
---|
| 121 | |
---|
| 122 | * Sat Mar 07 2020 Kalev Lember <klember@redhat.com> - 4.6.0-1 |
---|
| 123 | - Update to 4.6.0 |
---|
| 124 | |
---|
| 125 | * Mon Feb 17 2020 Kalev Lember <klember@redhat.com> - 4.5.91-1 |
---|
| 126 | - Update to 4.5.91 |
---|
| 127 | |
---|
| 128 | * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-2 |
---|
| 129 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild |
---|
| 130 | |
---|
| 131 | * Tue Sep 10 2019 Kalev Lember <klember@redhat.com> - 4.4.0-1 |
---|
| 132 | - Update to 4.4.0 |
---|
| 133 | |
---|
| 134 | * Wed Sep 04 2019 Kalev Lember <klember@redhat.com> - 4.3.92-1 |
---|
| 135 | - Update to 4.3.92 |
---|
| 136 | |
---|
| 137 | * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.1-2 |
---|
| 138 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
---|
| 139 | |
---|
| 140 | * Mon Apr 29 2019 Phil Wyett <philwyett@kathenas.org> - 4.3.1-1 |
---|
| 141 | - Update to 4.3.1 |
---|
| 142 | - Convert to meson |
---|
| 143 | |
---|
| 144 | * Sat Mar 16 2019 Kalev Lember <klember@redhat.com> - 4.2.0-1 |
---|
| 145 | - Update to 4.2.0 |
---|
| 146 | |
---|
| 147 | * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.3-3 |
---|
| 148 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
| 149 | |
---|
| 150 | * Fri Sep 07 2018 Kalev Lember <klember@redhat.com> - 4.0.3-2 |
---|
| 151 | - Rebuilt against fixed atk (#1626575) |
---|
| 152 | |
---|
| 153 | * Fri Sep 07 2018 Pete Walter <pwalter@fedoraproject.org> - 4.0.3-1 |
---|
| 154 | - Initial packaging of GtkSourceView 4 |
---|