Sophie

Sophie

distrib > Mandriva > cooker > x86_64 > media > contrib-release-src > by-pkgid > 84d3c7404395a0cf8a8c7b2ef5a4c0f5 > files > 4

unoconv-0.4-1.src.rpm

Summary:	Tool to convert between any document format supported by LibreOffice
Name:		unoconv
Version:	0.4
Release:	1
License:	GPLv2
Group:		File tools
URL:		http://dag.wieers.com/home-made/unoconv/
Source0:	http://dag.wieers.com/home-made/%{name}/%{name}-%{version}.tar.bz2
# Allow -o flag to output to files
Patch0:		unoconv-output-files.patch
# Fix LD_LIBRARY_PATH handling. From upstream trunk
Patch1:		unoconv-ld-path.patch
BuildArch:	noarch

Requires:	libreoffice-core
Requires:	libreoffice-pyuno

%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 Format (.odf), MS Word (.doc),
MS Office Open/MS OOXML (.xml), Portable Document Format (.pdf), HTML, XHTML,
RTF, Docbook (.xml), and more.

%prep
%setup -q
%patch0 -p3 -b .o_flag
%patch1 -p3 -b .ld_library_path

%build

%install
%makeinstall_std

%files
%doc AUTHORS ChangeLog COPYING README TODO WISHLIST docs/ tests/
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*



%changelog
* Mon Apr 02 2012 Matthew Dawkins <mattydaw@mandriva.org> 0.4-1
+ Revision: 788812
- imported package unoconv