]> git.pld-linux.org Git - packages/catdoc.git/blob - catdoc.spec
e80ce5c2ab7e940b37e4dc67f2d0a5576f9cf6f2
[packages/catdoc.git] / catdoc.spec
1 Summary:        Reads MS-Word file and puts its content as plain text on standard output
2 Summary(pl):    Program konwertuj±cy pliki MS Worda na czysty tekst
3 Name:           catdoc
4 Version:        0.91.4
5 Release:        2
6 License:        GPL
7 Group:          Applications/Text
8 Group(de):      Applikationen/Text
9 Group(pl):      Aplikacje/Tekst
10 Source0:        ftp://ftp.ice.ru/pub/vitus/%{name}-%{version}.tar.gz
11 URL:            http://www.ice.ru/~vitus/catdoc/
12 BuildRequires:  tk
13 BuildRequires:  automake
14 BuildRequires:  autoconf
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 CATDOC is program which reads MS-Word file and prints readable ASCII
19 text to stdout, just like Unix cat command. It also able to produce
20 correct escape sequences if some UNICODE charachers have to be
21 represented specially in your typesetting system such as (La)TeX.
22
23 %description -l pl
24 catdoc jest programem czytaj±cym dokumenty MS-Worda i wypisuj±cym
25 tekst ASCII na standardowe wyj¶cie, podobnie jak komenda cat. Mo¿e
26 tak¿e tworzyæ poprawne sekwencje dla niektórych znaków unikodowych
27 reprezentowanych specjalnie w systemie sk³adu, jak np. (La)TeX.
28
29 %prep
30 %setup -q -n %{name}
31
32 %build
33 aclocal
34 autoconf
35 %configure \
36         --with-wish=/usr/bin/wish
37
38 %{__make} FLAGS="%{rpmcflags}"
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         installroot=$RPM_BUILD_ROOT \
45         mandir=%{_mandir}/man1
46
47 gzip -9nf CREDITS README NEWS TODO
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc *.gz
55 %attr(755, root, root) %{_bindir}/*
56 %{_libdir}/catdoc
57 %{_mandir}/man1/*
This page took 0.07307 seconds and 3 git commands to generate.