File gnome-code-assistance.spec of Package gnome-code-assistance
#
# spec file for package gnome-code-assistance
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: gnome-code-assistance
Version: 3.16.1
Release: 0
Summary: Code Assistance Service for Code Editors
License: GPL-3.0+
Group: Development/
Url: https://git.gnome.org/browse/gnome-code-assistance
Source: http://download.gnome.org/sources/gnome-code-assistance/3.16/%{name}-%{version}.tar.xz
# Generic build dependencies
BuildRequires: pkgconfig(gio-2.0)
# Python backend
BuildRequires: dbus-1-python3
BuildRequires: python3
BuildRequires: python3-gobject
# C backend
%ifnarch ppc
BuildRequires: llvm-devel
%endif
# Ruby backend
BuildRequires: ruby >= 2.0
BuildRequires: rubygem(ruby-dbus)
# GJS Backend
BuildRequires: gjs
# Vala backend
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(gio-2.0) >= 2.36
BuildRequires: pkgconfig(glib-2.0) >= 2.36
BuildRequires: pkgconfig(gobject-2.0) >= 2.36
BuildRequires: pkgconfig(libvala-0.32)
BuildRequires: pkgconfig(vapigen)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires
%description
gnome-code-assistance is a project which aims to provide common code assistance
services for code editors (simple editors as well as IDEs). It is an effort to
provide a centralized code-assistance as a service for the GNOME platform
instead of having every editor implement their own solution.
%prep
%setup -q
%build
%configure \
%ifnarch ppc
--enable-c \
%endif
--enable-python \
--enable-ruby \
--enable-css \
--enable-js \
--enable-xml \
--enable-sh \
--enable-vala
make %{?_smp_mflags}
%install
%make_install
%post
%glib2_gsettings_schema_post
%postun
%glib2_gsettings_schema_postun
%files
%defattr(-,root,root)
%doc ChangeLog README COPYING
%{_datadir}/dbus-1/services/org.gnome.CodeAssist.v1.sh.service
%{_datadir}/glib-2.0/schemas/org.gnome.codeassistance.gschema.xml
%{_libexecdir}/%{name}/
%{_datadir}/dbus-1/services/org.gnome.CodeAssist.v1.*.service
%changelog