## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 26; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: catdoc Version: 0.95 Release: %autorelease Summary: A program which converts Microsoft office files to plain text License: GPL-2.0-or-later URL: https://www.wagner.pp.ru/~vitus/software/catdoc/ Source0: http://ftp.wagner.pp.ru/pub/catdoc/%{name}-%{version}.tar.gz Patch0: makefilefix.patch BuildRequires: gcc BuildRequires: make BuildRequires: tk Recommends: %{name}-wordview %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 %package wordview Summary: Display Microsoft Word files in a graphical window Requires: tk %if 0%{?fedora} > 41 Conflicts: %{name} <= 0.95-25 %endif %if 0%{?fedora} == 41 Conflicts: %{name} <= 0.95-19 %endif %description wordview wordview is a program that displays Microsoft Word files in a graphical window via Tk. %prep %autosetup -p1 %build %configure %make_build %install %make_install %files %license COPYING %{_bindir}/catdoc %{_bindir}/catppt %{_bindir}/xls2csv %{_mandir}/man1/catdoc.1.* %{_mandir}/man1/catppt.1.* %{_mandir}/man1/xls2csv.1.* %{_datadir}/catdoc %doc README NEWS %files wordview %{_bindir}/wordview %{_mandir}/man1/wordview.1.* %changelog ## START: Generated by rpmautospec * Mon Nov 04 2024 Timothée Ravier - 0.95-26 - Split wordview into a recommended subpackage * Fri Oct 11 2024 Peter Lemenkov - 0.95-25 - Licensed under GPLv2+ according to the README * Wed Jul 17 2024 Fedora Release Engineering - 0.95-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jun 17 2024 Miroslav Suchý - 0.95-18 - convert license to SPDX * Tue Jan 23 2024 Fedora Release Engineering - 0.95-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.95-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 0.95-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jan 18 2023 Fedora Release Engineering - 0.95-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 20 2022 Fedora Release Engineering - 0.95-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 0.95-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.95-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.95-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.95-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 0.95-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 0.95-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.95-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 0.95-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.95-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0.95-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.95-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 20 2017 Tom Callaway - 0.95-1 - update to 0.95, resolves licensing issue (bz1295166) * Fri Feb 10 2017 Fedora Release Engineering - 0.94.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 0.94.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Yaakov Selkowitz - 0.94.2-16 - Fix build for https://fedoraproject.org/wiki/Changes/Harden_All_Packages * Wed Jun 17 2015 Fedora Release Engineering - 0.94.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Aug 15 2014 Fedora Release Engineering - 0.94.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.94.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.94.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 0.94.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Nov 02 2012 Adel Gadllah - 0.94.2-10 - Fix buffer overflow vulnerability; RH#872390 / RH#872391 * Wed Jul 18 2012 Fedora Release Engineering - 0.94.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 0.94.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.94.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering - 0.94.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Feb 23 2009 Fedora Release Engineering - 0.94.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Feb 08 2008 Adel Gadllah 0.94.2-4 - Rebuild for gcc-4.3 * Sun Nov 11 2007 Adel Gadllah 0.94.2-3 - Preserve timestamps * Sun Nov 03 2007 Adel Gadllah 0.94.2-2 - Require and BuildRequire tk - Fix changelog date * Thu Oct 20 2007 Adel Gadllah 0.94.2-1 - Initial build ## END: Generated by rpmautospec