File unoconv.spec of Package unoconv
# norootforbuild
Summary: Tool to convert between any document format supported by OpenOffice
Name: unoconv
Version: 0.4
Release: 1
License: GPL
Group: Productivity/File utilities
URL: http://dag.wieers.com/home-made/unoconv/
Source: http://dag.wieers.com/home-made/unoconv/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM unoconv-0.4-LD_LIBRARY_PATH.patch bnc#657140 adam@mizerski.pl -- fix LD_LIBRARY_PATH handling. fixed in svn rev9235, so it should be in v0.5
Patch0: %{name}-0.4-LD_LIBRARY_PATH.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
Requires: python >= 2.0
Requires: OpenOffice_org-pyuno >= 2.0
%description
unoconv converts between any document format that OpenOffice understands.
It uses OpenOffice'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
%patch0 -p1
%build
%install
%makeinstall
%clean
%__rm -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING README TODO WISHLIST docs/*.txt
%doc %{_mandir}/man1/unoconv.1.gz
%{_bindir}/unoconv
%changelog
* Tue Sep 4 2007 Leo Eraly <leo@unstable.be> - 0.3-1
- Update to release (patch no longer necessary)
- man page was added
* Tue Jul 17 2007 Leo Eraly <leo@unstable.be> - 0.2-2
- Added a (temp) patch to fix the path to pyuno.so.
* Tue Jul 10 2007 Leo Eraly <leo@unstable.be> - 0.2-1
- Initial package.