mirror of
https://abf.rosa.ru/djam/cherrytree.git
synced 2025-02-23 14:22:47 +00:00
Updated to 0.38.5
This commit is contained in:
parent
3841f1260c
commit
2a2e935f80
5 changed files with 29 additions and 111 deletions
5
.abf.yml
5
.abf.yml
|
@ -1,4 +1,3 @@
|
||||||
sources:
|
sources:
|
||||||
cherrytree-0.38.4.tar.xz: bc81ae2f6c6566639c5906b3754bf97c6c16b4d4
|
CherrytreeManual.ctb.tar.xz: e930f1b15640b0b0e974e20407452c48ef6964c8
|
||||||
#cherrytree-0.37.6-cherrytree.mo: 7d5218d886a2f876d790a58d812e3d6d71a442d2
|
cherrytree-0.38.5.tar.xz: 4f7b231aa71523617c2a784932a29864a098da13
|
||||||
CherrytreeManual.ctb.tar.xz: e930f1b15640b0b0e974e20407452c48ef6964c8
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
=== English ===
|
|
||||||
CherryTree user manual: /usr/share/doc/CherrytreeManual.ctb
|
|
||||||
|
|
||||||
=== Russian ===
|
|
||||||
Руководство пользователя CherryTree: /usr/share/doc/CherrytreeManual.ctb
|
|
|
@ -1,36 +0,0 @@
|
||||||
.TH cherrytree 1 "28 октября 2016" "CherryTree 0.37.6" "Краткая справка"
|
|
||||||
|
|
||||||
.SH НАЗВАНИЕ
|
|
||||||
|
|
||||||
.B cherrytree \- Записная книжка иерархической структуры.
|
|
||||||
|
|
||||||
.SH СИНТАКСИС
|
|
||||||
|
|
||||||
.B cherrytree [filepath [\-n nodename] [\-x export_to_html_dir]]
|
|
||||||
|
|
||||||
.SH ОПИСАНИЕ
|
|
||||||
|
|
||||||
Записная книжка иерархической структуры c поддержкой форматированного текста, изображений, таблиц, программного кода,
|
|
||||||
подсветки синтакиса, поиска и замены, ссылок на ресурсы в интернет, печати, импорта/экспорта в форматах различных приложений.
|
|
||||||
Руководство пользователя CherryTree:
|
|
||||||
.B /usr/share/doc/CherrytreeManual.ctb
|
|
||||||
|
|
||||||
.SH ОПЦИИ ЗАПУСКА
|
|
||||||
|
|
||||||
.B "filepath"
|
|
||||||
Открыть файл \fBfilepath\fR.
|
|
||||||
.TP
|
|
||||||
.B "filepath \-n nodename"
|
|
||||||
Открыть ветку \fBnodename\fR файла \fBfilepath\fR.
|
|
||||||
.TP
|
|
||||||
.B "filepath \-x export_to_html_dir"
|
|
||||||
Экпортировать файл \fBfilepath\fR в каталог \fBexport_to_html_dir\fR.
|
|
||||||
|
|
||||||
.SH АВТОР
|
|
||||||
|
|
||||||
Giuseppe Penone <giuspen@gmail.com>
|
|
||||||
.PP
|
|
||||||
Эта страница написана Vincent Cheng <Vincentc1208@gmail.com>, для проекта Debian (может быть использована и в других проектах).
|
|
||||||
|
|
||||||
.SH ПЕРЕВОД
|
|
||||||
Виктор Набатов <greenray.spb@gmail.com>
|
|
|
@ -1,18 +0,0 @@
|
||||||
--- cherrytree-0.37.6.orig/linux/cherrytree.desktop 2016-01-08 22:50:50.000000000 +0300
|
|
||||||
+++ cherrytree-0.37.6/linux/cherrytree.desktop 2016-10-28 16:23:38.292956109 +0300
|
|
||||||
@@ -1,5 +1,6 @@
|
|
||||||
[Desktop Entry]
|
|
||||||
-Name=CherryTree
|
|
||||||
+Name=Notebook CherryTree
|
|
||||||
+Name[ru]=Записная книжка CherryTree
|
|
||||||
Comment=Hierarchical Note Taking
|
|
||||||
Comment[cs]=Hierarchická tvorba poznámek
|
|
||||||
Comment[de]=Hierarchische Notizfunktion
|
|
||||||
@@ -17,5 +18,5 @@
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
StartupNotify=true
|
|
||||||
-Categories=GNOME;GTK;Utility;
|
|
||||||
-Keywords=editor;notes;note-taking;
|
|
||||||
+Categories=Office;
|
|
||||||
+Keywords=editor;notes;note-taking;notebook;
|
|
|
@ -1,18 +1,16 @@
|
||||||
Name: cherrytree
|
|
||||||
Version: 0.38.4
|
|
||||||
Release: 1
|
|
||||||
Summary: Hierarchical note taking application
|
Summary: Hierarchical note taking application
|
||||||
|
Name: cherrytree
|
||||||
|
Version: 0.38.5
|
||||||
|
Release: 1
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Office
|
Group: Office
|
||||||
URL: http://www.giuspen.com/cherrytree/
|
Url: http://www.giuspen.com/cherrytree/
|
||||||
Source0: http://www.giuspen.com/software/%name-%version.tar.xz
|
Source0: http://www.giuspen.com/software/%{name}-%{version}.tar.xz
|
||||||
Source1: CherrytreeManual.ctb.tar.xz
|
Source1: CherrytreeManual.ctb.tar.xz
|
||||||
Source2: %name-%version-%name.1
|
Source2: %{name}-0.38.4-%{name}.1
|
||||||
Source3: README.install.urpmi
|
Patch0: %{name}-0.38.4-desktop.patch
|
||||||
Patch0: %name-%version-desktop.patch
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python
|
BuildRequires: pkgconfig(python)
|
||||||
BuildRequires: python-devel
|
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
Requires: python
|
Requires: python
|
||||||
Requires: p7zip
|
Requires: p7zip
|
||||||
|
@ -24,12 +22,6 @@ Requires: python-enchant
|
||||||
Requires: python-gobject
|
Requires: python-gobject
|
||||||
Requires: python-gtksourceview
|
Requires: python-gtksourceview
|
||||||
Requires: sqlite-tools
|
Requires: sqlite-tools
|
||||||
Requires(post): desktop-file-utils
|
|
||||||
Requires(post): gtk-update-icon-cache
|
|
||||||
Requires(post): shared-mime-info
|
|
||||||
Requires(postun): desktop-file-utils
|
|
||||||
Requires(postun): gtk-update-icon-cache
|
|
||||||
Requires(postun): shared-mime-info
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Cherrytree is a hierarchical note taking application. The Main Features:
|
Cherrytree is a hierarchical note taking application. The Main Features:
|
||||||
|
@ -40,19 +32,19 @@ Cherrytree is a hierarchical note taking application. The Main Features:
|
||||||
* Print, Save as PDF, Export to HTML, Export to Plain Text.
|
* Print, Save as PDF, Export to HTML, Export to Plain Text.
|
||||||
* Import from Several other Note Taking Applications.
|
* Import from Several other Note Taking Applications.
|
||||||
|
|
||||||
%files -f %name.lang
|
%files -f %{name}.lang
|
||||||
%_bindir/%{name}
|
%doc changelog.txt license.txt CherrytreeManual.ctb
|
||||||
%{_datadir}/appdata/%name.appdata.xml
|
%{_bindir}/%{name}
|
||||||
%{_datadir}/applications/%name.desktop
|
%{_datadir}/%{name}/glade/*
|
||||||
%{_datadir}/%name/glade/*
|
%{_datadir}/%{name}/language-specs/*
|
||||||
%{_datadir}/%name/language-specs/*
|
%{_datadir}/%{name}/modules/*
|
||||||
%{_datadir}/%name/modules/*
|
%{_datadir}/appdata/%{name}.appdata.xml
|
||||||
%{_iconsdir}/hicolor/scalable/apps/%name.svg
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_datadir}/mime/packages/%name.xml
|
%{_datadir}/mime/packages/%{name}.xml
|
||||||
|
%{_iconsdir}/hicolor/scalable/apps/%{name}.svg
|
||||||
%{_mandir}/man1/*.1.xz
|
%{_mandir}/man1/*.1.xz
|
||||||
%{_mandir}/ru/man1/%name.1.xz
|
%{_mandir}/ru/man1/%{name}.1.xz
|
||||||
%{py_puresitedir}/CherryTree-%version-py2.7.egg-info
|
%{py_puresitedir}/CherryTree-%{version}-py2.7.egg-info
|
||||||
%doc changelog.txt license.txt CherrytreeManual.ctb README.install.urpmi
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -64,29 +56,15 @@ Cherrytree is a hierarchical note taking application. The Main Features:
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%__python2 setup.py install --prefix=%buildroot/usr -f
|
python setup.py install --prefix=%{buildroot}/usr -f
|
||||||
# These are no longer in use
|
# These are no longer in use
|
||||||
rm -rf %buildroot%{_datadir}/application-registry
|
rm -rf %{buildroot}%{_datadir}/application-registry
|
||||||
rm -rf %buildroot%{_datadir}/mime-info
|
rm -rf %{buildroot}%{_datadir}/mime-info
|
||||||
# Menu entry check
|
# Menu entry check
|
||||||
desktop-file-validate %buildroot%{_datadir}/applications/%name.desktop
|
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||||
# Fix icon file permissions
|
# Fix icon file permissions
|
||||||
chmod 0644 %buildroot%{_iconsdir}/hicolor/scalable/apps/%name.svg
|
chmod 0644 %{buildroot}%{_iconsdir}/hicolor/scalable/apps/%{name}.svg
|
||||||
# Add man in Russian
|
# Add man in Russian
|
||||||
install -D %SOURCE2 %buildroot%{_mandir}/ru/man1/%name.1
|
install -D %SOURCE2 %{buildroot}%{_mandir}/ru/man1/%{name}.1
|
||||||
cp -a %SOURCE3 $RPM_BUILD_DIR/%name-%version
|
|
||||||
|
|
||||||
%find_lang %name
|
|
||||||
|
|
||||||
%post
|
|
||||||
%_update_desktop_database_bin %_datadir/applications
|
|
||||||
%_update_icon_cache_bin %_iconsdir/hicolor
|
|
||||||
%_update_mime_database_bin -n %_datadir/mime
|
|
||||||
|
|
||||||
%postun
|
|
||||||
if [ $1 = 0 ]; then
|
|
||||||
%_update_desktop_database_bin %_datadir/applications
|
|
||||||
%_update_icon_cache_bin %_iconsdir/hicolor
|
|
||||||
%_update_mime_database_bin %_datadir/mime
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
%find_lang %{name}
|
||||||
|
|
Loading…
Add table
Reference in a new issue