]> git.pld-linux.org Git - packages/catdoc.git/blame - catdoc.spec
- rel 2; build fix
[packages/catdoc.git] / catdoc.spec
CommitLineData
c4e5efbd 1Summary: Reads MS-Word file and puts its content as plain text on standard output
963f5c73 2Summary(pl.UTF-8): Program konwertujący pliki MS Worda na czysty tekst
0c00f38d 3Name: catdoc
42b18d14 4Version: 0.94.2
81dbc45e 5Release: 2
1d649406 6License: GPL v2
0c00f38d 7Group: Applications/Text
3434da4d 8Source0: http://ftp.wagner.pp.ru/pub/catdoc/%{name}-%{version}.tar.gz
42b18d14 9# Source0-md5: 243e1680bb3e703616f5adecfee24491
7897cdef 10Patch0: %{name}-opt.patch
81dbc45e 11Patch1: %{name}-build.patch
3434da4d 12URL: http://www.wagner.pp.ru/~vitus/software/catdoc/
0f5447ca 13BuildRequires: autoconf
f088a148
JB
14BuildRequires: automake
15BuildRequires: tk
0c00f38d
JB
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19CATDOC is program which reads MS-Word file and prints readable ASCII
2c876787
TP
20text to stdout, just like Unix cat command. It is also able to produce
21correct escape sequences if some UNICODE characters have to be
0c00f38d
JB
22represented specially in your typesetting system such as (La)TeX.
23
f09df55c
JR
24%description -l pl.UTF-8
25catdoc jest programem czytającym dokumenty MS-Worda i wypisującym
26tekst ASCII na standardowe wyjście, podobnie jak komenda cat. Może
27także tworzyć poprawne sekwencje dla niektórych znaków unikodowych
28reprezentowanych specjalnie w systemie składu, jak np. (La)TeX.
c4e5efbd 29
0c00f38d 30%prep
897eae71 31%setup -q
7897cdef 32%patch0 -p1
81dbc45e 33%patch1 -p1
0c00f38d
JB
34
35%build
337a87ef 36cp -f /usr/share/automake/config.sub .
a5aff83c 37%{__aclocal}
b2df329e 38%{__autoconf}
0f5447ca
PG
39%configure \
40 --with-wish=/usr/bin/wish
0c00f38d 41
7897cdef 42%{__make}
0c00f38d
JB
43
44%install
45rm -rf $RPM_BUILD_ROOT
71dea45b 46
3434da4d 47%{__make} -j1 install \
0c00f38d
JB
48 installroot=$RPM_BUILD_ROOT \
49 mandir=%{_mandir}/man1
50
0c00f38d
JB
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
2d6b6b06
JB
56%doc CREDITS NEWS README TODO
57%attr(755,root,root) %{_bindir}/*
58%{_datadir}/catdoc
0c00f38d 59%{_mandir}/man1/*
This page took 0.092663 seconds and 4 git commands to generate.