]> git.pld-linux.org Git - packages/antiword.git/blob - antiword.spec
- added home_etc.patch
[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.33
5 Release:        2
6 License:        GPL
7 Group:          Applications/Text
8 Source0:        http://www.winfield.demon.nl/linux/%{name}-%{version}.tar.gz
9 Patch0:   %{name}-home_etc.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
25 %patch -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 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc Docs/{ChangeLog,Exmh,FAQ,History,Mutt,Netscape,QandA,ReadMe}
44 %attr(755,root,root) %{_bindir}/*
45 %{_datadir}/antiword
46 %{_mandir}/man*/*
This page took 0.528071 seconds and 3 git commands to generate.