1 |
Name: odt2txt |
2 |
Version: 0.4 |
3 |
Release: %mkrel 2 |
4 |
Source0: http://stosberg.net/odt2txt/odt2txt-%{version}.tar.gz |
5 |
Source1: http://stosberg.net/odt2txt/odt2txt-%{version}.tar.gz.asc |
6 |
URL: http://stosberg.net/odt2txt/ |
7 |
Summary: A simple (and stupid) converter from OpenDocument Text to plain text |
8 |
Group: Text tools |
9 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
10 |
License: GPLv2 |
11 |
BuildRequires: zlib-devel |
12 |
%description |
13 |
odt2txt is a command-line tool which extracts the text out of OpenDocument |
14 |
Texts produced by OpenOffice.org, StarOffice, KOffice and others. |
15 |
|
16 |
odt2txt is ... |
17 |
* small |
18 |
* supports multiple output encodings |
19 |
* adopts to your locale |
20 |
* able to substitute common characters which the output charset does |
21 |
not contain with ascii look-a-likes |
22 |
* written in C, has few dependencies |
23 |
* portable (runs on Linux, *BSD, Solaris, HP-UX, Windows, Cygwin) |
24 |
* licensed under GPL, version 2 |
25 |
|
26 |
%prep |
27 |
%setup -q |
28 |
|
29 |
%build |
30 |
%{make} |
31 |
|
32 |
%install |
33 |
%{__rm} -Rf %{buildroot} |
34 |
%{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} install |
35 |
|
36 |
%files |
37 |
%doc GPL-2 |
38 |
%{_bindir}/%{name} |
39 |
%{_mandir}/man1/%{name}.1* |
40 |
|
41 |
|