]> git.pld-linux.org Git - packages/catdoc.git/blob - catdoc.spec
c45b08e55b5157e9988d8e2e613f50b6194dbc04
[packages/catdoc.git] / catdoc.spec
1 Summary:        reads MS-Word file and puts its content as plain text on standard output
2 Name:           catdoc
3 Version:        0.91.4
4 Release:        1
5 License:        GPL
6 Group:          Applications/Text
7 Group(de):      Applikationen/Text
8 Group(pl):      Aplikacje/Tekst
9 Source0:        ftp://ftp.ice.ru/pub/vitus/%{name}-%{version}.tar.gz
10 URL:            http://www.ice.ru/~vitus/catdoc/
11 BuildRequires:  tk
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 CATDOC is program which reads MS-Word file and prints readable ASCII
16 text to stdout, just like Unix cat command. It also able to produce
17 correct escape sequences if some UNICODE charachers have to be
18 represented specially in your typesetting system such as (La)TeX.
19
20 %prep
21 %setup -q -n %{name}
22
23 %build
24 %configure --with-wish=/usr/bin/wish
25
26 %{__make} FLAGS="%{?debug:-g -O0}%{!?debug:$RPM_OPT_FLAGS}"
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30
31 %{__make} install \
32         installroot=$RPM_BUILD_ROOT \
33         mandir=%{_mandir}/man1
34
35 gzip -9nf CREDITS README NEWS TODO
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc *.gz
43 %attr(755, root, root) %{_bindir}/*
44 %{_libdir}/catdoc
45 %{_mandir}/man1/*
This page took 0.066154 seconds and 3 git commands to generate.