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