]> git.pld-linux.org Git - packages/catdoc.git/blob - catdoc.spec
e472cde1778068cfebef85ce701a90948db38f7e
[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.94
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Text
8 Source0:        ftp://ftp.45.free.net/pub/catdoc/%{name}-%{version}.tar.gz
9 # Source0-md5:  f884dabe366d66c6cda35dacb0cdceab
10 Patch0:         %{name}-opt.patch
11 URL:            http://www.45.free.net/~vitus/ice/catdoc/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  tk
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 is also able to produce
20 correct escape sequences if some UNICODE characters 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
31 %patch0 -p1
32
33 %build
34 cp -f /usr/share/automake/config.sub .
35 %{__aclocal}
36 %{__autoconf}
37 %configure \
38         --with-wish=/usr/bin/wish
39
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         installroot=$RPM_BUILD_ROOT \
47         mandir=%{_mandir}/man1
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc CREDITS NEWS README TODO
55 %attr(755,root,root) %{_bindir}/*
56 %{_datadir}/catdoc
57 %{_mandir}/man1/*
This page took 0.063071 seconds and 2 git commands to generate.