source: projects/specs/trunk/g/gtksourceview4/gtksourceview4-vl.spec @ 12404

Revision 12404, 4.8 KB checked in by tomop, 4 years ago (diff)

gtksourceview4-4.6.0-2

Line 
1%global glib_version 2.48
2%global gtk_version 3.22
3
4Name:           gtksourceview4
5Version:        4.6.0
6Release:        2%{?_dist_release}
7Summary:        Source code editing widget
8Summary(ja):    ソースコード編集ウィジェット
9Vendor:         Project Vine
10Distribution:   Vine Linux
11
12License:        LGPLv2+
13URL:            https://wiki.gnome.org/Projects/GtkSourceView
14%global         shortver %(echo %{version} | cut -d . -f 1,2)
15Source0:        https://download.gnome.org/sources/gtksourceview/%{shortver}/gtksourceview-%{version}.tar.xz
16
17BuildRequires:  gcc
18BuildRequires:  gettext
19BuildRequires:  gtk-doc
20BuildRequires:  itstool
21BuildRequires:  meson
22BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
23BuildRequires:  pkgconfig(gladeui-2.0)
24BuildRequires:  pkgconfig(glib-2.0) >= %{glib_version}
25BuildRequires:  pkgconfig(gobject-introspection-1.0)
26BuildRequires:  pkgconfig(gtk+-3.0) >= %{gtk_version}
27BuildRequires:  pkgconfig(libxml-2.0)
28BuildRequires:  pkgconfig(pango)
29BuildRequires:  fribidi-devel
30BuildRequires:  vala-tools
31BuildRequires:  vala-devel
32
33Requires: glib2%{?_isa} >= %{glib_version}
34Requires: gtk3%{?_isa} >= %{gtk_version}
35
36%description
37GtkSourceView is a GNOME library that extends GtkTextView, the standard GTK+
38widget for multiline text editing. GtkSourceView adds support for syntax
39highlighting, undo/redo, file loading and saving, search and replace, a
40completion system, printing, displaying line numbers, and other features
41typical of a source code editor.
42
43This package contains version 4 of GtkSourceView.
44
45%description -l ja
46 GtkSourceViewは、GTK+標準の複数行テキスト編集ウィジェット・GtkTextViewを
47拡張するGNOMEライブラリです。GtkSourceViewは、シンタックスハイライト、
48undo/redo、ファイル読込・保存、検索・置換、入力補完、印刷、行番号表示、
49等々の典型的なソースコードエディタの機能を追加します。
50
51 このパッケージはGtkSourceViewのバージョン4を収録しています。
52
53
54%package        devel
55Summary:        Development files for %{name}
56Requires:       %{name}%{?_isa} = %{version}-%{release}
57
58%description    devel
59The %{name}-devel package contains libraries and header files for
60developing applications that use %{name}.
61
62
63%package        tests
64Summary:        Tests for the %{name} package
65Requires:       %{name}%{?_isa} = %{version}-%{release}
66
67%description    tests
68The %{name}-tests package contains tests that can be used to verify
69the 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
Note: See TracBrowser for help on using the repository browser.