forked from pool/schily
923 lines
29 KiB
RPMSpec
923 lines
29 KiB
RPMSpec
|
#
|
||
|
# spec file for package schily
|
||
|
#
|
||
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||
|
#
|
||
|
# 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 http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
|
||
|
%global box_version 2018.03.16
|
||
|
%global cdr_version 3.02~a09
|
||
|
%define rver 2018-03-16
|
||
|
|
||
|
Name: schily
|
||
|
Version: 2018.03.16
|
||
|
Release: 0
|
||
|
Summary: A collection of tools
|
||
|
License: CDDL-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND HPND AND ISC
|
||
|
Group: Productivity/Multimedia/CD/Record
|
||
|
Url: http://cdrtools.sourceforge.net/private/cdrecord.html
|
||
|
#Freshcode-Url: http://freshcode.club/projects/schily
|
||
|
|
||
|
Source: https://downloads.sf.net/schilytools/%name-%rver.tar.bz2
|
||
|
Patch1: gcc48wa.diff
|
||
|
# Honor https://en.opensuse.org/openSUSE:Packaging_Patches_guidelines#Upstream_policy
|
||
|
# and submit patches upstream FIRST (cc to the bspkg maintainer perhaps).
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
BuildRequires: fdupes
|
||
|
BuildRequires: gcc-c++
|
||
|
BuildRequires: libcap-devel
|
||
|
BuildRequires: makedepend
|
||
|
Conflicts: cdrkit-cdrtools-compat
|
||
|
|
||
|
%description
|
||
|
The "Schily" Tool Box is a set of tools written or managed by Jörg Schilling.
|
||
|
|
||
|
%package -n bosh
|
||
|
Summary: Multibyte-capable POSIX-conforming Bourne shell
|
||
|
License: CDDL-1.0
|
||
|
Group: System/Shells
|
||
|
|
||
|
%description -n bosh
|
||
|
bosh is a Bourne-style POSIX command interpreter (shell), similar to dash,
|
||
|
but supports multibyte input/output.
|
||
|
|
||
|
%package -n btcflash
|
||
|
Summary: Firmware flash utility for BTC DRW1008 DVD±RW recorder
|
||
|
License: CDDL-1.0
|
||
|
Group: Hardware/Other
|
||
|
|
||
|
%description -n btcflash
|
||
|
Btcflash is used to read update the Firmware for a BTC DRW1008
|
||
|
DVD+/-RW recorder. Be very careful when writing firmware as this
|
||
|
program does not check for the correctness of the target device.
|
||
|
Build from clean sources without patches.
|
||
|
|
||
|
%package -n cdda2wav
|
||
|
Summary: A CD Digital Audio Extraction tool
|
||
|
License: CDDL-1.0
|
||
|
Group: Productivity/Multimedia/CD/Grabbers
|
||
|
Version: %cdr_version
|
||
|
Release: 0
|
||
|
Requires(post): permissions
|
||
|
|
||
|
%description -n cdda2wav
|
||
|
cdda2wav can retrieve CDDA audio tracks from CDROM drives that are
|
||
|
capable of reading audio data digitally to the host via SCSI.
|
||
|
|
||
|
%package -n cdrecord
|
||
|
Summary: A CD/DVD/BD recording program
|
||
|
License: CDDL-1.0
|
||
|
Group: Productivity/Multimedia/CD/Record
|
||
|
Version: %cdr_version
|
||
|
Release: 0
|
||
|
Requires(post): permissions
|
||
|
Conflicts: cdrkit-cdrtools-compat
|
||
|
|
||
|
%description -n cdrecord
|
||
|
cdrecord is a program to record (slang: "burn") data or audio Compact Discs
|
||
|
on an Orange Book CD recorder, to write DVD media on a DVD recorder or to
|
||
|
write BluRay media on a BluRay recorder.
|
||
|
|
||
|
%package -n libcdrdeflt1_0
|
||
|
Summary: Library to parse the cdrecord config file
|
||
|
License: CDDL-1.0
|
||
|
Group: System/Libraries
|
||
|
Version: %cdr_version
|
||
|
Release: 0
|
||
|
|
||
|
%description -n libcdrdeflt1_0
|
||
|
This library implements a mechanism to read the settings from
|
||
|
cdrecord's config file(s).
|
||
|
|
||
|
%package -n libdeflt1_0
|
||
|
Summary: Library to parse sysconfig setting files
|
||
|
License: CDDL-1.0
|
||
|
Group: System/Libraries
|
||
|
|
||
|
%description -n libdeflt1_0
|
||
|
This library can be used to parse setting files that follow a trivial
|
||
|
"KEY=VALUE"-style pattern, similar to what can be found in files
|
||
|
located in /etc/sysconfig. libdeflt supports values with spaces
|
||
|
which are not quoted, and which therefore are not always compatible
|
||
|
with sh.
|
||
|
|
||
|
%package -n libedc_ecc1_0
|
||
|
Summary: Reed-Solomon encoder for Compact Discs
|
||
|
License: CDDL-1.0
|
||
|
Group: System/Libraries
|
||
|
Version: %cdr_version
|
||
|
Release: 0
|
||
|
|
||
|
%description -n libedc_ecc1_0
|
||
|
The library implements a Reed-Solomon encoder for Compact
|
||
|
Discs to generate Error Correcting Codes (ECC).
|
||
|
|
||
|
%package -n libedc_ecc_dec1_0
|
||
|
Summary: Reed-Solomon decoder for Compact Discs
|
||
|
License: CDDL-1.0
|
||
|
Group: System/Libraries
|
||
|
Version: %cdr_version
|
||
|
Release: 0
|
||
|
|
||
|
%description -n libedc_ecc_dec1_0
|
||
|
The library implements a Reed-Solomon decoder for Compact Discs with
|
||
|
a mechanism for Error Detection and Correction (EDC).
|
||
|
|
||
|
%package -n libfile1_0
|
||
|
Summary: Library for heuristic file type determination based on content
|
||
|
License: BSD-2-Clause
|
||
|
Group: System/Libraries
|
||
|
|
||
|
%description -n libfile1_0
|
||
|
The library implements a heuristic file type determinator,
|
||
|
similar to file/libmagic1.
|
||
|
|
||
|
%package -n libfind1_0
|
||
|
Summary: A library for /usr/bin/find-like functionality
|
||
|
License: CDDL-1.0
|
||
|
Group: System/Libraries
|
||
|
|
||
|
%description -n libfind1_0
|
||
|
libfind allows to be used for adding find(1)-like command-line features
|
||
|
to programs.
|
||
|
|
||
|
%package -n libhfs1_0
|
||
|
Summary: HFS volume read/write library with mkhybrid support
|
||
|
Version: %cdr_version
|
||
|
License: GPL-2.0-or-later
|
||
|
Group: System/Libraries
|
||
|
|
||
|
%description -n libhfs1_0
|
||
|
A derivative of hfstools's libhfs, used to read and write HFS
|
||
|
filesystems, which has been enhanced with support for hybrid
|
||
|
filesystem images.
|
||
|
|
||
|
%package -n libparanoia1_0
|
||
|
Summary: Compact Disc Digital audio extraction library
|
||
|
Version: %cdr_version
|
||
|
License: LGPL-2.1
|
||
|
Group: System/Libraries
|
||
|
|
||
|
%description -n libparanoia1_0
|
||
|
libparanoia is a Compact Disc Digital Audio (CD-DA) Digital Audio
|
||
|
Extraction (DAE) library for reading audio from the CD-ROM directly
|
||
|
as data, with no analog step between. Cdparanoia can read audio data
|
||
|
from inexpensive drives prone to misalignment, frame jitter and loss
|
||
|
of streaming during atomic reads, and attempt to repair data from CDs
|
||
|
that have been damaged in some way by use of the error correction
|
||
|
stored on the disc.
|
||
|
|
||
|
%package -n librmt1_0
|
||
|
Summary: Remote tape client interface library
|
||
|
License: CDDL-1.0
|
||
|
Group: System/Libraries
|
||
|
|
||
|
%description -n librmt1_0
|
||
|
librmt offers a programmatic C interface for creating an IPC
|
||
|
channel to the rmt program.
|
||
|
|
||
|
%package -n librmt-devel-doc
|
||
|
Summary: Manual pages for librmt functions
|
||
|
License: CDDL-1.0
|
||
|
Group: Documentation/Man
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n librmt-devel-doc
|
||
|
This subpackage contains the manual pages for librmt's functions.
|
||
|
|
||
|
%package -n librscg1_0
|
||
|
Summary: Remote SCSI user level command transport routines
|
||
|
License: CDDL-1.0
|
||
|
Group: System/Libraries
|
||
|
|
||
|
%description -n librscg1_0
|
||
|
A library containing additional routines on top of scg for dealing with
|
||
|
remote SCSI command transports.
|
||
|
|
||
|
%package -n libscg1_0
|
||
|
Summary: SCSI transport library
|
||
|
License: CDDL-1.0
|
||
|
Group: System/Libraries
|
||
|
|
||
|
%description -n libscg1_0
|
||
|
libscg is a SCSI transport library, providing an abstraction
|
||
|
layer from operating systems' mechanisms to issue SCSI commands.
|
||
|
|
||
|
%package -n libscg-devel
|
||
|
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
|
||
|
Requires: libschily-devel
|
||
|
|
||
|
%description -n libscg-devel
|
||
|
libscg is a SCSI transport library, providing an abstraction layer
|
||
|
from operating systems' mechanisms to issue SCSI commands.
|
||
|
|
||
|
This subpackage contains the header files for developing applications
|
||
|
that want to make use of libscg.
|
||
|
|
||
|
%package -n libscgcmd1_0
|
||
|
Summary: SCSI command function library
|
||
|
License: CDDL-1.0
|
||
|
Group: System/Libraries
|
||
|
|
||
|
%description -n libscgcmd1_0
|
||
|
A library to create and parse SCSI commands (at the byte level).
|
||
|
|
||
|
%package -n libschily1_0
|
||
|
Summary: Support library for utilities from the Schily toolbox
|
||
|
License: CDDL-1.0
|
||
|
Group: System/Libraries
|
||
|
|
||
|
%description -n libschily1_0
|
||
|
libschily contains many OS abstraction functions used by the Schily
|
||
|
tools.
|
||
|
|
||
|
%package -n libschily-devel
|
||
|
Summary: Development files for libschily
|
||
|
License: CDDL-1.0
|
||
|
Group: Development/Libraries/C and C++
|
||
|
Requires: libcdrdeflt1_0 = %cdr_version
|
||
|
Requires: libdeflt1_0 = %box_version
|
||
|
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: librmt1_0 = %box_version
|
||
|
Requires: libschily1_0 = %box_version
|
||
|
|
||
|
%description -n libschily-devel
|
||
|
libschily contains many OS abstraction functions used by the Schily
|
||
|
tools.
|
||
|
|
||
|
This subpackage contains libraries and header files for developing
|
||
|
applications that want to make use of libschily.
|
||
|
|
||
|
%package -n libschily-devel-doc
|
||
|
Summary: Manual pages for libschily functions
|
||
|
License: CDDL-1.0
|
||
|
Group: Documentation/Man
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n libschily-devel-doc
|
||
|
libschily contains many portability functions used by the Schily
|
||
|
tools.
|
||
|
|
||
|
This subpackage contains manual pages for the APIs exposed by libschily.
|
||
|
|
||
|
%package -n mkisofs
|
||
|
Summary: A program to generate an ISO-9660/Joliet/HFS/UDF hybrid filesystem
|
||
|
License: GPL-2.0-only
|
||
|
Group: Productivity/Multimedia/CD/Record
|
||
|
Version: %cdr_version
|
||
|
Release: 0
|
||
|
Requires: zisofs-tools
|
||
|
Conflicts: cdrkit-cdrtools-compat
|
||
|
|
||
|
%description -n mkisofs
|
||
|
mkisofs is a pre-mastering program to generate filesystems following
|
||
|
the ISO-9660 specification. It supports the Joliet, Rock Ridge and
|
||
|
Apple extensions, as well as the creation of HFS/ISO-9660 and
|
||
|
UDF/ISO-9660 hybrid filesystem images (images that can be mounted
|
||
|
with either filesystem driver).
|
||
|
|
||
|
%package -n readcd
|
||
|
Summary: Program to dump raw CD data to files
|
||
|
License: CDDL-1.0
|
||
|
Group: Productivity/Multimedia/CD/Record
|
||
|
Version: %cdr_version
|
||
|
Release: 0
|
||
|
Requires(post): permissions
|
||
|
|
||
|
%description -n readcd
|
||
|
The readcd program can be used to read optical media and write the
|
||
|
contents, including subchannels and error correction codes, to files.
|
||
|
It can be used to write to DVD-RAM too, but other media types should
|
||
|
use cdrecord which supports a lot more media types.
|
||
|
|
||
|
%package -n rscsi
|
||
|
Summary: Remote SCSI server
|
||
|
License: CDDL-1.0
|
||
|
Group: Productivity/Multimedia/CD/Record
|
||
|
|
||
|
%description -n rscsi
|
||
|
The rscsi command is a remote generic SCSI transport server program.
|
||
|
rscsi is a program that is run locally on the machine with SCSI
|
||
|
devices, it is used by remote programs like cdrecord(1), cdda2wav(1),
|
||
|
readcd(1), and sformat(1) that like to access SCSI devices through an
|
||
|
interprocess communication connection via libscg. rscsi is normally
|
||
|
started up with an rexec(3) or rcmd(3) call but it may also be
|
||
|
connected via an internal pipe to an ssh(1) session that was set up
|
||
|
by the remote user.
|
||
|
|
||
|
%package -n schily-mt
|
||
|
Summary: Magnetic tape control
|
||
|
License: CDDL-1.0
|
||
|
Group: Productivity/Archiving/Backup
|
||
|
Conflicts: cpio-mt
|
||
|
Conflicts: star-rmt
|
||
|
|
||
|
%description -n schily-mt
|
||
|
The mt/smt program sends commands to a local or a remote magnetic
|
||
|
tape drive.
|
||
|
|
||
|
%package -n schily-rmt
|
||
|
Summary: Remote magnetic tape protocol server
|
||
|
License: CDDL-1.0
|
||
|
Group: Productivity/Archiving/Backup
|
||
|
Conflicts: dump-rmt
|
||
|
Conflicts: star-rmt
|
||
|
|
||
|
%description -n schily-rmt
|
||
|
rmt is a program that can be used by e.g. star and ufsdump
|
||
|
for accessing remote magnetic tape drives and files through an
|
||
|
interprocess communication connection.
|
||
|
|
||
|
A tape client would launch something like ssh for the actual
|
||
|
connection, and through that, have the rmt program executed.
|
||
|
|
||
|
%prep
|
||
|
%setup -qn %name-%rver
|
||
|
%patch -P 1 -p1
|
||
|
find . "(" -type d -o -type f ")" -exec chmod u+w "{}" "+"
|
||
|
|
||
|
%build
|
||
|
perl -i -pe 's{\@echo}{echo}' RULES/cc-*
|
||
|
# Static link libmdigest, very tiny.
|
||
|
rm -fv libmdigest/shlmdigest.mk
|
||
|
# Static link libshedit, used only by bosh.
|
||
|
rm -fv libshedit/shlshedit.mk
|
||
|
# Static link libsiconv. On glibc, it forwards to iconv anyway.
|
||
|
rm -fv libsiconv/shlsiconv.mk
|
||
|
|
||
|
# (this is a noninteractive build; nobody will read the warnings
|
||
|
# or care about the pause, so use GMAKE_NOWARN.)
|
||
|
#
|
||
|
# To enable verbosity, use with CC=cc LDCC=cc DYNLD=cc.
|
||
|
#
|
||
|
# Note that specifying -fPIE/-pie here conflicts with the generation
|
||
|
# of shared objects, which is why we build those separately
|
||
|
# in schily-libs.spec instead.
|
||
|
#
|
||
|
# Not fully parallel safe, so stick to default.
|
||
|
#
|
||
|
gmake GMAKE_NOWARN=true RUNPATH="" LINKMODE=dynamic \
|
||
|
COPTOPT="%optflags -fno-strict-aliasing -fno-omit-frame-pointer -fPIC -finput-charset=ISO-8859-1" \
|
||
|
LDOPTX="" RUNPATH=""
|
||
|
|
||
|
%install
|
||
|
b="%buildroot"
|
||
|
# D'oh… not parallel safe
|
||
|
gmake GMAKE_NOWARN=true RUNPATH="" LINKMODE=dynamic \
|
||
|
DESTDIR="$b" INS_BASE="%_prefix" install -j1
|
||
|
if test "%_lib" != lib; then
|
||
|
mkdir -p "$b/%_libdir"
|
||
|
mv "$b/%_prefix/lib"/* "$b/%_libdir/"
|
||
|
fi
|
||
|
find "$b/%_libdir" -type f -name "*.a" -delete
|
||
|
find "$b/%_libdir" -type f -name "*.so.*" -exec chmod a+x "{}" "+"
|
||
|
mkdir -p "%_docdir"
|
||
|
for i in "$b/%_datadir/doc"/*; do
|
||
|
test "$i" != "$b/%_docdir" && mv "$i" "$b/%_docdir/"
|
||
|
done
|
||
|
|
||
|
# bosh
|
||
|
mv -fv "$b/%_bindir/sh" "$b/%_bindir/bosh"
|
||
|
mv -fv "$b/%_mandir/man1/sh.1" "$b/%_mandir/man1/bosh.1"
|
||
|
ln -fsv bosh.1 "$b/%_mandir/man1/jsh.1"
|
||
|
ln -fsv bosh.1 "$b/%_mandir/man1/pfsh.1"
|
||
|
ln -fsv bosh "$b/%_bindir/jsh"
|
||
|
ln -fsv bosh "$b/%_bindir/pfsh"
|
||
|
|
||
|
# Additional cdda2wav programs
|
||
|
install -pm 0755 cdda2wav/{cdda2mp3.new,inf2cdtext.pl,pitchplay,readmult,tracknames.pl} \
|
||
|
mkisofs/hdisk.pl "$b/%_bindir/"
|
||
|
# Needed by cdda2wav (see cdda2wav.c)
|
||
|
ln -sf cdda2wav "$b/%_bindir/list_audio_tracks"
|
||
|
# Fix perl path
|
||
|
perl -pi -e 's#/usr/local/bin/perl#%_bindir/perl#g' "$b/%_bindir/tracknames.pl"
|
||
|
# Rename in order to not conflict with mkisofs/README in rpm doc section
|
||
|
#mv mkisofs/diag/README mkisofs/diag/README.diag
|
||
|
|
||
|
# libsiconv. uses libc's iconv here, so does not need its own tables.
|
||
|
rm -Rfv "$b/%_datadir/lib/siconv"
|
||
|
|
||
|
# deal with this another time
|
||
|
rm -Rf "$b/usr/ccs" "$b/usr/xpg4" "$b/%_bindir/sccs"
|
||
|
rm -f \
|
||
|
$b/etc/default/star \
|
||
|
$b/etc/sformat.dat \
|
||
|
$b/usr/bin/Cstyle \
|
||
|
$b/usr/bin/bsh \
|
||
|
$b/usr/bin/calc \
|
||
|
$b/usr/bin/calltree \
|
||
|
$b/usr/bin/change \
|
||
|
$b/usr/bin/compare \
|
||
|
$b/usr/bin/copy \
|
||
|
$b/usr/bin/count \
|
||
|
$b/usr/bin/cstyle.js \
|
||
|
$b/usr/bin/dmake \
|
||
|
$b/usr/bin/gnutar \
|
||
|
$b/usr/bin/hdump \
|
||
|
$b/usr/bin/label \
|
||
|
$b/usr/bin/lndir \
|
||
|
$b/usr/bin/make \
|
||
|
$b/usr/bin/man2html \
|
||
|
$b/usr/bin/match \
|
||
|
$b/usr/bin/mdigest \
|
||
|
$b/usr/bin/od \
|
||
|
$b/usr/bin/opatch \
|
||
|
$b/usr/bin/osh \
|
||
|
$b/usr/bin/p \
|
||
|
$b/usr/bin/pfbsh \
|
||
|
$b/usr/bin/printf \
|
||
|
$b/usr/bin/pxupgrade \
|
||
|
$b/usr/bin/scgcheck \
|
||
|
$b/usr/bin/scgskeleton \
|
||
|
$b/usr/bin/scpio \
|
||
|
$b/usr/bin/scut \
|
||
|
$b/usr/bin/sdd \
|
||
|
$b/usr/bin/sfind \
|
||
|
$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/spax \
|
||
|
$b/usr/bin/star \
|
||
|
$b/usr/bin/star_sym \
|
||
|
$b/usr/bin/strar \
|
||
|
$b/usr/bin/suntar \
|
||
|
$b/usr/bin/tar \
|
||
|
$b/usr/bin/tartest \
|
||
|
$b/usr/bin/termcap \
|
||
|
$b/usr/bin/translit \
|
||
|
$b/usr/bin/udiff \
|
||
|
$b/usr/bin/ustar \
|
||
|
$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 \
|
||
|
$b/usr/lib*/libparanoia.so \
|
||
|
$b/usr/lib*/libshedit.so \
|
||
|
$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 \
|
||
|
$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/star/README \
|
||
|
$b/usr/share/doc/packages/star/README.ACL \
|
||
|
$b/usr/share/doc/packages/star/README.crash \
|
||
|
$b/usr/share/doc/packages/star/README.largefiles \
|
||
|
$b/usr/share/doc/packages/star/README.mtio \
|
||
|
$b/usr/share/doc/packages/star/README.otherbugs \
|
||
|
$b/usr/share/doc/packages/star/README.pattern \
|
||
|
$b/usr/share/doc/packages/star/README.posix-2001 \
|
||
|
$b/usr/share/doc/packages/star/STARvsGNUTAR \
|
||
|
$b/usr/share/doc/packages/star/testscripts/00INDEX \
|
||
|
$b/usr/share/doc/packages/star/testscripts/100char_longlink.tar \
|
||
|
$b/usr/share/doc/packages/star/testscripts/100char_longlink.tar-non-compliant \
|
||
|
$b/usr/share/doc/packages/star/testscripts/README.GNUtar-multivol.fail \
|
||
|
$b/usr/share/doc/packages/star/testscripts/README.create-and-remove \
|
||
|
$b/usr/share/doc/packages/star/testscripts/README.gtarfail \
|
||
|
$b/usr/share/doc/packages/star/testscripts/README.largefiles \
|
||
|
$b/usr/share/doc/packages/star/testscripts/README.longnames \
|
||
|
$b/usr/share/doc/packages/star/testscripts/README.paxbug \
|
||
|
$b/usr/share/doc/packages/star/testscripts/README.quicktest \
|
||
|
$b/usr/share/doc/packages/star/testscripts/create-and-remove.tar \
|
||
|
$b/usr/share/doc/packages/star/testscripts/dirloop.tar \
|
||
|
$b/usr/share/doc/packages/star/testscripts/g-hdr.pax.gz \
|
||
|
$b/usr/share/doc/packages/star/testscripts/gnu-multi-fail-volume1.gtar \
|
||
|
$b/usr/share/doc/packages/star/testscripts/gnu-multi-fail-volume2.gtar \
|
||
|
$b/usr/share/doc/packages/star/testscripts/gtarfail.tar \
|
||
|
$b/usr/share/doc/packages/star/testscripts/gtarfail2.tar \
|
||
|
$b/usr/share/doc/packages/star/testscripts/long.ustar.gz \
|
||
|
$b/usr/share/doc/packages/star/testscripts/mk \
|
||
|
$b/usr/share/doc/packages/star/testscripts/mk2 \
|
||
|
$b/usr/share/doc/packages/star/testscripts/not_a_tar_file \
|
||
|
$b/usr/share/doc/packages/star/testscripts/not_a_tar_file2 \
|
||
|
$b/usr/share/doc/packages/star/testscripts/old-file.tar \
|
||
|
$b/usr/share/doc/packages/star/testscripts/pax-big-10g.tar.bz2 \
|
||
|
$b/usr/share/doc/packages/star/testscripts/quicktest.filelist \
|
||
|
$b/usr/share/doc/packages/star/testscripts/remove.tar \
|
||
|
$b/usr/share/doc/packages/star/testscripts/tartest-quicktest.out \
|
||
|
$b/usr/share/doc/packages/star/testscripts/types-star-oldsparse.tar.gz \
|
||
|
$b/usr/share/doc/packages/star/testscripts/typescript \
|
||
|
$b/usr/share/doc/packages/star/testscripts/ustar-all-filetypes.tar \
|
||
|
$b/usr/share/doc/packages/star/testscripts/ustar-all-quicktest-past-contig.tar \
|
||
|
$b/usr/share/doc/packages/star/testscripts/ustar-all-quicktest.tar \
|
||
|
$b/usr/share/doc/packages/star/testscripts/ustar-all-quicktest.tar-without-cont-file \
|
||
|
$b/usr/share/doc/packages/star/testscripts/ustar-bad-filetypes.tar \
|
||
|
$b/usr/share/doc/packages/star/testscripts/ustar-bad-signedsum.tar \
|
||
|
$b/usr/share/doc/packages/star/testscripts/ustar-big-2g.tar.bz2 \
|
||
|
$b/usr/share/doc/packages/star/testscripts/ustar-big-8g.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 \
|
||
|
$b/usr/share/man/man1/calc.1 \
|
||
|
$b/usr/share/man/man1/calltree.1 \
|
||
|
$b/usr/share/man/man1/cdc.1 \
|
||
|
$b/usr/share/man/man1/change.1 \
|
||
|
$b/usr/share/man/man1/comb.1 \
|
||
|
$b/usr/share/man/man1/compare.1 \
|
||
|
$b/usr/share/man/man1/copy.1 \
|
||
|
$b/usr/share/man/man1/count.1 \
|
||
|
$b/usr/share/man/man1/cpp.1 \
|
||
|
$b/usr/share/man/man1/cstyle.1 \
|
||
|
$b/usr/share/man/man1/delta.1 \
|
||
|
$b/usr/share/man/man1/diff.1 \
|
||
|
$b/usr/share/man/man1/dmake.1 \
|
||
|
$b/usr/share/man/man1/get.1 \
|
||
|
$b/usr/share/man/man1/gnutar.1 \
|
||
|
$b/usr/share/man/man1/hdump.1 \
|
||
|
$b/usr/share/man/man1/help.1 \
|
||
|
$b/usr/share/man/man1/label.1 \
|
||
|
$b/usr/share/man/man1/lndir.1 \
|
||
|
$b/usr/share/man/man1/make.1 \
|
||
|
$b/usr/share/man/man1/man2html.1 \
|
||
|
$b/usr/share/man/man1/match.1 \
|
||
|
$b/usr/share/man/man1/mdigest.1 \
|
||
|
$b/usr/share/man/man1/mountcd.1 \
|
||
|
$b/usr/share/man/man1/od.1 \
|
||
|
$b/usr/share/man/man1/opatch.1 \
|
||
|
$b/usr/share/man/man1/osh.1 \
|
||
|
$b/usr/share/man/man1/p.1 \
|
||
|
$b/usr/share/man/man1/patch.1 \
|
||
|
$b/usr/share/man/man1/pfbsh.1 \
|
||
|
$b/usr/share/man/man1/printf.1 \
|
||
|
$b/usr/share/man/man1/prs.1 \
|
||
|
$b/usr/share/man/man1/prt.1 \
|
||
|
$b/usr/share/man/man1/pxupgrade.1 \
|
||
|
$b/usr/share/man/man1/rcs2sccs.1 \
|
||
|
$b/usr/share/man/man1/rmdel.1 \
|
||
|
$b/usr/share/man/man1/sact.1 \
|
||
|
$b/usr/share/man/man1/sccs-admin.1 \
|
||
|
$b/usr/share/man/man1/sccs-cdc.1 \
|
||
|
$b/usr/share/man/man1/sccs-comb.1 \
|
||
|
$b/usr/share/man/man1/sccs-cvt.1 \
|
||
|
$b/usr/share/man/man1/sccs-delta.1 \
|
||
|
$b/usr/share/man/man1/sccs-get.1 \
|
||
|
$b/usr/share/man/man1/sccs-help.1 \
|
||
|
$b/usr/share/man/man1/sccs-log.1 \
|
||
|
$b/usr/share/man/man1/sccs-prs.1 \
|
||
|
$b/usr/share/man/man1/sccs-prt.1 \
|
||
|
$b/usr/share/man/man1/sccs-rcs2sccs.1 \
|
||
|
$b/usr/share/man/man1/sccs-rmdel.1 \
|
||
|
$b/usr/share/man/man1/sccs-sact.1 \
|
||
|
$b/usr/share/man/man1/sccs-sccsdiff.1 \
|
||
|
$b/usr/share/man/man1/sccs-unget.1 \
|
||
|
$b/usr/share/man/man1/sccs-val.1 \
|
||
|
$b/usr/share/man/man1/sccs.1 \
|
||
|
$b/usr/share/man/man1/sccscvt.1 \
|
||
|
$b/usr/share/man/man1/sccsdiff.1 \
|
||
|
$b/usr/share/man/man1/sccslog.1 \
|
||
|
$b/usr/share/man/man1/sccspatch.1 \
|
||
|
$b/usr/share/man/man1/scgcheck.1 \
|
||
|
$b/usr/share/man/man1/scgskeleton.1 \
|
||
|
$b/usr/share/man/man1/scpio.1 \
|
||
|
$b/usr/share/man/man1/scut.1 \
|
||
|
$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/spax.1 \
|
||
|
$b/usr/share/man/man1/star.1 \
|
||
|
$b/usr/share/man/man1/star_sym.1 \
|
||
|
$b/usr/share/man/man1/strar.1 \
|
||
|
$b/usr/share/man/man1/suntar.1 \
|
||
|
$b/usr/share/man/man1/sysV-make.1 \
|
||
|
$b/usr/share/man/man1/tartest.1 \
|
||
|
$b/usr/share/man/man1/termcap.1 \
|
||
|
$b/usr/share/man/man1/translit.1 \
|
||
|
$b/usr/share/man/man1/udiff.1 \
|
||
|
$b/usr/share/man/man1/unget.1 \
|
||
|
$b/usr/share/man/man1/ustar.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 \
|
||
|
$b/usr/share/man/man5/makerules.5 \
|
||
|
$b/usr/share/man/man5/sccschangeset.5 \
|
||
|
$b/usr/share/man/man5/sccsfile.5 \
|
||
|
$b/usr/share/man/man5/star.5 \
|
||
|
$b/usr/share/man/man5/streamarchive.5 \
|
||
|
$b/usr/share/man/man8/sformat.8
|
||
|
|
||
|
|
||
|
# Remove documentation (will be added in %_datadir/doc/packages/*)
|
||
|
#rm -Rf "$b/%_datadir/doc"/*
|
||
|
|
||
|
%fdupes -s %buildroot/%_prefix
|
||
|
|
||
|
%post -n cdrecord
|
||
|
%set_permissions %_bindir/cdrecord
|
||
|
true
|
||
|
|
||
|
%post -n cdda2wav
|
||
|
%set_permissions %_bindir/cdda2wav
|
||
|
true
|
||
|
|
||
|
%post -n readcd
|
||
|
%set_permissions %_bindir/readcd
|
||
|
true
|
||
|
|
||
|
%post -n libcdrdeflt1_0 -p /sbin/ldconfig
|
||
|
%postun -n libcdrdeflt1_0 -p /sbin/ldconfig
|
||
|
%post -n libdeflt1_0 -p /sbin/ldconfig
|
||
|
%postun -n libdeflt1_0 -p /sbin/ldconfig
|
||
|
%post -n libedc_ecc1_0 -p /sbin/ldconfig
|
||
|
%postun -n libedc_ecc1_0 -p /sbin/ldconfig
|
||
|
%post -n libedc_ecc_dec1_0 -p /sbin/ldconfig
|
||
|
%postun -n libedc_ecc_dec1_0 -p /sbin/ldconfig
|
||
|
%post -n libfile1_0 -p /sbin/ldconfig
|
||
|
%postun -n libfile1_0 -p /sbin/ldconfig
|
||
|
%post -n libfind1_0 -p /sbin/ldconfig
|
||
|
%postun -n libfind1_0 -p /sbin/ldconfig
|
||
|
%post -n libhfs1_0 -p /sbin/ldconfig
|
||
|
%postun -n libhfs1_0 -p /sbin/ldconfig
|
||
|
%post -n libparanoia1_0 -p /sbin/ldconfig
|
||
|
%postun -n libparanoia1_0 -p /sbin/ldconfig
|
||
|
%post -n librmt1_0 -p /sbin/ldconfig
|
||
|
%postun -n librmt1_0 -p /sbin/ldconfig
|
||
|
%post -n librscg1_0 -p /sbin/ldconfig
|
||
|
%postun -n librscg1_0 -p /sbin/ldconfig
|
||
|
%post -n libscg1_0 -p /sbin/ldconfig
|
||
|
%postun -n libscg1_0 -p /sbin/ldconfig
|
||
|
%post -n libscgcmd1_0 -p /sbin/ldconfig
|
||
|
%postun -n libscgcmd1_0 -p /sbin/ldconfig
|
||
|
%post -n libschily1_0 -p /sbin/ldconfig
|
||
|
%postun -n libschily1_0 -p /sbin/ldconfig
|
||
|
|
||
|
%verifyscript -n cdrecord
|
||
|
%{verify_permissions -e %_bindir/cdrecord}
|
||
|
|
||
|
%verifyscript -n cdda2wav
|
||
|
%{verify_permissions -e %_bindir/cdda2wav}
|
||
|
|
||
|
%verifyscript -n readcd
|
||
|
%{verify_permissions -e %_bindir/readcd}
|
||
|
|
||
|
%files -n bosh
|
||
|
%license CDDL.Schily.txt
|
||
|
%_bindir/bosh
|
||
|
%_bindir/jsh
|
||
|
%_bindir/pfsh
|
||
|
%_mandir/man1/bosh.1*
|
||
|
%_mandir/man1/jsh.1*
|
||
|
%_mandir/man1/pfsh.1*
|
||
|
|
||
|
%files -n btcflash
|
||
|
%license CDDL.Schily.txt COPYING
|
||
|
%_bindir/btcflash
|
||
|
%_mandir/man1/btcflash.1*
|
||
|
|
||
|
%files -n cdda2wav
|
||
|
%defattr(-,root,root)
|
||
|
%license CDDL.Schily.txt
|
||
|
%doc cdda2wav/Changelog cdda2wav/FAQ cdda2wav/Frontends cdda2wav/HOWTOUSE
|
||
|
%doc cdda2wav/NEEDED cdda2wav/README cdda2wav/THANKS cdda2wav/TODO
|
||
|
%doc cdda2wav/tracknames.txt
|
||
|
%_bindir/cdda2mp3
|
||
|
%_bindir/cdda2mp3.new
|
||
|
%_bindir/cdda2ogg
|
||
|
%attr(0755,root,root) %verify(not mode caps) %_bindir/cdda2wav
|
||
|
%_bindir/inf2cdtext.pl
|
||
|
%_bindir/list_audio_tracks
|
||
|
%_bindir/pitchplay
|
||
|
%_bindir/readmult
|
||
|
%_bindir/tracknames.pl
|
||
|
%_mandir/man1/cdda2mp3.1*
|
||
|
%_mandir/man1/cdda2ogg.1*
|
||
|
%_mandir/man1/cdda2wav.1*
|
||
|
|
||
|
%files -n cdrecord
|
||
|
%defattr(-,root,root)
|
||
|
%license CDDL.Schily.txt cdrecord/COPYING
|
||
|
%doc cdrecord/README*
|
||
|
%config %_sysconfdir/default/cdrecord
|
||
|
%verify(not mode caps) %attr(0755,root,root) %_bindir/cdrecord
|
||
|
%_mandir/man1/cdrecord.1*
|
||
|
|
||
|
%files -n libcdrdeflt1_0
|
||
|
%license CDDL.Schily.txt
|
||
|
%_libdir/libcdrdeflt.so.1.0
|
||
|
|
||
|
%files -n libdeflt1_0
|
||
|
%license CDDL.Schily.txt
|
||
|
%_libdir/libdeflt.so.1.0
|
||
|
|
||
|
%files -n libedc_ecc1_0
|
||
|
%license CDDL.Schily.txt
|
||
|
%_libdir/libedc_ecc.so.1.0
|
||
|
|
||
|
%files -n libedc_ecc_dec1_0
|
||
|
%license CDDL.Schily.txt
|
||
|
%_libdir/libedc_ecc_dec.so.1.0
|
||
|
|
||
|
%files -n libfile1_0
|
||
|
%license libfile/LEGAL.NOTICE
|
||
|
%_libdir/libfile.so.1.0
|
||
|
|
||
|
%files -n libfind1_0
|
||
|
%license CDDL.Schily.txt
|
||
|
%_libdir/libfind.so.1.0
|
||
|
|
||
|
%files -n libhfs1_0
|
||
|
%license libhfs_iso/README
|
||
|
%_libdir/libhfs.so.1.0
|
||
|
|
||
|
%files -n libparanoia1_0
|
||
|
%license libparanoia/LICENSE
|
||
|
%doc libparanoia/README*
|
||
|
%_libdir/libparanoia.so.1.0
|
||
|
|
||
|
%files -n librmt1_0
|
||
|
%license CDDL.Schily.txt
|
||
|
%_libdir/librmt.so.1.0
|
||
|
|
||
|
%files -n librmt-devel-doc
|
||
|
%_mandir/man3/librmt.3*
|
||
|
%_mandir/man3/mtg2rmtg.3*
|
||
|
%_mandir/man3/rmt*.3*
|
||
|
|
||
|
%files -n librscg1_0
|
||
|
%license CDDL.Schily.txt
|
||
|
%_libdir/librscg.so.1.0
|
||
|
|
||
|
%files -n libscg1_0
|
||
|
%license CDDL.Schily.txt
|
||
|
%_libdir/libscg.so.1.0
|
||
|
|
||
|
%files -n libscgcmd1_0
|
||
|
%license CDDL.Schily.txt
|
||
|
%_libdir/libscgcmd.so.1.0
|
||
|
|
||
|
%files -n libscg-devel
|
||
|
%_includedir/scg/
|
||
|
%_libdir/librscg.so
|
||
|
%_libdir/libscg.so
|
||
|
%_libdir/libscgcmd.so
|
||
|
|
||
|
%files -n libschily1_0
|
||
|
%license CDDL.Schily.txt
|
||
|
%_libdir/libschily.so.1.0
|
||
|
|
||
|
%files -n libschily-devel
|
||
|
%_includedir/schily/
|
||
|
%_libdir/libcdrdeflt.so
|
||
|
%_libdir/libdeflt.so
|
||
|
%_libdir/libedc_ecc.so
|
||
|
%_libdir/libedc_ecc_dec.so
|
||
|
%_libdir/libfile.so
|
||
|
%_libdir/libfind.so
|
||
|
%_libdir/libhfs.so
|
||
|
%_libdir/librmt.so
|
||
|
%_libdir/libschily.so
|
||
|
|
||
|
%files -n libschily-devel-doc
|
||
|
%_mandir/man3/absfpath.3*
|
||
|
%_mandir/man3/absnpath.3*
|
||
|
%_mandir/man3/abspath.3*
|
||
|
%_mandir/man3/astoi.3*
|
||
|
%_mandir/man3/astol.3*
|
||
|
%_mandir/man3/breakline.3*
|
||
|
%_mandir/man3/cmpbytes.3*
|
||
|
%_mandir/man3/comerr.3*
|
||
|
%_mandir/man3/comerrno.3*
|
||
|
%_mandir/man3/errmsg.3*
|
||
|
%_mandir/man3/errmsgno.3*
|
||
|
%exclude %_mandir/man3/error.3*
|
||
|
%_mandir/man3/fdown.3*
|
||
|
%_mandir/man3/fdup.3*
|
||
|
%_mandir/man3/fexecl.3*
|
||
|
%_mandir/man3/fexecle.3*
|
||
|
%_mandir/man3/fexecv.3*
|
||
|
%exclude %_mandir/man3/fexecve.3*
|
||
|
%_mandir/man3/fgetline.3*
|
||
|
%_mandir/man3/file_raise.3*
|
||
|
%_mandir/man3/fileclose.3*
|
||
|
%_mandir/man3/fileluopen.3*
|
||
|
%_mandir/man3/fileopen.3*
|
||
|
%_mandir/man3/filepos.3*
|
||
|
%_mandir/man3/fileread.3*
|
||
|
%_mandir/man3/filereopen.3*
|
||
|
%_mandir/man3/fileseek.3*
|
||
|
%_mandir/man3/filesize.3*
|
||
|
%_mandir/man3/filestat.3*
|
||
|
%_mandir/man3/filewrite.3*
|
||
|
%_mandir/man3/findline.3*
|
||
|
%_mandir/man3/flush.3*
|
||
|
%exclude %_mandir/man3/fnmatch.3*
|
||
|
%_mandir/man3/format.3*
|
||
|
%_mandir/man3/fpipe.3*
|
||
|
%exclude %_mandir/man3/fprintf.3*
|
||
|
%_mandir/man3/getallargs.3*
|
||
|
%_mandir/man3/getargs.3*
|
||
|
%_mandir/man3/geterrno.3*
|
||
|
%_mandir/man3/getfiles.3*
|
||
|
%exclude %_mandir/man3/getline.3*
|
||
|
%_mandir/man3/handlecond.3*
|
||
|
%_mandir/man3/movebytes.3*
|
||
|
%_mandir/man3/ofindline.3*
|
||
|
%_mandir/man3/patcompile.3*
|
||
|
%_mandir/man3/patmatch.3*
|
||
|
%_mandir/man3/peekc.3*
|
||
|
%exclude %_mandir/man3/printf.3*
|
||
|
%_mandir/man3/raisecond.3*
|
||
|
%_mandir/man3/resolvefpath.3*
|
||
|
%_mandir/man3/resolvenpath.3*
|
||
|
%_mandir/man3/resolvepath.3*
|
||
|
%_mandir/man3/spawnl.3*
|
||
|
%_mandir/man3/spawnv.3*
|
||
|
%exclude %_mandir/man3/sprintf.3*
|
||
|
%_mandir/man3/strcatl.3*
|
||
|
%_mandir/man3/streql.3*
|
||
|
%exclude %_mandir/man3/strlen.3*
|
||
|
|
||
|
%files -n mkisofs
|
||
|
%defattr(-,root,root)
|
||
|
%license mkisofs/COPYING
|
||
|
%doc mkisofs/ChangeLog mkisofs/ChangeLog.mkhybrid mkisofs/README*
|
||
|
%doc mkisofs/RELEASE
|
||
|
%_bindir/devdump
|
||
|
%_bindir/hdisk.pl
|
||
|
%_bindir/isodebug
|
||
|
%_bindir/isodump
|
||
|
%_bindir/isoinfo
|
||
|
%_bindir/isovfy
|
||
|
%_bindir/mkhybrid
|
||
|
%_bindir/mkisofs
|
||
|
%_mandir/man8/devdump.8*
|
||
|
%_mandir/man8/isodebug.8*
|
||
|
%_mandir/man8/isodump.8*
|
||
|
%_mandir/man8/isoinfo.8*
|
||
|
%_mandir/man8/isovfy.8*
|
||
|
%_mandir/man8/mkhybrid.8*
|
||
|
%_mandir/man8/mkisofs.8*
|
||
|
|
||
|
%files -n readcd
|
||
|
%license CDDL.Schily.txt
|
||
|
%_bindir/readcd
|
||
|
%_mandir/man1/readcd.1*
|
||
|
|
||
|
%files -n rscsi
|
||
|
%license CDDL.Schily.txt
|
||
|
%config %_sysconfdir/default/rscsi
|
||
|
%_docdir/rscsi/
|
||
|
%_sbindir/rscsi
|
||
|
%_mandir/man1/rscsi.1*
|
||
|
|
||
|
%files -n schily-mt
|
||
|
%_bindir/mt
|
||
|
%_bindir/smt
|
||
|
%_mandir/man1/mt.1*
|
||
|
%_mandir/man1/smt.1*
|
||
|
|
||
|
%files -n schily-rmt
|
||
|
%license CDDL.Schily.txt
|
||
|
%config %_sysconfdir/default/rmt
|
||
|
%_docdir/rmt/
|
||
|
%_sbindir/rmt
|
||
|
%_mandir/man1/rmt.1*
|
||
|
|
||
|
%changelog
|