Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
cherrytree
cherrytree.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cherrytree.spec of Package cherrytree
# # spec file for package cherrytree # # 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: cherrytree Version: 0.25.4 Release: 0 Summary: A hierarchical note taking application License: GPL-2.0+ Group: Productivity/Office/Other Url: http://www.giuspen.com/cherrytree/ Source: http://www.giuspen.com/software/%{name}-%{version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: python-gtk BuildRequires: python-gtksourceview # We need the %%mime_database_* macros BuildRequires: shared-mime-info BuildRequires: update-desktop-files Requires: python-gtk Requires: python-gtksourceview Recommends: %{name}-lang # For password-protected format Recommends: p7zip BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %py_requires %if %suse_version <= 1110 %define python_sitelib %{py_sitedir} %endif %if 0%{?suse_version} <= 1120 %define python_version %{py_ver} %endif %description A hierarchical note taking application, featuring rich text and syntax highlighting, storing all the data (including images) in a single xml file with extension ".ctd". %lang_package %prep %setup -q %build %install %{__python} setup.py install --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} --root=%{buildroot} # Remove old mime registration files rm %{buildroot}%{_datadir}/application-registry/cherrytree.* rm %{buildroot}%{_datadir}/mime-info/cherrytree.* %find_lang %{name} %{?no_lang_C} %suse_update_desktop_file -G "Hierarchical Notes Utility" cherrytree TextEditor %post %if 0%{?suse_version} > 1130 %desktop_database_post %icon_theme_cache_post %mime_database_post %else gtk-update-icon-cache %{_datadir}/icons/hicolor || true update-mime-database %{_datadir}/mime || true %endif %postun %if 0%{?suse_version} > 1130 %desktop_database_postun %icon_theme_cache_postun %mime_database_postun %else gtk-update-icon-cache %{_datadir}/icons/hicolor || true update-mime-database %{_datadir}/mime || true %endif %files %defattr(-,root,root) %doc changelog license %{_bindir}/cherrytree %{_datadir}/applications/cherrytree.desktop %{_datadir}/cherrytree/ %{_datadir}/icons/hicolor/scalable/apps/cherrytree.svg %{_datadir}/mime/packages/cherrytree.xml %{_mandir}/man1/cherrytree.1%{?ext_man} %{python_sitelib}/CherryTree-%{version}-py%{python_version}.egg-info %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