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