Sisyphus repository
Last update: 26 november 2021 | SRPMs: 17424 | Visits: 22401235
en ru br
ALT Linux repos
S:3.20.0-alt1.1

Group :: Editors
RPM: gedit-plugins-latex

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _name gedit-latex
%define ver_major 3.20
%define gedit_pluginsdir %_libdir/gedit/plugins

Name: gedit-plugins-latex
Version: %ver_major.0
Release: alt1.1

Summary: LATEX plugin for GEdit
License: GPLv3
Group: Editors
Url: https://wiki.gnome.org/Apps/Gedit/LaTeXPlugin

Source: %gnome_ftp/%_name/%ver_major/%_name-%version.tar.xz

# use python3

AutoReqProv: nopython
%define __python %nil
%define  gedit_pluginsdir %_libdir/gedit/plugins
%add_python3_path %gedit_pluginsdir

%define glib_ver 2.28.0
%define gtk_ver 3.3.15
%define gedit_ver 3.20.0

Requires: gedit >= %gedit_ver

BuildRequires(pre): rpm-build-gnome >= 0.6 rpm-build-python3

BuildPreReq: intltool >= 0.35.0
BuildPreReq: glib2-devel >= %glib_ver
BuildPreReq: libgtk+3-devel >= %gtk_ver
BuildPreReq: gedit-devel >= %gedit_ver

%description
gEdit is a small but powerful text editor designed expressly for GNOME.

This package contains gedit-latex is a plugin that provides features to
ease the edition of latex documents.

%prep
%setup -n %_name-%version

%build
%configure \
   --disable-static \
   --disable-schemas-compile

%make_build

%install
%makeinstall_std

%find_lang --with-gnome %_name

%files -f %_name.lang
%gedit_pluginsdir/latex.plugin
%dir %gedit_pluginsdir/latex/
%gedit_pluginsdir/latex/*
%_datadir/gedit/plugins/*
%config %_datadir/glib-2.0/schemas/org.gnome.gedit.plugins.latex.gschema.xml

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin