]>
Commit | Line | Data |
---|---|---|
2a3bf00f | 1 | Summary: MSWord Document to TXT/Postscript converter |
26b3ebd8 | 2 | Summary(pl.UTF-8): Konwerter dokumentów MSWord do TXT/Postscript |
2a3bf00f | 3 | Name: antiword |
d771ef24 | 4 | Version: 0.37 |
9d55790e | 5 | Release: 1 |
2a3bf00f AM |
6 | License: GPL |
7 | Group: Applications/Text | |
2a3bf00f | 8 | Source0: http://www.winfield.demon.nl/linux/%{name}-%{version}.tar.gz |
d771ef24 | 9 | # Source0-md5: f868e2a269edcbc06bf77e89a55898d1 |
ad9adb39 | 10 | Patch0: %{name}-etc_dir.patch |
2a3bf00f AM |
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 | |
d771ef24 JB |
16 | converts the documents from Word 2, 6, 7, 97, 2000, 2002 and 2003 to |
17 | text and Postscript. Antiword tries to keep the layout of the document | |
18 | intact. | |
2a3bf00f | 19 | |
7765be1e JR |
20 | %description -l pl.UTF-8 |
21 | Antiword to darmowy czytnik dokumentów MS-Word dla Linuksa, BeOS i RISC | |
d771ef24 | 22 | OS. Konwertuje on dokumenty z Worda 2, 6, 7, 97, 2000, 2002 oraz 2003 |
7765be1e JR |
23 | do tekstu oraz Postscriptu. Antiword próbuje utrzymać formę dokumentu |
24 | nietkniętą. | |
2a3bf00f AM |
25 | |
26 | %prep | |
9417df42 | 27 | %setup -q |
2a27edef | 28 | %patch0 -p1 |
2a3bf00f AM |
29 | |
30 | %build | |
c264bf09 JB |
31 | %{__make} \ |
32 | CC="%{__cc}" \ | |
b88f96e3 | 33 | LD="%{__cc}" \ |
0d7f7d4c | 34 | OPT="%{rpmcflags}" \ |
843ee3ad | 35 | LDFLAGS="%{rpmcflags} %{rpmldflags}" |
2a3bf00f AM |
36 | |
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
7c23b1a7 | 39 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/antiword} |
2a3bf00f | 40 | |
b88f96e3 | 41 | install %{name} $RPM_BUILD_ROOT%{_bindir} |
42 | install Unix-only/KDE3-only/kantiword.sh $RPM_BUILD_ROOT%{_bindir}/k%{name} | |
2a3bf00f | 43 | install Docs/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
7c23b1a7 | 44 | install Resources/* $RPM_BUILD_ROOT%{_datadir}/antiword |
2a3bf00f | 45 | |
2a3bf00f AM |
46 | %clean |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
9417df42 | 51 | %doc Docs/{ChangeLog,Exmh,FAQ,History,Mutt,Netscape,QandA,ReadMe} |
2a3bf00f | 52 | %attr(755,root,root) %{_bindir}/* |
7c23b1a7 | 53 | %{_datadir}/antiword |
2a3bf00f | 54 | %{_mandir}/man*/* |