Репозитории ALT

S: | 3.1.9-alt1 |
5.1: | 2.3.8-alt1 |
4.1: | 2.3.7-alt1.1 |
4.0: | 2.3.4-alt0.1 |
Группа :: Работа с текстами
Пакет: gjots2
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: gjots2
Version: 3.1.9
Release: alt1
Summary: A note jotter. Organise your ideas, notes, facts in a hierarchy
License: GPLv2
Group: Text tools
Url: http://bhepple.freeshell.org/gjots
Packager: Vitaly Lipatov <lav at altlinux.ru>
# Source-url: https://downloads.sourceforge.net/project/gjots2/gjots2/%version/gjots2-%version.tgz
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: desktop-file-utils
# see %_libdir/girepository-1.0
Requires: libgtk+3-gir libgtksourceview3-gir
%description
gjots2 ("gee-jots" or, if you prefer, "gyachts"!) is a way to marshall
and organise your text notes in a convenient, hierachical way. I use
it for all my notes on Unix, my personal bits and pieces, recipes and
even PINs and passwords (encrypted with ccrypt(1)).
You can also use it to "mind-map" your compositions - write down all
your thoughts and then start to organise them into a tree. By
manipulating the tree you can easily reorder your thoughts and
structure them appropriately.
This is a Python/GTK-2 version of the original gjots program by the same author.
%prep
%setup
subst 's|/usr/bin/bash|/bin/bash|' bin/*
#sed -i "s|lib/gjots2|%python_sitelibdir/%name|g" setup.py
#sed -i "s|prefix + '/lib/gjots2|'%python_sitelibdir/%name|g" setup.py bin/%name
%build
%python3_build
%install
%python3_install
# fix strict python
#sed -i "s,/usr/bin/python,/usr/bin/env python," %name
%find_lang %name
desktop-file-install --dir %buildroot%_desktopdir \
--remove-category=Application \
--add-category=TextTools \
%buildroot%_desktopdir/gjots2.desktop
%files -f %name.lang
%_docdir/%name-%version/
%_bindir/%name
%_bindir/docbook2gjots
%_bindir/gjots2docbook
%_bindir/gjots2html
%_bindir/gjots2lpr
/usr/bin/gjots2emacs
/usr/bin/gjots2html.py
/usr/bin/gjots2org
/usr/bin/org2gjots
/usr/share/glib-2.0/schemas/org.gtk.gjots2.gschema.xml
/usr/share/metainfo/gjots2.metainfo.xml
%python3_sitelibdir/%name/
%python3_sitelibdir/gjots2-*.egg-info
%_desktopdir/*
%_pixmapsdir/*
%_datadir/%name/
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 3.1.9
Release: alt1
Summary: A note jotter. Organise your ideas, notes, facts in a hierarchy
License: GPLv2
Group: Text tools
Url: http://bhepple.freeshell.org/gjots
Packager: Vitaly Lipatov <lav at altlinux.ru>
# Source-url: https://downloads.sourceforge.net/project/gjots2/gjots2/%version/gjots2-%version.tgz
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: desktop-file-utils
# see %_libdir/girepository-1.0
Requires: libgtk+3-gir libgtksourceview3-gir
%description
gjots2 ("gee-jots" or, if you prefer, "gyachts"!) is a way to marshall
and organise your text notes in a convenient, hierachical way. I use
it for all my notes on Unix, my personal bits and pieces, recipes and
even PINs and passwords (encrypted with ccrypt(1)).
You can also use it to "mind-map" your compositions - write down all
your thoughts and then start to organise them into a tree. By
manipulating the tree you can easily reorder your thoughts and
structure them appropriately.
This is a Python/GTK-2 version of the original gjots program by the same author.
%prep
%setup
subst 's|/usr/bin/bash|/bin/bash|' bin/*
#sed -i "s|lib/gjots2|%python_sitelibdir/%name|g" setup.py
#sed -i "s|prefix + '/lib/gjots2|'%python_sitelibdir/%name|g" setup.py bin/%name
%build
%python3_build
%install
%python3_install
# fix strict python
#sed -i "s,/usr/bin/python,/usr/bin/env python," %name
%find_lang %name
desktop-file-install --dir %buildroot%_desktopdir \
--remove-category=Application \
--add-category=TextTools \
%buildroot%_desktopdir/gjots2.desktop
%files -f %name.lang
%_docdir/%name-%version/
%_bindir/%name
%_bindir/docbook2gjots
%_bindir/gjots2docbook
%_bindir/gjots2html
%_bindir/gjots2lpr
/usr/bin/gjots2emacs
/usr/bin/gjots2html.py
/usr/bin/gjots2org
/usr/bin/org2gjots
/usr/share/glib-2.0/schemas/org.gtk.gjots2.gschema.xml
/usr/share/metainfo/gjots2.metainfo.xml
%python3_sitelibdir/%name/
%python3_sitelibdir/gjots2-*.egg-info
%_desktopdir/*
%_pixmapsdir/*
%_datadir/%name/
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь