]>
Commit | Line | Data |
---|---|---|
1 | Summary: Reads MS-Word file and puts its content as plain text on standard output | |
2 | Summary(pl.UTF-8): Program konwertujący pliki MS Worda na czysty tekst | |
3 | Name: catdoc | |
4 | Version: 0.94.2 | |
5 | Release: 2 | |
6 | License: GPL v2 | |
7 | Group: Applications/Text | |
8 | Source0: http://ftp.wagner.pp.ru/pub/catdoc/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 243e1680bb3e703616f5adecfee24491 | |
10 | Patch0: %{name}-opt.patch | |
11 | Patch1: %{name}-build.patch | |
12 | URL: http://www.wagner.pp.ru/~vitus/software/catdoc/ | |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
15 | BuildRequires: tk | |
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 | |
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 | |
22 | represented specially in your typesetting system such as (La)TeX. | |
23 | ||
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. | |
29 | ||
30 | %prep | |
31 | %setup -q | |
32 | %patch0 -p1 | |
33 | %patch1 -p1 | |
34 | ||
35 | %build | |
36 | cp -f /usr/share/automake/config.sub . | |
37 | %{__aclocal} | |
38 | %{__autoconf} | |
39 | %configure \ | |
40 | --with-wish=/usr/bin/wish | |
41 | ||
42 | %{__make} | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %{__make} -j1 install \ | |
48 | installroot=$RPM_BUILD_ROOT \ | |
49 | mandir=%{_mandir}/man1 | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
56 | %doc CREDITS NEWS README TODO | |
57 | %attr(755,root,root) %{_bindir}/* | |
58 | %{_datadir}/catdoc | |
59 | %{_mandir}/man1/* |