]>
Commit | Line | Data |
---|---|---|
28b28fe2 CM |
1 | Summary: Tool to convert between any document format supported by OpenOffice |
2 | Name: unoconv | |
79cb94c5 | 3 | Version: 0.6 |
8fe458fa | 4 | Release: 1 |
28b28fe2 | 5 | License: GPL |
8fe458fa | 6 | Group: Applications |
79cb94c5 AM |
7 | Source0: http://dag.wieers.com/home-made/unoconv/%{name}-%{version}.tar.gz |
8 | # Source0-md5: eeda0d358ce4bacd5dd84303012c416d | |
28b28fe2 CM |
9 | URL: http://dag.wieers.com/home-made/unoconv/ |
10 | BuildRequires: python >= 2.0 | |
7aeb3361 | 11 | BuildRequires: rpm-pythonprov |
23e77a0d | 12 | Requires: pyuno |
28b28fe2 CM |
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 | |
28b28fe2 CM |
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) | |
79cb94c5 | 45 | %doc AUTHORS ChangeLog README.asciidoc WISHLIST doc/*.txt |
28b28fe2 | 46 | %attr(755,root,root) %{_bindir}/unoconv |
28b28fe2 | 47 | %{_mandir}/man1/unoconv.1* |