File latexila.spec of Package latexila

# spec file for package latexila
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# 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

Name:           latexila
Version:        3.20.1
Release:        0
Summary:        Integrated LaTeX Environment for the GNOME desktop
License:        GPL-3.0+
Group:          Productivity/Publishing/TeX/Frontends
BuildRequires:  fdupes
BuildRequires:  gettext-tools
BuildRequires:  gnome-desktop
BuildRequires:  gsettings-desktop-schemas-devel
BuildRequires:  hicolor-icon-theme
BuildRequires:  intltool
BuildRequires:  itstool
BuildRequires:  libtool
BuildRequires:  pkg-config
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
BuildRequires:  vala >= 0.26.0
BuildRequires:  pkgconfig(gee-0.8) >= 0.10
BuildRequires:  pkgconfig(gio-2.0) >= 2.40
BuildRequires:  pkgconfig(gobject-introspection-1.0)
BuildRequires:  pkgconfig(gspell-1) >= 1.0
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.20
BuildRequires:  pkgconfig(gtksourceview-3.0) >= 3.18.0
BuildRequires:  pkgconfig(vapigen)
Requires:       gsettings-desktop-schemas
Requires:       texlive-latexmk-bin
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

LaTeXila is an Integrated LaTeX Environment for GNOME. The main features are:
  * Configurable buttons to compile, convert and view a document in one click
  * LaTeX commands auto-completion
  * Symbol tables (Greek letters, arrows, ...)
  * File browser integrated
  * Template managing
  * Menus with the most commonly used LaTeX commands
  * Easy projects management

%setup -q

./configure --prefix=%{_prefix} --with-gnome
make %{?_smp_mflags}

%suse_update_desktop_file org.gnome.%{name} WordProcessor
%find_lang %{name}
%fdupes -s %{buildroot}



%files -f %{name}.lang
%if 0%{?suse_version} == 1315
%dir %{_datadir}/appdata
%dir %{_datadir}/gtk-doc/html/latexila/