]> git.pld-linux.org Git - packages/antiword.git/blobdiff - antiword.spec
- use __cc for linking
[packages/antiword.git] / antiword.spec
index 7d35338f92fb23ce893ce0fdca30d44254ac6086..9071d2f6ecdd9b4ae71e19aef6cc29f8196924a5 100644 (file)
@@ -1,50 +1,54 @@
 Summary:       MSWord Document to TXT/Postscript converter
-Summary(pl):   Konwerter dokumentów MSWord do TXT/Postscript
+Summary(pl.UTF-8):     Konwerter dokumentów MSWord do TXT/Postscript
 Name:          antiword
-Version:       0.32
+Version:       0.37
 Release:       1
 License:       GPL
 Group:         Applications/Text
 Source0:       http://www.winfield.demon.nl/linux/%{name}-%{version}.tar.gz
-Patch0:                %{name}-path.patch
+# Source0-md5: f868e2a269edcbc06bf77e89a55898d1
+Patch0:                %{name}-etc_dir.patch
 URL:           http://www.winfield.demon.nl/index.html
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Antiword is a free MS-Word reader for Linux, BeOS and RISC OS. It
-converts the documents from Word 6, 7, 97 and 2000 to text and
-Postscript. Antiword tries to keep the layout of the document intact.
+converts the documents from Word 2, 6, 7, 97, 2000, 2002 and 2003 to
+text and Postscript. Antiword tries to keep the layout of the document
+intact.
 
-%description -l pl
-Antiword to darmowy czytnik dokumentów MS-Word dla Linuxa, BeOS i RISC
-OS. Konwertuje on dokumenty z Worda 6, 7, 97 oraz 2000 do tekstu oraz
-Postscriptu. Antiword próbuje utrzymaæ formê dokumentu nietkniêt±.
+%description -l pl.UTF-8
+Antiword to darmowy czytnik dokumentów MS-Word dla Linuksa, BeOS i RISC
+OS. Konwertuje on dokumenty z Worda 2, 6, 7, 97, 2000, 2002 oraz 2003
+do tekstu oraz Postscriptu. Antiword próbuje utrzymać formę dokumentu
+nietkniętą.
 
 %prep
-%setup -q -n %{name}.%{version}
+%setup -q
 %patch0 -p1
 
 %build
-%{__make} OPT="%{rpmcflags}" CC="%{__cc}"
+%{__make} \
+       CC="%{__cc}" \
+       LD="%{__cc}" \
+       OPT="%{rpmcflags}" \
+       LDFLAGS="%{rpmcflags} %{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/antiword}
 
-install %{name} k%{name} $RPM_BUILD_ROOT%{_bindir}
+install %{name} $RPM_BUILD_ROOT%{_bindir}
+install Unix-only/KDE3-only/kantiword.sh $RPM_BUILD_ROOT%{_bindir}/k%{name}
 install Docs/*.1       $RPM_BUILD_ROOT%{_mandir}/man1
 install Resources/*    $RPM_BUILD_ROOT%{_datadir}/antiword
 
-rm -f Docs/{*.1,COPYING}
-
-gzip -9nf Docs/*
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Docs/*.gz
+%doc Docs/{ChangeLog,Exmh,FAQ,History,Mutt,Netscape,QandA,ReadMe}
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/antiword
 %{_mandir}/man*/*
This page took 0.083259 seconds and 4 git commands to generate.