gtksourceview4-vl.spec 4.8 KB

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