]> git.pld-linux.org Git - packages/antiword.git/blame - antiword.spec
- use __cc for linking
[packages/antiword.git] / antiword.spec
CommitLineData
2a3bf00f 1Summary: MSWord Document to TXT/Postscript converter
26b3ebd8 2Summary(pl.UTF-8): Konwerter dokumentów MSWord do TXT/Postscript
2a3bf00f 3Name: antiword
d771ef24 4Version: 0.37
9d55790e 5Release: 1
2a3bf00f
AM
6License: GPL
7Group: Applications/Text
2a3bf00f 8Source0: http://www.winfield.demon.nl/linux/%{name}-%{version}.tar.gz
d771ef24 9# Source0-md5: f868e2a269edcbc06bf77e89a55898d1
ad9adb39 10Patch0: %{name}-etc_dir.patch
2a3bf00f
AM
11URL: http://www.winfield.demon.nl/index.html
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15Antiword is a free MS-Word reader for Linux, BeOS and RISC OS. It
d771ef24
JB
16converts the documents from Word 2, 6, 7, 97, 2000, 2002 and 2003 to
17text and Postscript. Antiword tries to keep the layout of the document
18intact.
2a3bf00f 19
7765be1e
JR
20%description -l pl.UTF-8
21Antiword to darmowy czytnik dokumentów MS-Word dla Linuksa, BeOS i RISC
d771ef24 22OS. Konwertuje on dokumenty z Worda 2, 6, 7, 97, 2000, 2002 oraz 2003
7765be1e
JR
23do tekstu oraz Postscriptu. Antiword próbuje utrzymać formę dokumentu
24nietknię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
38rm -rf $RPM_BUILD_ROOT
7c23b1a7 39install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/antiword}
2a3bf00f 40
b88f96e3 41install %{name} $RPM_BUILD_ROOT%{_bindir}
42install Unix-only/KDE3-only/kantiword.sh $RPM_BUILD_ROOT%{_bindir}/k%{name}
2a3bf00f 43install Docs/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
7c23b1a7 44install Resources/* $RPM_BUILD_ROOT%{_datadir}/antiword
2a3bf00f 45
2a3bf00f
AM
46%clean
47rm -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*/*
This page took 0.081843 seconds and 4 git commands to generate.