From 102b499f102e451c442855349e8fa67ef680b68c9bacc9e3ac49a277c38d793a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 28 Mar 2018 15:56:12 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/utilities/schily?expand=0&rev=3 --- schily.spec | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/schily.spec b/schily.spec index bcb9383..986dc86 100644 --- a/schily.spec +++ b/schily.spec @@ -218,7 +218,6 @@ layer from operating systems' mechanisms to issue SCSI commands. Summary: Development files for libscg, a SCSI transport library License: CDDL-1.0 Group: Development/Libraries/C and C++ -Requires: libmdigest1_0 = %box_version Requires: librscg1_0 = %box_version Requires: libscg1_0 = %box_version Requires: libscgcmd1_0 = %box_version @@ -258,9 +257,10 @@ Requires: libedc_ecc1_0 = %cdr_version Requires: libedc_ecc_dec1_0 = %cdr_version Requires: libfile1_0 = %box_version Requires: libfind1_0 = %box_version -Requires: libhfs1_0 = %box_version +Requires: libhfs1_0 = %cdr_version Requires: librmt1_0 = %box_version Requires: libschily1_0 = %box_version +Requires: libxtermcap1_0 = %box_version %description -n libschily-devel libschily contains many OS abstraction functions used by the Schily @@ -281,6 +281,15 @@ tools. This subpackage contains manual pages for the APIs exposed by libschily. +%package -n libxtermcap1_0 +Summary: A termcap implementation +License: CDDL-1.0 +Group: System/Libraries + +%description -n libxtermcap1_0 +An implementation of termcap, i.e. the termcap C functions tgetent, tputs, +etc., including the parser for the /usr/share/misc/termcap file. + %package -n mkisofs Summary: A program to generate an ISO-9660/Joliet/HFS/UDF hybrid filesystem License: GPL-2.0-only @@ -482,8 +491,6 @@ rm -f \ $b/usr/lib*/libshedit.so.1.0 \ $b/usr/lib*/libstreamar.so \ $b/usr/lib*/libstreamar.so.1.0 \ - $b/usr/lib*/libxtermcap.so \ - $b/usr/lib*/libxtermcap.so.1.0 \ $b/usr/lib*/svr4.make \ $b/usr/sbin/mountcd \ $b/usr/share/doc/packages/README \ @@ -686,6 +693,8 @@ true %postun -n libscgcmd1_0 -p /sbin/ldconfig %post -n libschily1_0 -p /sbin/ldconfig %postun -n libschily1_0 -p /sbin/ldconfig +%post -n libxtermcap1_0 -p /sbin/ldconfig +%postun -n libxtermcap1_0 -p /sbin/ldconfig %verifyscript -n cdrecord %{verify_permissions -e %_bindir/cdrecord} @@ -812,6 +821,7 @@ true %_libdir/libhfs.so %_libdir/librmt.so %_libdir/libschily.so +%_libdir/libxtermcap.so %files -n libschily-devel-doc %_mandir/man3/absfpath.3* @@ -873,6 +883,10 @@ true %_mandir/man3/streql.3* %exclude %_mandir/man3/strlen.3* +%files -n libxtermcap1_0 +%license CDDL.Schily.txt +%_libdir/libxtermcap.so.1.0 + %files -n mkisofs %defattr(-,root,root) %license mkisofs/COPYING