]> git.pld-linux.org Git - packages/antiword.git/blob - antiword.spec
- use __cc for linking
[packages/antiword.git] / antiword.spec
1 Summary:        MSWord Document to TXT/Postscript converter
2 Summary(pl.UTF-8):      Konwerter dokumentów MSWord do TXT/Postscript
3 Name:           antiword
4 Version:        0.37
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:  f868e2a269edcbc06bf77e89a55898d1
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 2, 6, 7, 97, 2000, 2002 and 2003 to
17 text and Postscript. Antiword tries to keep the layout of the document
18 intact.
19
20 %description -l pl.UTF-8
21 Antiword to darmowy czytnik dokumentów MS-Word dla Linuksa, BeOS i RISC
22 OS. Konwertuje on dokumenty z Worda 2, 6, 7, 97, 2000, 2002 oraz 2003
23 do tekstu oraz Postscriptu. Antiword próbuje utrzymać formę dokumentu
24 nietkniętą.
25
26 %prep
27 %setup -q
28 %patch0 -p1
29
30 %build
31 %{__make} \
32         CC="%{__cc}" \
33         LD="%{__cc}" \
34         OPT="%{rpmcflags}" \
35         LDFLAGS="%{rpmcflags} %{rpmldflags}"
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/antiword}
40
41 install %{name} $RPM_BUILD_ROOT%{_bindir}
42 install Unix-only/KDE3-only/kantiword.sh $RPM_BUILD_ROOT%{_bindir}/k%{name}
43 install Docs/*.1        $RPM_BUILD_ROOT%{_mandir}/man1
44 install Resources/*     $RPM_BUILD_ROOT%{_datadir}/antiword
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc Docs/{ChangeLog,Exmh,FAQ,History,Mutt,Netscape,QandA,ReadMe}
52 %attr(755,root,root) %{_bindir}/*
53 %{_datadir}/antiword
54 %{_mandir}/man*/*
This page took 0.070032 seconds and 4 git commands to generate.