# Conditional build:
%bcond_with glade # install glade catalog
%bcond_without vala # do not build Vala API
-#
+
Summary: Text widget that extends the standard GTK+ 3.x
Summary(pl.UTF-8): Widget tekstowy rozszerzający standardowy z GTK+ 3.x
Name: gtksourceview3
Version: 3.20.0
-Release: 1
+Release: 2
License: LGPL v2+ (library), GPL v2+ (some language specs files)
Group: X11/Libraries
Source0: http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/3.20/gtksourceview-%{version}.tar.xz
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
Requires: vala
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description -n vala-gtksourceview
GtkSourceView API for Vala language.