Группа :: Редакторы
Пакет: gedit-plugins-latex
Главная Изменения Спек Патчи Sources Загрузить 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
…
Полный changelog можно просмотреть здесь
%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
…
Полный changelog можно просмотреть здесь