]>
Commit | Line | Data |
---|---|---|
c4e5efbd | 1 | Summary: Reads MS-Word file and puts its content as plain text on standard output |
963f5c73 | 2 | Summary(pl.UTF-8): Program konwertujący pliki MS Worda na czysty tekst |
0c00f38d | 3 | Name: catdoc |
e4810599 JB |
4 | Version: 0.95 |
5 | Release: 1 | |
1d649406 | 6 | License: GPL v2 |
0c00f38d | 7 | Group: Applications/Text |
3434da4d | 8 | Source0: http://ftp.wagner.pp.ru/pub/catdoc/%{name}-%{version}.tar.gz |
e4810599 | 9 | # Source0-md5: 4ece2f43b140fab6a2c3a9d6436d7779 |
7897cdef | 10 | Patch0: %{name}-opt.patch |
e4810599 | 11 | Patch1: %{name}-make.patch |
3434da4d | 12 | URL: http://www.wagner.pp.ru/~vitus/software/catdoc/ |
0f5447ca | 13 | BuildRequires: autoconf |
f088a148 JB |
14 | BuildRequires: automake |
15 | BuildRequires: tk | |
0c00f38d JB |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | CATDOC is program which reads MS-Word file and prints readable ASCII | |
2c876787 TP |
20 | text to stdout, just like Unix cat command. It is also able to produce |
21 | correct escape sequences if some UNICODE characters have to be | |
0c00f38d JB |
22 | represented specially in your typesetting system such as (La)TeX. |
23 | ||
f09df55c JR |
24 | %description -l pl.UTF-8 |
25 | catdoc jest programem czytającym dokumenty MS-Worda i wypisującym | |
26 | tekst ASCII na standardowe wyjście, podobnie jak komenda cat. Może | |
27 | także tworzyć poprawne sekwencje dla niektórych znaków unikodowych | |
28 | reprezentowanych specjalnie w systemie składu, jak np. (La)TeX. | |
c4e5efbd | 29 | |
0c00f38d | 30 | %prep |
897eae71 | 31 | %setup -q |
7897cdef | 32 | %patch0 -p1 |
81dbc45e | 33 | %patch1 -p1 |
0c00f38d JB |
34 | |
35 | %build | |
337a87ef | 36 | cp -f /usr/share/automake/config.sub . |
a5aff83c | 37 | %{__aclocal} |
b2df329e | 38 | %{__autoconf} |
0f5447ca PG |
39 | %configure \ |
40 | --with-wish=/usr/bin/wish | |
0c00f38d | 41 | |
7897cdef | 42 | %{__make} |
0c00f38d JB |
43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
71dea45b | 46 | |
3434da4d | 47 | %{__make} -j1 install \ |
e4810599 | 48 | installroot=$RPM_BUILD_ROOT |
0c00f38d | 49 | |
0c00f38d JB |
50 | %clean |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
e4810599 JB |
55 | %doc NEWS README TODO |
56 | %attr(755,root,root) %{_bindir}/catdoc | |
57 | %attr(755,root,root) %{_bindir}/catppt | |
58 | %attr(755,root,root) %{_bindir}/wordview | |
59 | %attr(755,root,root) %{_bindir}/xls2csv | |
2d6b6b06 | 60 | %{_datadir}/catdoc |
e4810599 JB |
61 | %{_mandir}/man1/catdoc.1* |
62 | %{_mandir}/man1/catppt.1* | |
63 | %{_mandir}/man1/wordview.1* | |
64 | %{_mandir}/man1/xls2csv.1* |