Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
zim
zim.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zim.spec of Package zim
# # spec file for package zim # # Copyright (c) 2012 Matthias Propst. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: zim Version: 0.69 Release: 0 License: GPL-2.0+ Summary: A Desktop Wiki Url: http://zim-wiki.org Group: Productivity/Office/Organizers Source: http://zim-wiki.org/downloads/%{name}-%{version}.tar.gz BuildRequires: fdupes # For directory ownership BuildRequires: hicolor-icon-theme BuildRequires: python-base >= 2.6 BuildRequires: python-gobject2 BuildRequires: python-xml # We need the %%mime_database_*, %%desktop_database_* and %%icon_theme_cache_* # macros for old suse versions %if 0%{?suse_version} < 1330 BuildRequires: shared-mime-info %endif BuildRequires: update-desktop-files Requires: python-cairo Requires: python-gobject2 Requires: python-gtk Requires: python-simplejson Requires: python-xdg Requires: python-xml Requires: xdg-utils Recommends: python-gtkspell # for the version control plugin Suggests: bzr Suggests: git-core Suggests: mercurial BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %py_requires %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 python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} --skip-xdg-cmd # Desktop apps should have .appdata.xml file extension instead of .metainfo.xml: # https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#sect-Metadata-GenericComponent mv %{buildroot}%{_datadir}/metainfo/org.zim_wiki.Zim.metainfo.xml \ %{buildroot}%{_datadir}/metainfo/org.zim_wiki.Zim.appdata.xml %suse_update_desktop_file %{name} # remove ubuntu-specific icons rm -r %{buildroot}%{_datadir}/icons/{ubuntu-mono-dark,ubuntu-mono-light} %find_lang %{name} %fdupes -s %{buildroot} %if 0%{?suse_version} < 1330 %post %desktop_database_post %icon_theme_cache_post %mime_database_post %postun %desktop_database_postun %icon_theme_cache_postun %mime_database_postun %endif %files %defattr(-,root,root) %doc CHANGELOG.txt LICENSE.txt README.txt %{python_sitelib}/%{name}/ %{python_sitelib}/%{name}-%{version}-py%{py_ver}.egg-info %{_bindir}/%{name} %{_datadir}/%{name}/ %dir %{_datadir}/metainfo %{_datadir}/metainfo/org.zim_wiki.Zim.appdata.xml %{_datadir}/applications/zim.desktop %{_datadir}/mime/packages/%{name}.xml %{_datadir}/icons/hicolor/*/apps/zim.* %{_datadir}/icons/hicolor/*/mimetypes/application-x-zim-notebook.* %{_datadir}/icons/hicolor/*/mimetypes/gnome-mime-application-x-zim-notebook.* %{_datadir}/pixmaps/zim.png %{_mandir}/man1/zim.1%{?ext_man} %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor