]> git.pld-linux.org Git - packages/antiword.git/blob - antiword.spec
ca8ad467dc6fab592d25d57b395231119d0442c1
[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} OPT="%{rpmcflags}" CC="%{__cc}"
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/antiword}
34
35 install %{name} k%{name} $RPM_BUILD_ROOT%{_bindir}
36 install Docs/*.1        $RPM_BUILD_ROOT%{_mandir}/man1
37 install Resources/*     $RPM_BUILD_ROOT%{_datadir}/antiword
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc Docs/{ChangeLog,Exmh,FAQ,History,Mutt,Netscape,QandA,ReadMe}
45 %attr(755,root,root) %{_bindir}/*
46 %{_datadir}/antiword
47 %{_mandir}/man*/*
This page took 0.064906 seconds and 3 git commands to generate.