]> git.pld-linux.org Git - packages/antiword.git/blobdiff - antiword.spec
- added home_etc.patch
[packages/antiword.git] / antiword.spec
index ac837f460569a89f99ed9d34fd0bd95fba64c05c..d30503490cd89c767c6c31280c971b41882e518f 100644 (file)
@@ -1,16 +1,12 @@
 Summary:       MSWord Document to TXT/Postscript converter
 Summary(pl):   Konwerter dokumentów MSWord do TXT/Postscript
 Name:          antiword
-Version:       0.31
+Version:       0.33
 Release:       2
 License:       GPL
 Group:         Applications/Text
-Group(de):     Applikationen/Text
-Group(fr):     Utilitaires/Texte
-Group(pl):     Aplikacje/Tekst
 Source0:       http://www.winfield.demon.nl/linux/%{name}-%{version}.tar.gz
-Patch0:                %{name}-opt.patch
-Patch1:                %{name}-globalconf.patch
+Patch0:   %{name}-home_etc.patch
 URL:           http://www.winfield.demon.nl/index.html
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -20,37 +16,31 @@ converts the documents from Word 6, 7, 97 and 2000 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
+Antiword to darmowy czytnik dokumentów MS-Word dla Linuksa, 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±.
 
 %prep
-%setup -q -n %{name}.%{version}
-%patch0 -p1
-%patch1 -p1
+%setup -q
+%patch -p1
 
 %build
-OPT="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" %{__make}
+%{__make} OPT="%{rpmcflags}" CC="%{__cc}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/antiword}
 
-install %{name}                $RPM_BUILD_ROOT%{_bindir}
+install %{name} k%{name} $RPM_BUILD_ROOT%{_bindir}
 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.130551 seconds and 4 git commands to generate.