commit 87ad4b769e74bfaf556c8ffbfe3b188d32b2d29fd034a2aeca49713fe848e8b1 Author: Andreas Jaeger Date: Mon Sep 21 06:17:30 2020 +0000 Accepting request 831529 from home:mcepl:work The initial packaging effort for par(1). The only possible problem is conflicting name with par (Parity Archive File Generator), but I don’t think it is much probable that these two would be installed on one system, so pure Conflict should work. update-alternatives doesn’t feel like the right solution, anyway. OBS-URL: https://build.opensuse.org/request/show/831529 OBS-URL: https://build.opensuse.org/package/show/Base:System/par_text?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..0b411c5 --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + 1.53.0+git + https://bitbucket.org/amc-nicemice/par.git + git + .git* + enable + mcepl@cepl.eu + + + + xz + *.tar + + + diff --git a/_service:obs_scm:_servicedata b/_service:obs_scm:_servicedata new file mode 100644 index 0000000..9725044 --- /dev/null +++ b/_service:obs_scm:_servicedata @@ -0,0 +1,4 @@ + + + https://bitbucket.org/amc-nicemice/par.git + eb0590f6bafc4f9e44a5ad7e0baadc29c69e79e7 \ No newline at end of file diff --git a/_service:obs_scm:par-1.53.0+git.1584347654.eb0590f.obscpio b/_service:obs_scm:par-1.53.0+git.1584347654.eb0590f.obscpio new file mode 100644 index 0000000..6ea486e --- /dev/null +++ b/_service:obs_scm:par-1.53.0+git.1584347654.eb0590f.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff345b0bfbf8748fda94aef6766bcfa07596ec3057082352ab956ed0add71e59 +size 209931 diff --git a/_service:obs_scm:par.obsinfo b/_service:obs_scm:par.obsinfo new file mode 100644 index 0000000..a1a570b --- /dev/null +++ b/_service:obs_scm:par.obsinfo @@ -0,0 +1,5 @@ +name: par +version: 1.53.0+git.1584347654.eb0590f +mtime: 1584347654 +commit: eb0590f6bafc4f9e44a5ad7e0baadc29c69e79e7 + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..9725044 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://bitbucket.org/amc-nicemice/par.git + eb0590f6bafc4f9e44a5ad7e0baadc29c69e79e7 \ No newline at end of file diff --git a/par_text.changes b/par_text.changes new file mode 100644 index 0000000..2030048 --- /dev/null +++ b/par_text.changes @@ -0,0 +1,39 @@ +------------------------------------------------------------------- +Wed Sep 02 18:00:45 UTC 2020 - mcepl@cepl.eu + +- Update to version 1.53.0+git.1584347654.eb0590f: + * Par 1.53.0 released 2020-Mar-14 + * Par 1.52 released 2001-Apr-29 + * Par 1.51 released 2000-Feb-24 + * Par 1.50 released 1996-Feb-11 + * Par 1.41 released 1993-Oct-31 + * Par 1.40 released 1993-Oct-10 + * Par 1.32 released 1993-Sep-13 + * Par 1.31 released 1993-Sep-07 + * Par 1.30 released 1993-Aug-18 + * Par 1.20 released 1993-Aug-10 + +------------------------------------------------------------------- +Fri Mar 06 09:01:16 UTC 2020 - mcepl@cepl.eu + +- Update to version 152+git.1583481202.96076a2: + * Reapply patches correctly. + +------------------------------------------------------------------- +Thu Mar 05 08:44:06 UTC 2020 - mcepl@cepl.eu + +- Switch to the new upstream https://gitlab.com/mcepl/par +- Update to version 152+git.1583397706.93d6247: + * Remove incorrect settings of CC macro. + +------------------------------------------------------------------- +Thu Mar 5 00:24:23 CET 2020 - Matej Cepl + +- Add fix_build_failures.patch to got gcc warnings to go away. +- Still broken UTF-8. + +------------------------------------------------------------------- +Sat Feb 29 01:58:28 CET 2020 - Matej Cepl + +- Restart of attempts to package par 1.52. + diff --git a/par_text.spec b/par_text.spec new file mode 100644 index 0000000..ba0d7fc --- /dev/null +++ b/par_text.spec @@ -0,0 +1,74 @@ +# +# spec file for package Par +# +# Copyright (c) 2020 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + +%define upname par +Name: par_text +Version: 1.53.0+git.1584347654.eb0590f +Release: 0 +Summary: Paragraph reformatter +License: MIT +Group: Productivity/Text/Convertors +URL: http://www.nicemice.net/par/ +Source0: par-%{version}.tar.xz +# I hope that these two packages are so specialised, they +# shouldn't be on one system. +Conflicts: par + +%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, and optionally delimited by indentation. + +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. + +NOTE: This package should really be named "par" not "Par". +It has existed thus since at least 1993. But it was never packaged +for openSUSE before now and, being fairly obscure and little known, +a more recent utility from http://parchive.sourceforge.net, or at +least the openSUSE packaging of it, has already been using the name +"par" for some time, AND, at least one other package, "dar" expects +and depends on this. So this package can't realistically use it's +own rightful name as it would conflict with gpar/par-cmdline, and +break -at least- dar, which are both more widely installed and used +and so can't be changed easily now. + +%prep +%autosetup -p1 -n %{upname}-%{version} + +%build +make -f protoMakefile CC="cc -c" LINK1="cc" LINK2="-o" RM="rm" JUNK="" %{?_smp_mflags} CFLAGS="%{optflags}"$* + +%install +install -D -t %{buildroot}/%{_bindir} par +install -p -m 0644 -D -t %{buildroot}/%{_mandir}/man1 par.1 + +%files +%{_bindir}/par +%doc par.doc releasenotes +%{_mandir}/man1/par.1%{?ext_man} + +%changelog