]> git.pld-linux.org Git - packages/antiword.git/blob - antiword.spec
8151a6a61db3c474ae41358bd4a4e88403309efd
[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.34
5 Release:        1
6 License:        GPL
7 Group:          Applications/Text
8 Source0:        http://www.winfield.demon.nl/linux/%{name}-%{version}.tar.gz
9 # Source0-md5:  1de2f16edd5a0fc566e9bae588719d7d
10 Patch0:         %{name}-etc_dir.patch
11 URL:            http://www.winfield.demon.nl/index.html
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Antiword is a free MS-Word reader for Linux, BeOS and RISC OS. It
16 converts the documents from Word 6, 7, 97 and 2000 to text and
17 Postscript. Antiword tries to keep the layout of the document intact.
18
19 %description -l pl
20 Antiword to darmowy czytnik dokumentów MS-Word dla Linuksa, BeOS i RISC
21 OS. Konwertuje on dokumenty z Worda 6, 7, 97 oraz 2000 do tekstu oraz
22 Postscriptu. Antiword próbuje utrzymaæ formê dokumentu nietkniêt±.
23
24 %prep
25 %setup -q
26 %patch -p1
27
28 %build
29 %{__make} \
30         CC="%{__cc}" \
31         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 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc Docs/{ChangeLog,Exmh,FAQ,History,Mutt,Netscape,QandA,ReadMe}
47 %attr(755,root,root) %{_bindir}/*
48 %{_datadir}/antiword
49 %{_mandir}/man*/*
This page took 0.021055 seconds and 2 git commands to generate.