* Add seperator to template for new files * Fix spellcheck state at startup * Fix cursor position after undo indent * Fix test suite release 0.76.2 - Update to 0.76.2: * Let new page and quicknote templates place cursor * Let find match within sourceview blocks * Add property with template for filename of pasted images * In InsertLinkDialog translate file to page link * Fix issue with GSPell support OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:Apps/zim?expand=0&rev=36
96 lines
2.9 KiB
RPMSpec
96 lines
2.9 KiB
RPMSpec
#
|
|
# spec file for package zim
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC
|
|
# Copyright (c) 2012 Matthias Propst.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define skip_python2 1
|
|
%define hierarchical_name org.zim_wiki.Zim
|
|
|
|
Name: zim
|
|
Version: 0.76.3
|
|
Release: 0
|
|
Summary: A Desktop Wiki
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/Office/Organizers
|
|
URL: https://zim-wiki.org
|
|
Source: https://zim-wiki.org/downloads/%{name}-%{version}.tar.gz
|
|
BuildRequires: fdupes
|
|
# For directory ownership
|
|
BuildRequires: %{python_module gobject >= 3.2}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: python3 >= 3.6.0
|
|
BuildRequires: typelib-1_0-Gtk-3_0
|
|
BuildRequires: update-desktop-files
|
|
Requires: python3-gobject-Gdk
|
|
Requires: python3-pyxdg
|
|
Requires: typelib-1_0-Gtk-3_0
|
|
Requires: xdg-utils
|
|
# for the version control plugin
|
|
Suggests: bzr
|
|
Suggests: git-core
|
|
Suggests: mercurial
|
|
BuildArch: noarch
|
|
|
|
%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.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%python3_build
|
|
|
|
%install
|
|
%python3_install
|
|
|
|
%suse_update_desktop_file %{hierarchical_name}
|
|
# remove ubuntu-specific icons
|
|
rm -r %{buildroot}%{_datadir}/icons/{ubuntu-mono-dark,ubuntu-mono-light}
|
|
%find_lang %{name}
|
|
|
|
%fdupes -s %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%license LICENSE
|
|
%doc CHANGELOG.md PLUGIN_WRITING.md CONTRIBUTING.md
|
|
%{python_sitelib}/%{name}/
|
|
%{python_sitelib}/%{name}-%{version}-py*.egg-info
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/%{name}/
|
|
%dir %{_datadir}/metainfo
|
|
%{_datadir}/metainfo/%{hierarchical_name}.appdata.xml
|
|
%{_datadir}/applications/%{hierarchical_name}.desktop
|
|
%{_datadir}/mime/packages/%{hierarchical_name}.xml
|
|
%{_datadir}/icons/hicolor/*/apps/%{hierarchical_name}.*
|
|
%{_datadir}/icons/hicolor/*/mimetypes/application-x-zim-notebook.*
|
|
%{_mandir}/man1/zim.1%{?ext_man}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|