Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
76 lines (57 sloc) 2.04 KB
# $Id$
# Authority: dag
# Upstream: Dag Wieers <dag$wieers,com>
%{?el4:%define _with_openoffice.org2 1}
Summary: Tool to convert between any document format supported by LibreOffice
Name: unoconv
Version: 0.5git
Release: 1
License: GPL
Group: System Environment/Base
URL: http://dag.wieers.com/home-made/unoconv/
Packager: Dag Wieers <dag@wieers.com>
Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
Source: http://dag.wieers.com/home-made/unoconv/unoconv-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: python >= 2.0
Requires: python >= 2.0
%{!?_with_openoffice.org2:Requires:openoffice.org-pyuno >= 2.0}
%{?_with_openoffice.org2:Requires:openoffice.org2-pyuno >= 2.0}
%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
%build
%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING README* WISHLIST docs/ tests/
%doc %{_mandir}/man1/unoconv.1*
%{_bindir}/unoconv
%changelog
* Sat Apr 28 2012 Dag Wieers <dag@wieers.com> - 0.5git-1
- Updated to release 0.5git.
* Mon Apr 16 2012 Dag Wieers <dag@wieers.com> - 0.5-1
- Updated to release 0.5.
* Wed Oct 20 2010 Dag Wieers <dag@wieers.com> - 0.4-1
- Updated to release 0.4.
* Fri Aug 31 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)
Something went wrong with that request. Please try again.