LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File python-lpod.spec of Package python-lpod (Project home:netsroth)

#
# spec file for package python-lpod-python
#
# Copyright (c) 2014 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:           python-lpod
Version:        1.1.6
Release:        0
License:        GPL-3.0 and Apache-2.0
Summary:        LPOD Library
Url:            http://www.lpod-project.net/
Group:          Development/Languages/Python
Source:         https://pypi.python.org/packages/source/l/lpod-python/lpod-python-%{version}.tar.gz
Requires:       python-lxml
BuildRequires:  python-devel
BuildRequires:  python-setuptools
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch:      noarch
%endif

%description
lpod-python
===========

Python library implementing the ISO/IEC 26300 OpenDocument Format standard.

This library is the python implementation of the lpOD Project (Languages &
Platforms OpenDocument, definition of a Free Software API implementing the
ISO/IEC 26300 standard).


This branch is the 'current' branch, aiming to be the next stable version.

Maintained branches are:

    - legacy  : compatible with 0.9x versions
    - current : next stable version
    - master  : currently, master = current

The most recent version of this package is there:

    https://github.com/lpod/lpod-python

How to get the code with git:

    git clone git://github.com/lpod/lpod-python.git
    git checkout current


Documentation: see the ./documentation/html folder.


Some useful packages for the use of the lpod-python library:


    - Programming recipes for the lpod-python library:

        https://github.com/lpod/lpod-python-recipes


    - Lpod global documentation (currently inaccurate):

        https://github.com/lpod/lpod-docs



About the Lpod Project, see:

    http://lpod-project.net


Architect: Jean-Marie Gouarné <jean-marie.gouarne@arsaperta.com>

Coordinator: Luis Belmar-Letelier <luis@itaapy.com>


%prep
%setup -q -n lpod-python-%{version}

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
rm $RPM_BUILD_ROOT/usr/bin/lpod-*.py
chmod +x $RPM_BUILD_ROOT%{python_sitelib}/lpod/cleaner.py
chmod +x $RPM_BUILD_ROOT%{python_sitelib}/lpod/rst2odt.py

%files
%defattr(-,root,root,-)
%doc license.txt README README.md
%{python_sitelib}/*

%changelog