Package unoconv: Specfile

Name: unoconv
Version: 0.4
Release: alt1

Summary: Tool to convert between any document format supported by OpenOffice.org

License: GPLv2
Group: Office
Url: http://dag.wieers.com/home-made/unoconv/

Packager: Ilya Shpigor <elly@altlinux.org>

Requires: openoffice.org
Source: http://dag.wieers.com/home-made/%name/%name-%version.tar
Patch: %name-fixes-libreoffice.patch

BuildArch: noarch

%add_python_req_skip com

# Automatically added by buildreq on Sat Apr 09 2011 (-bi)
BuildRequires: python-module-paste python-module-peak

%description
unoconv converts between any document format that OpenOffice.org understands.
It uses OpenOffice.org'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
%patch -p2

#%__subst "s|/usr/lib\*/openoffice\*/program/|%_libdir/openoffice.org/basis3.1/program/|g" unoconv
#%__subst "s|soffice|%_libdir/openoffice.org/program/soffice|g" unoconv

%install
%makeinstall_std

%files
%doc AUTHORS ChangeLog COPYING README TODO WISHLIST docs/ tests/
%_man1dir/%name.1*
%_bindir/%name

%changelog
* Sat Apr 09 2011 Denis Baranov <baraka@altlinux.ru> 0.4-alt1
- new version 0.4 (with rpmrb script)

* Thu Dec 03 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3-alt1.1
- Rebuilt with python 2.6

* Wed Nov 18 2009 Ilya Shpigor <elly@altlinux.org> 0.3-alt1
- initial build for ALT Linux Sisyphus

* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Thu May 07 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.3-3
- Fix rpmlints
- Prepare package for Fedora review

* Sun Feb 22 2009 Peter Hanecak <hany@hany.sk> 0.3-2
- used %%{?dist} in release number
- license GPLv2

* Wed Dec 19 2007 Dag Wieers <dag@wieers.com> - 0.3-2 - 5993+/dag
- Fixed openoffice.org2 dependency on RHEL4.

* Sat Sep 01 2007 Dag Wieers <dag@wieers.com> - 0.3-1
- Updated to release 0.3.

* Sun May 20 2007 Dag Wieers <dag@wieers.com> - 0.2-1
- Updated to release 0.2.

* Sat May 19 2007 Dag Wieers <dag@wieers.com> - 0.1-1
- Initial package. (using DAR)