Sisyphus repository
Last update: 18 january 2022 | SRPMs: 17489 | Visits: 22778519
en ru br
ALT Linux repos
S:3.0.3-alt4.git.11.g56d9ae0

Group :: Editors
RPM: gedit-source-code-browser

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: gedit-source-code-browser
Version: 3.0.3
Release: alt4.git.11.g56d9ae0
Summary: source code class and function browser plugin for Gedit 3
License: BSD
Group: Editors
Url: https://github.com/toobaz/gedit-source-code-browser/

# GIT https://github.com/toobaz/gedit-source-code-browser/

Source: %name-%version.tar

# Automatically added by buildreq on ...

BuildRequires: rpm-build-python3 time

Requires: gedit /usr/bin/ctags

%define gedit_pluginsdir %_libdir/gedit/plugins
%add_python3_path %gedit_pluginsdir

%description
* Author: Micah Carrick

This plugin will add a new tab to the side pane in the Gedit text editor which
shows symbols (functions, classes, variables, etc.) for the active document.
Clicking a symbol in the list wil jump to the line on which that symbol is
defined.

See the [ctags supported languages](http://ctags.sourceforge.net/languages.html)
for a list of the 41 programming languages supported by this plugin.

%prep
%setup
find -type d -name __pycache__ -exec rm -rf {} \;

%install
mkdir -p %buildroot%gedit_pluginsdir \
%buildroot%_datadir/glib-2.0/schemas
cp -r sourcecodebrowser* %buildroot%gedit_pluginsdir/
install -m644 sourcecodebrowser/data/*.gschema.xml \
%buildroot%_datadir/glib-2.0/schemas/

%files
%doc README*
%gedit_pluginsdir/*
%_datadir/glib-2.0/schemas/*

%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