Name: par Version: 1.53.0 Release: 10%{?dist} Summary: Paragraph reformatter, vaguely like fmt, but more elaborate License: LicenseRef-Par URL: http://www.nicemice.net/par/ Source0: http://www.nicemice.net/par/Par-1.53.0.tar.gz BuildRequires: gcc BuildRequires: make %description par is a filter which copies its input to its output, changing all white characters (except newlines) to spaces, and reformatting each paragraph. Paragraphs are separated by protected, blank, and bodiless lines (see the man page Terminology section for definitions), and optionally delimited by indentation (see the d option in the Options section). Each output paragraph is generated from the corresponding input paragraph as follows: 1) An optional prefix and/or suffix is removed from each input line. 2) The remainder is divided into words (separated by spaces). 3) The words are joined into lines to make an eye-pleasing paragraph. 4) The prefixes and suffixes are reattached. If there are suffixes, spaces are inserted before them so that they all end in the same column. %prep %setup -q -n Par-1.53.0 %build %make_build -f protoMakefile CC="gcc -c $RPM_OPT_FLAGS" %install install -d %{buildroot}/%{_bindir} install -d %{buildroot}/%{_mandir}/man1 install par %{buildroot}/%{_bindir} install -m 644 par.1 %{buildroot}/%{_mandir}/man1 %files %{_bindir}/par %{_mandir}/man1/par.1* %doc par.doc releasenotes %changelog * Sun Jul 31 2022 David Levine - 1.53.0-10 - Changed License field to use SPDX license expression. * Fri Jul 22 2022 Fedora Release Engineering - 1.53.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.53.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.53.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jan 28 2021 David Levine - 1.53.0-6 - Fixed date format in changelog entries to avoid errors. * Tue Jan 26 2021 Fedora Release Engineering - 1.53.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Nov 04 2020 David Levine - 1.53.0-4 - Added BuildRequires: make. * Sun Aug 09 2020 David Levine - 1.53.0-3 - Replaced "make" with %make_build macro. * Tue Jul 28 2020 Fedora Release Engineering - 1.53.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun May 31 2020 David Levine - 1.53.0-1 - Updated to upstream 1.53.0. - Changed to (alternative) MIT license. * Wed Jan 29 2020 Fedora Release Engineering - 1.52-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.52-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.52-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.52-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Feb 19 2018 David Levine - 1.52-23 - Added BuildRequires: gcc. - Updated spec file preamble to conform to spec file reference. * Thu Feb 08 2018 Fedora Release Engineering - 1.52-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.52-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.52-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.52-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.52-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.52-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jan 10 2015 David Levine - 1.52-15 - Removed all par_1.52-i18n patches because they still have bugs [Bug 962221]. * Thu Dec 25 2014 David Levine - 1.52-14 - Added protection against null dereference to previous patch. * Wed Dec 24 2014 David Levine - 1.52-14 - Added patch to fix segfault with multibyte characters [Bug 962221]. * Sun Aug 17 2014 Fedora Release Engineering - 1.52-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Jun 06 2014 Fedora Release Engineering - 1.52-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Jul 29 2013 Ville Skyttä - 1.52-11 - Don't create unneeded doc dir in %%install. * Sun May 05 2013 David Levine - 1.52-10 - Added patch to fix mixing byte string and wide string I/O [Bug 959794]. * Thu Feb 14 2013 Fedora Release Engineering - 1.52-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.52-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jul 09 2012 David Levine 1.52-7 - Removed -s from install of executable. Changed summary to be less pretentious. * Sun Jul 08 2012 David Levine 1.52-6 - Moved executable to /usr/bin/par because par2cmdline removed the conflict, as of Fedora 18. * Tue May 15 2012 David Levine 1.52-5 - Moved executable to /usr/lib/par/. * Tue Apr 17 2012 David Levine 1.52-4 - Addressed first round of comments on the spec. - Restored -s in install of executable. That is much more consistent - with what is already in /usr/bin, and removes an rpmlint warning. * Mon Apr 16 2012 David Levine 1.52-3 - In response to comments about packaging: renamed binary to - parr to avoid conflict with par2cmdline, and removed -s from - install. * Sun Apr 15 2012 David Levine 1.52-2 - Packaged for Fedora. Borrowed from the Madriva spec of - Thierry Vignaud . Added the two patches. * Tue Dec 30 2003 - Volker Kuhlmann - Package available from: http://volker.dnsalias.net/soft/ - for SuSE 8.2 - initial package version