gtksourceview4-vl.spec 5.0 KB

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