]>
Commit | Line | Data |
---|---|---|
1 | Summary: Tool to convert between any document format supported by OpenOffice | |
2 | Name: unoconv | |
3 | Version: 0.5 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Applications | |
7 | Source0: http://dag.wieers.com/home-made/unoconv/%{name}-%{version}.tar.bz2 | |
8 | # Source0-md5: 09a02fe3d258dd332826569026f84d6f | |
9 | URL: http://dag.wieers.com/home-made/unoconv/ | |
10 | BuildRequires: python >= 2.0 | |
11 | BuildRequires: rpm-pythonprov | |
12 | Requires: pyuno | |
13 | Requires: python >= 2.0 | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | unoconv converts between any document format that OpenOffice | |
19 | understands. It uses OpenOffice's UNO bindings for non-interactive | |
20 | conversion of documents. | |
21 | ||
22 | Supported document formats include: Open Document Text (.odt), Open | |
23 | Document Draw (.odd), Open Document Presentation (.odp), Open Document | |
24 | calc (.odc), MS Word (.doc), MS PowerPoint (.pps/.ppt), MS Excel | |
25 | (.xls), MS Office Open/OOXML (.xml), Portable Document Format (.pdf), | |
26 | DocBook (.xml), LaTeX (.ltx), HTML, XHTML, RTF, Docbook (.xml), GIF, | |
27 | PNG, JPG, SVG, BMP, EPS and many more... | |
28 | ||
29 | %prep | |
30 | %setup -q | |
31 | ||
32 | %build | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %{__make} install \ | |
38 | DESTDIR="$RPM_BUILD_ROOT" | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %doc AUTHORS ChangeLog README.asciidoc WISHLIST docs/*.txt | |
46 | %attr(755,root,root) %{_bindir}/unoconv | |
47 | %{_mandir}/man1/unoconv.1* |