]> git.pld-linux.org Git - packages/odt2txt.git/blob - odt2txt.spec
8a18fcfe880eaa6816623b260996d8f3858c580b
[packages/odt2txt.git] / odt2txt.spec
1 Summary:        A simple converter from OpenDocument Text to plain text
2 Summary(pl.UTF-8):      Prosty konwerter z formatu OpenDocument Text do zwykłego tekstu
3 Name:           odt2txt
4 Version:        0.4
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Publishing
8 Source0:        http://stosberg.net/odt2txt/%{name}-%{version}.tar.gz
9 # Source0-md5:  6fe3bd261ce2dde2810244bbe969bbc5
10 URL:            http://stosberg.net/odt2txt/
11 BuildRequires:  zlib-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 odt2txt extracts the text out of OpenDocument Texts. It is small, fast
16 and portable, can output the document in your console encoding, and
17 has very few external dependencies.
18
19 %description -l pl.UTF-8
20 odt2txt wydobywa tekst z formatu OpenDocument Text. Jest mały, szybki
21 i przenośny. Obsługuje różne kodowania wyjściowe i ma niewiele
22 zewnętrznych zależności.
23
24 %prep
25 %setup -q
26
27 %build
28 %{__make} \
29         CC="%{__cc}" \
30         CFLAGS="%{rpmcflags}"
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 %{__make} install \
35         DESTDIR=$RPM_BUILD_ROOT \
36         PREFIX=%{_prefix}
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %attr(755,root,root) %{_bindir}/odt2txt
44 %{_mandir}/man1/odt2txt.1*
This page took 0.063288 seconds and 2 git commands to generate.