]> git.pld-linux.org Git - packages/antiword.git/blob - antiword.spec
- 0.32
[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 URL:            http://www.winfield.demon.nl/index.html
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Antiword is a free MS-Word reader for Linux, BeOS and RISC OS. It
17 converts the documents from Word 6, 7, 97 and 2000 to text and
18 Postscript. Antiword tries to keep the layout of the document intact.
19
20 %description -l pl
21 Antiword to darmowy czytnik dokumentów MS-Word dla Linuxa, BeOS i RISC
22 OS. Konwertuje on dokumenty z Worda 6, 7, 97 oraz 2000 do tekstu oraz
23 Postscriptu. Antiword próbuje utrzymaæ formê dokumentu nietkniêt±.
24
25 %prep
26 %setup -q -n %{name}.%{version}
27
28 %build
29 OPT="%{rpmcflags}" %{__make}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/antiword}
35
36 install %{name}         $RPM_BUILD_ROOT%{_bindir}
37 install 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.083994 seconds and 4 git commands to generate.