Группа :: Редакторы
Пакет: zim-wiki
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_enable snapshot
%define real_name zim
Name: zim-wiki
Version: 0.75.1
Release: alt1
Summary: A desktop wiki and outliner
Group: Editors
License: GPLv2
Url: https://www.zim-wiki.org/
%if_disabled snapshot
Source: https://zim-wiki.org/downloads/%real_name-%version.tar.gz
%else
Source: %name-%version.tar
Patch: %name-%version-%release.patch
%endif
BuildArch: noarch
Requires: typelib(Gtk) = 3.0
# see README.md and PKG-INFO
Requires: python3-module-pyxdg xdg-utils
# Mac-specific
%add_typelib_req_skiplist typelib(GtkosxApplication)
# typelib(AppIndicator3)
Conflicts: zim
BuildRequires(pre): rpm-build-python3 rpm-build-gir
BuildRequires: python3-module-wheel python3-module-setuptools
BuildRequires: python3-module-pygobject3 python3-modules-sqlite3
BuildRequires: typelib(Gtk) = 3.0
%description
Zim is a graphical text editor used to maintain a collection of wiki
pages. Each page can contain links to other pages, simple formatting and
images. Pages are stored in a folder structure, like in an outliner, and
can have attachments. Creating a new page is as easy as linking to a
nonexistent page. All data is stored in plain text files with wiki
formatting. Various plugins provide additional functionality, like a task
list manager, an equation editor, a tray icon, and support for version
control.
%prep
%setup
%patch -p1
%build
%pyproject_build
%install
%pyproject_install
%find_lang %real_name
%files -f %real_name.lang
%_bindir/%real_name
%_datadir/%real_name
%_desktopdir/%real_name.desktop
%python3_sitelibdir/*
%_man1dir/%{real_name}*
%_datadir/mime/*
%_datadir/metainfo/*
%_iconsdir/*/*/*/*.svg
%exclude %_iconsdir/ubuntu*
%doc README.md CHANGELOG.md
%changelog
…
Полный changelog можно просмотреть здесь
%define real_name zim
Name: zim-wiki
Version: 0.75.1
Release: alt1
Summary: A desktop wiki and outliner
Group: Editors
License: GPLv2
Url: https://www.zim-wiki.org/
%if_disabled snapshot
Source: https://zim-wiki.org/downloads/%real_name-%version.tar.gz
%else
Source: %name-%version.tar
Patch: %name-%version-%release.patch
%endif
BuildArch: noarch
Requires: typelib(Gtk) = 3.0
# see README.md and PKG-INFO
Requires: python3-module-pyxdg xdg-utils
# Mac-specific
%add_typelib_req_skiplist typelib(GtkosxApplication)
# typelib(AppIndicator3)
Conflicts: zim
BuildRequires(pre): rpm-build-python3 rpm-build-gir
BuildRequires: python3-module-wheel python3-module-setuptools
BuildRequires: python3-module-pygobject3 python3-modules-sqlite3
BuildRequires: typelib(Gtk) = 3.0
%description
Zim is a graphical text editor used to maintain a collection of wiki
pages. Each page can contain links to other pages, simple formatting and
images. Pages are stored in a folder structure, like in an outliner, and
can have attachments. Creating a new page is as easy as linking to a
nonexistent page. All data is stored in plain text files with wiki
formatting. Various plugins provide additional functionality, like a task
list manager, an equation editor, a tray icon, and support for version
control.
%prep
%setup
%patch -p1
%build
%pyproject_build
%install
%pyproject_install
%find_lang %real_name
%files -f %real_name.lang
%_bindir/%real_name
%_datadir/%real_name
%_desktopdir/%real_name.desktop
%python3_sitelibdir/*
%_man1dir/%{real_name}*
%_datadir/mime/*
%_datadir/metainfo/*
%_iconsdir/*/*/*/*.svg
%exclude %_iconsdir/ubuntu*
%doc README.md CHANGELOG.md
%changelog
…
Полный changelog можно просмотреть здесь