File latexila.spec of Package latexila
#
# spec file for package latexila
#
# Copyright (c) 2013 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: latexila
Version: 2.8.3
Release: 0
Summary: Integrated LaTeX Environment for the GNOME desktop
License: GPL-3.0+
Group: Productivity/Publishing/TeX/Frontends
Url: http://projects.gnome.org/latexila/
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.8/%{name}-%{version}.tar.xz
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
BuildRequires: pkgconfig(enchant)
BuildRequires: pkgconfig(gee-1.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.6.0
BuildRequires: pkgconfig(gtksourceview-3.0) >= 3.8.0
%if 0%{?suse_version} <= 1230
BuildRequires: pkgconfig(gtkspell-3.0)
%else
BuildRequires: pkgconfig(gtkspell3-3.0)
%endif
%if 0%{?suse_version} <= 1210
BuildRequires: xz
%endif
Requires: gsettings-desktop-schemas
Requires: rubber
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
translation-update-upstream
%build
./configure --prefix=%{_prefix} --with-gnome
make %{?_smp_mflags}
%install
%make_install
%suse_update_desktop_file %{name} WordProcessor
%find_lang %{name}
%fdupes -s %{buildroot}
%post
%glib2_gsettings_schema_post
%desktop_database_post
%icon_theme_cache_post
%postun
%glib2_gsettings_schema_postun
%desktop_database_postun
%icon_theme_cache_postun
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README NEWS HACKING
%{_bindir}/*
%{_datadir}/%{name}/
%{_datadir}/icons/hicolor/*/*/
%{_datadir}/applications/*
%{_datadir}/glib-2.0/schemas/org.gnome.%{name}.gschema.xml
%{_mandir}/man1/%{name}.1.*
%changelog