File unoconv.spec of Package unoconv

#
# spec file for package unoconv
#
# 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:           unoconv
Version:        0.6
Release:        0
Summary:        Tool to convert between any document format supported by LibreOffice
License:        GPL-2.0
Group:          Productivity/File utilities
Url:            http://dag.wieers.com/home-made/unoconv/
Source:         http://dag.wieers.com/home-made/unoconv/unoconv-%{version}.tar.gz
Requires:       libreoffice-pyuno >= 2.0
Requires:       python >= 2.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
unoconv converts between any document format that LibreOffice understands.
It uses LibreOffice's UNO bindings for non-interactive conversion of
documents.

Supported document formats include: Open Document Text (.odt),
Open Document Draw (.odd), Open Document Presentation (.odp),
Open Document calc (.odc), MS Word (.doc), MS PowerPoint (.pps/.ppt),
MS Excel (.xls), MS Office Open/OOXML (.xml),
Portable Document Format (.pdf), DocBook (.xml), LaTeX (.ltx),
HTML, XHTML, RTF, Docbook (.xml), GIF, PNG, JPG, SVG, BMP, EPS
and many more...

%prep
%setup -q

%build

%install
make DESTDIR=%{buildroot} install
make DESTDIR=%{buildroot} install-links

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING README.asciidoc WISHLIST doc/*.txt
%doc %{_mandir}/man1/unoconv.1*
%{_bindir}/*

%changelog
openSUSE Build Service is sponsored by