File latexila.spec of Package latexila
#
# spec file for package latexila
#
# Copyright (c) 2017 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 http://bugs.opensuse.org/
#
Name: latexila
Version: 3.26.1
Release: 0
Summary: Integrated LaTeX Environment for the GNOME desktop
License: GPL-3.0+
Group: Productivity/Publishing/TeX/Frontends
Url: https://projects.gnome.org/latexila/
Source0: https://download.gnome.org/sources/latexila/3.26/%{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: gnome-desktop
BuildRequires: gsettings-desktop-schemas-devel
BuildRequires: gtk-doc
BuildRequires: hicolor-icon-theme
BuildRequires: intltool
BuildRequires: itstool
BuildRequires: libtool
BuildRequires: pkgconfig
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
BuildRequires: update-desktop-files
BuildRequires: vala >= 0.34
BuildRequires: pkgconfig(gee-0.8) >= 0.10
BuildRequires: pkgconfig(gio-2.0) >= 2.50
BuildRequires: pkgconfig(glib-2.0) >= 2.50
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.30.0
BuildRequires: pkgconfig(gspell-1) >= 1.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22
BuildRequires: pkgconfig(gtksourceview-3.0) >= 3.24
BuildRequires: pkgconfig(tepl-3) >= 3.0
BuildRequires: pkgconfig(vapigen) >= 0.34
Requires: gsettings-desktop-schemas
Requires: texlive-latexmk-bin
%description
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
%prep
%setup -q
%if !0%{?is_opensuse}
translation-update-upstream
%endif
%build
%configure
make %{?_smp_mflags}
%install
%make_install
%suse_update_desktop_file org.gnome.%{name} WordProcessor
%find_lang %{name}
%fdupes -s %{buildroot}%{_datadir}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README NEWS HACKING
%{_bindir}/*
%{_datadir}/%{name}/
%{_datadir}/icons/hicolor/*/*/
%{_datadir}/applications/*
%{_datadir}/dbus-1/services/org.gnome.latexila.service
%{_datadir}/glib-2.0/schemas/org.gnome.%{name}.gschema.xml
%{_datadir}/appdata/org.gnome.latexila.appdata.xml
%{_mandir}/man1/%{name}.1.*
%dir %{_datadir}/gtk-doc/html/latexila/
%{_datadir}/gtk-doc/html/latexila/*
%changelog