]> git.pld-linux.org Git - packages/unoconv.git/blob - unoconv.spec
forgotten patch, thanks @arekm
[packages/unoconv.git] / unoconv.spec
1 Summary:        Tool to convert between any document format supported by OpenOffice
2 Name:           unoconv
3 Version:        0.8.2
4 Release:        1
5 License:        GPL
6 Group:          Applications
7 Source0:        https://github.com/unoconv/unoconv/archive/%{version}.tar.gz
8 # Source0-md5:  b53576ddfc63b441ef55998f2f97db8e
9 Patch0:         shebang.patch
10 URL:            http://dag.wieers.com/home-made/unoconv/
11 BuildRequires:  python3 >= 3.0
12 BuildRequires:  rpm-pythonprov
13 Requires:       pyuno
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
32 %patch0 -p0
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)
47 %doc AUTHORS ChangeLog
48 %attr(755,root,root) %{_bindir}/unoconv
49 %{_mandir}/man1/unoconv.1*
This page took 0.049894 seconds and 3 git commands to generate.