From 5528d2b1192ee371cf2fedc34fb16d5301e6ed3e0c2cb14d0013f524280a9aef Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Wed, 7 Nov 2018 15:15:55 +0000
Subject: [PATCH] - Added schily-linker.diff. - Add smake and ved subpackages.

OBS-URL: https://build.opensuse.org/package/show/utilities/schily?expand=0&rev=41
---
 schily.changes |  5 +++--
 schily.spec    | 51 ++++++++++++++++++++++++++++++++++----------------
 2 files changed, 38 insertions(+), 18 deletions(-)

diff --git a/schily.changes b/schily.changes
index 4f73fd1..d8510eb 100644
--- a/schily.changes
+++ b/schily.changes
@@ -22,8 +22,9 @@ Tue Nov  6 16:33:45 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
   * star: the path name length and the link name length are now
     set from the POSIX 2001 extended tar headers in case that a
     name appears in that extended meta data.
-- Removed schily-2018-05-25_star_lock.patch (no longer needed)
-- Added schily-linker.diff
+- Removed schily-2018-05-25_star_lock.patch (no longer needed).
+- Added schily-linker.diff.
+- Add smake and ved subpackages.
 
 -------------------------------------------------------------------
 Wed Aug 29 07:57:23 UTC 2018 - jengelh@inai.de
diff --git a/schily.spec b/schily.spec
index 2d888d8..ffeb77b 100644
--- a/schily.spec
+++ b/schily.spec
@@ -372,6 +372,18 @@ interprocess communication connection.
 A tape client would launch something like ssh for the actual
 connection, and through that, have the rmt program executed.
 
+%package -n smake
+Summary:        The Schily "make" program
+License:        CDDL-1.0
+Group:          Development/Tools/Building
+
+%description -n smake
+Smake executes command sequences based on relations of modification
+dates of files. The command sequences are taken from a set of rules
+found in a makefile or in the set of implicit rules. The argument
+target is typically a program that is to be built from the known
+rules.
+
 %package -n spax
 Summary:        Portable Archive Exchange
 License:        CDDL-1.0
@@ -406,6 +418,17 @@ Features:
 * Stores and restores all 3 file times (even creation time). With POSIX.1-2001,
   the times are in nanosecond granularity.
 
+%package -n ved
+Summary:        The Visual Editor
+License:        CDDL-1.0
+Group:          Productivity/Editors/Other
+
+%description -n ved
+Ved (visual editor) is a screen-oriented editor that implements a
+user interface somewhere between vi and emacs. It has almost no
+limitations on file size and supports to edit large files (files >2
+GB).
+
 %prep
 %setup -qn %name-%rver
 %patch -P 1 -P 2 -P 3 -p1
@@ -493,7 +516,7 @@ ls -l "$b/%_mandir"/man*/*mt*
 find "$b/usr/share/doc" -type f -name "*big*" -print -delete
 
 # deal with this another time
-rm -Rf "$b/usr/ccs" "$b/usr/xpg4" "$b/%_bindir/sccs"
+rm -Rfv "$b/usr/ccs" "$b/usr/xpg4" "$b/%_bindir/sccs"
 rm -f \
    $b/etc/sformat.dat \
    $b/usr/bin/Cstyle \
@@ -529,16 +552,12 @@ rm -f \
    $b/usr/bin/sformat \
    $b/usr/bin/sgrow \
    $b/usr/bin/sh \
-   $b/usr/bin/smake \
    $b/usr/bin/spaste \
    $b/usr/bin/spatch \
    $b/usr/bin/strar \
    $b/usr/bin/termcap \
    $b/usr/bin/translit \
    $b/usr/bin/udiff \
-   $b/usr/bin/ved \
-   $b/usr/bin/ved-e \
-   $b/usr/bin/ved-w \
    $b/usr/lib*/cpp \
    $b/usr/lib*/libmakestate.so \
    $b/usr/lib*/libmakestate.so.1.0 \
@@ -552,14 +571,7 @@ rm -f \
    $b/usr/share/doc/packages/libparanoia/README.interface \
    $b/usr/share/doc/packages/libparanoia/README.paranoia \
    $b/usr/share/doc/packages/schilyutils/dotfiles.tar.bz2 \
-   $b/usr/share/doc/packages/ved/dotfiles.tar.bz2 \
-   $b/usr/share/doc/packages/ved/vedsheet.ps \
-   $b/usr/share/doc/packages/ved/vedsheet.tr \
-   $b/usr/share/lib/make/make.rules \
-   $b/usr/share/lib/make/svr4.make.rules \
-   $b/usr/share/lib/smake/defaults.smk \
    $b/usr/share/man/de/man1/sdd.1 \
-   $b/usr/share/man/help/ved.help \
    $b/usr/share/man/man1/admin.1 \
    $b/usr/share/man/man1/bdiff.1 \
    $b/usr/share/man/man1/bsh.1 \
@@ -628,7 +640,6 @@ rm -f \
    $b/usr/share/man/man1/sdd.1 \
    $b/usr/share/man/man1/sfind.1 \
    $b/usr/share/man/man1/sgrow.1 \
-   $b/usr/share/man/man1/smake.1 \
    $b/usr/share/man/man1/spaste.1 \
    $b/usr/share/man/man1/spatch.1 \
    $b/usr/share/man/man1/strar.1 \
@@ -640,9 +651,6 @@ rm -f \
    $b/usr/share/man/man1/unget.1 \
    $b/usr/share/man/man1/val.1 \
    $b/usr/share/man/man1/vc.1 \
-   $b/usr/share/man/man1/ved-e.1 \
-   $b/usr/share/man/man1/ved-w.1 \
-   $b/usr/share/man/man1/ved.1 \
    $b/usr/share/man/man1/what.1 \
    $b/usr/share/man/man5/changeset.5 \
    $b/usr/share/man/man5/makefiles.5 \
@@ -959,6 +967,11 @@ fi
 %ghost %_sysconfdir/alternatives/rmt.1%ext_man
 %ghost %_mandir/man1/rmt.1%ext_man
 
+%files -n smake
+%_bindir/smake
+%_datadir/lib/
+%_mandir/man1/smake.1*
+
 %files -n spax
 %license CDDL.Schily.txt
 %_bindir/pax
@@ -977,4 +990,10 @@ fi
 %_mandir/man1/ustar.1*
 %_mandir/man5/star.5*
 
+%files -n ved
+%_bindir/ved*
+%_mandir/help/
+%_mandir/man1/ved*.1*
+%_docdir/ved/
+
 %changelog