]> git.pld-linux.org Git - packages/antiword.git/blob - antiword.spec
d826253f64b7f6be20a4a5552a86197e3caf50f7
[packages/antiword.git] / antiword.spec
1 Summary:        MSWord Document to TXT/Postscript converter
2 Summary(pl):    Konwerter dokumentów MSWord do TXT/Postscript
3 Name:           antiword
4 Version:        0.32
5 Release:        1
6 License:        GPL
7 Group:          Applications/Text
8 Source0:        http://www.winfield.demon.nl/linux/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-path.patch
10 URL:            http://www.winfield.demon.nl/index.html
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 Antiword is a free MS-Word reader for Linux, BeOS and RISC OS. It
15 converts the documents from Word 6, 7, 97 and 2000 to text and
16 Postscript. Antiword tries to keep the layout of the document intact.
17
18 %description -l pl
19 Antiword to darmowy czytnik dokumentów MS-Word dla Linuksa, BeOS i RISC
20 OS. Konwertuje on dokumenty z Worda 6, 7, 97 oraz 2000 do tekstu oraz
21 Postscriptu. Antiword próbuje utrzymaæ formê dokumentu nietkniêt±.
22
23 %prep
24 %setup -q -n %{name}.%{version}
25 %patch0 -p1
26
27 %build
28 %{__make} OPT="%{rpmcflags}" CC="%{__cc}"
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/antiword}
33
34 install %{name} k%{name} $RPM_BUILD_ROOT%{_bindir}
35 install Docs/*.1        $RPM_BUILD_ROOT%{_mandir}/man1
36 install Resources/*     $RPM_BUILD_ROOT%{_datadir}/antiword
37
38 rm -f Docs/{*.1,COPYING}
39
40 gzip -9nf Docs/*
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc Docs/*.gz
48 %attr(755,root,root) %{_bindir}/*
49 %{_datadir}/antiword
50 %{_mandir}/man*/*
This page took 0.050382 seconds and 3 git commands to generate.