Name: catdoc Version: 0.94.2 Release: 10%{?dist} Summary: A program which converts Microsoft office files to plain text Group: Applications/Text License: GPL+ URL: http://www.wagner.pp.ru/~vitus/software/catdoc/ Source0: http://ftp.wagner.pp.ru/pub/catdoc/%{name}-%{version}.tar.gz Patch0: makefilefix.patch Patch1: catdoc-0.94.2-bufferoverflow-rh872390-rh872391.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: tk Requires: tk %description catdoc is program which reads one or more Microsoft word files and outputs text, contained insinde them to standard output. Therefore it does same work for.doc files, as unix cat command for plain ASCII files. It is now accompanied by xls2csv - program which converts Excel spreadsheet into comma-separated value file, and catppt - utility to extract textual information from Powerpoint files %prep %setup -q %patch0 -p1 -b .makefilefix %patch1 -p1 -b .bufferoverflow %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/catdoc %{_bindir}/catppt %{_bindir}/wordview %{_bindir}/xls2csv %{_mandir}/man1/catdoc.1.* %{_mandir}/man1/catppt.1.* %{_mandir}/man1/wordview.1.* %{_mandir}/man1/xls2csv.1.* %{_datadir}/catdoc %doc COPYING README NEWS %changelog * Fri Nov 02 2012 Adel Gadllah <adel.gadllah@gmail.com> - 0.94.2-10 - Fix buffer overflow vulnerability; RH#872390 / RH#872391 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.94.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.94.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.94.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.94.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.94.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Feb 08 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.94.2-4 - Rebuild for gcc-4.3 * Sun Nov 11 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.94.2-3 - Preserve timestamps * Sun Nov 03 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.94.2-2 - Require and BuildRequire tk - Fix changelog date * Thu Oct 20 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.94.2-1 - Initial build