LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File gummi.spec of Package gummi (Project Publishing)

# spec file for package gummi
# Copyright (c) 2015 SUSE LINUX Products 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:           gummi
Version:        0.7.1
Release:        0
Summary:        Simple LaTeX editor
License:        MIT
Group:          Productivity/Publishing/TeX/Frontends
Url:            https://github.com/aitjcize/Gummi
# Upstream only provide tarballs from launchpad
Source0:        https://launchpad.net/~gummi/+archive/ubuntu/gummi/+files/%{name}-gtk3_%{version}.orig.tar.gz
# PATCH-FIX-UPSTREAM gummi-fix-crash-on-opening-file.patch bnc#840589 hpj@suse.com -- Fix crash on opening file from the GUI.
Patch1:         gummi-fix-crash-on-opening-file.patch
BuildRequires:  fdupes
BuildRequires:  intltool
BuildRequires:  pkg-config
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(gtksourceview-3.0)
BuildRequires:  pkgconfig(gtkspell3-3.0)
BuildRequires:  pkgconfig(poppler-glib)
Requires:       gtkspell
Requires:       texlive-latex
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Gummi is an opensource project that started in August of 2009 by
Alexander van der Mey. It is a LaTeX editor written in the C
programming language using the GTK+ toolkit. It was designed with
simplicity in mind, but hopes to attract both novice and advanced
LaTeX writers. Gummi is still under active development and is
released under the opensource MIT license.


%setup -q -n %{name}-gtk3-%{version}
%patch1 -p1

make %{?_smp_mflags}

make install DESTDIR=%{buildroot} INSTALL="install -p"
%find_lang %{name}
%suse_update_desktop_file %{name} Office WordProcessor
%fdupes %{buildroot}%{_datadir}/


%files lang -f %{name}.lang