]> git.pld-linux.org Git - packages/catdoc.git/blob - catdoc.spec
- 0.91.4
[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:        http://www.ice.ru/~vitus/catdoc/%{name}-%{version}.tar.gz
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 CATDOC is program which reads MS-Word file and prints readable ASCII
14 text to stdout, just like Unix cat command. It also able to produce
15 correct escape sequences if some UNICODE charachers have to be
16 represented specially in your typesetting system such as (La)TeX.
17
18 %prep
19 %setup -q -n %{name}
20
21 %build
22 %configure --with-wish=/usr/bin/wish
23
24 %{__make} FLAGS="%{?debug:-g -O}%{!?debug:$RPM_OPT_FLAGS}"
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28 %{__make} install \
29         installroot=$RPM_BUILD_ROOT \
30         mandir=%{_mandir}/man1
31
32 gzip -9nf CREDITS README NEWS TODO
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc *.gz
40 %attr(755, root, root) %{_bindir}/*
41 %{_libdir}/catdoc
42 %{_mandir}/man1/*
This page took 0.044996 seconds and 3 git commands to generate.