Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
treeline
treeline.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File treeline.spec of Package treeline
# # spec file for package treeline # # Copyright (c) 2011 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: treeline Summary: Versatile Tree-Style Outliner for Defining Custom Data Schemas Version: 1.4.0 Release: 1 Group: Productivity/Office/Other License: GPL-2.0+ Url: http://www.bellz.org/treeline/ BuildRequires: python-devel BuildRequires: update-desktop-files BuildRequires: perl %if %{?suse_version} > 1020 BuildRequires: fdupes %endif Requires: python-qt4 Requires: python-xml # http://download.berlios.de/treeline/treeline-%{version}.tar.gz Source0: treeline-%{version}.tar.bz2 Source1: %name.desktop Source2: x-%name.desktop Source3: x-%name-gz.desktop Source4: x-treepad.desktop Source5: treeline.png Source99: treeline-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description TreeLine is a versatile tool for working with all kinds of information that fit into a tree-like structure. It can be used to edit bookmark files, create mini-databases (for example, for addresses, tasks, records, or CDs), outline documents, or just collect ideas. It can also be used as a generic editor for XML files. The data schemas for any node in the data tree can be customized and new types of nodes can be defined. The way data is presented on the screen, exported to HTML, or printed can be defined with HTML-like templates. Plug-ins can be written to load and save data from and to custom file formats or external data sources and extend the functionality of TreeLine. TreeLine is written in Python and uses the PyQt bindings to the Qt toolkit, which makes it very portable. Authors: -------- Doug Bell <doug101@bellz.org> %prep %setup -n TreeLine for i in source/*.py; do sed -i "s|#!/usr/bin/env python|#!/usr/bin/python|g" "$i" done find source/ -type f -name '*.py' | while read f; do case $f in */treeline.py) continue;; esac %__perl -i -n -e 'print unless m,^#!, and 1..1' "$f" done %build %install %__python install.py -x \ -p "%{_prefix}" \ -d "%{_docdir}/%{name}" \ -b "%{buildroot}" %__python -c "import compileall; compileall.compile_dir('%{buildroot}%{_prefix}/lib/treeline',2,ddir='%{_prefix}/lib/treeline')" %__install -d "%{buildroot}%{_datadir}/mimelnk/application" %__install -m0644 \ "%{SOURCE2}" \ "%{SOURCE3}" \ "%{SOURCE4}" \ "%{buildroot}%{_datadir}/mimelnk/application/" %__install -D -m0644 "%{SOURCE5}" "%{buildroot}%{_datadir}/pixmaps/treeline.png" %suse_update_desktop_file -i treeline Office ProjectManagement %if 0%{suse_version} > 1020 %fdupes -s "%{buildroot}%{_datadir}" %endif %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root,-) %doc %{_docdir}/%{name} %{_bindir}/treeline %{_usr}/lib/treeline %{_datadir}/treeline /usr/share/applications/treeline.desktop %{_datadir}/pixmaps/treeline.png %{_datadir}/icons/treeline %dir %{_datadir}/mimelnk %dir %{_datadir}/mimelnk/application %{_datadir}/mimelnk/application/x-treeline-gz.desktop %{_datadir}/mimelnk/application/x-treeline.desktop %{_datadir}/mimelnk/application/x-treepad.desktop %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