commit 9e7e1fa33b9a0c7c3fc8818a3c156592798c6377754d9c554de2404ccbc0be2e Author: Michael Vetter Date: Wed Mar 28 09:49:48 2018 +0000 Accepting request 591704 from home:jengelh:dev OBS-URL: https://build.opensuse.org/request/show/591704 OBS-URL: https://build.opensuse.org/package/show/utilities/schily?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/gcc48wa.diff b/gcc48wa.diff new file mode 100644 index 0000000..edd1a07 --- /dev/null +++ b/gcc48wa.diff @@ -0,0 +1,87 @@ +From: Jan Engelhardt +Date: 2013-11-14 02:36:58.866260522 +0100 +References: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59125 + +build: workaround a gcc-4.8 bug + +Add memset to clear the entire buffer beforehand. Then, use memcpy, +which is equally good given that the size of all strings is known. + +--- + cdrecord/scsi_cdr.c | 21 ++++++++++----------- + 1 file changed, 10 insertions(+), 11 deletions(-) + +Index: cdrtools-3.01/cdrecord/scsi_cdr.c +=================================================================== +--- cdrtools-3.01.orig/cdrecord/scsi_cdr.c ++++ cdrtools-3.01/cdrecord/scsi_cdr.c +@@ -2282,14 +2282,13 @@ getdev(scgp, print) + printf("\n"); + } + ++ memset(vendor_info, '\0', sizeof(vendor_info)); ++ memset(prod_ident, '\0', sizeof(prod_ident)); ++ memset(prod_revision, '\0', sizeof(prod_revision)); + strncpy(vendor_info, inq->inq_vendor_info, sizeof (inq->inq_vendor_info)); + strncpy(prod_ident, inq->inq_prod_ident, sizeof (inq->inq_prod_ident)); + strncpy(prod_revision, inq->inq_prod_revision, sizeof (inq->inq_prod_revision)); + +- vendor_info[sizeof (inq->inq_vendor_info)] = '\0'; +- prod_ident[sizeof (inq->inq_prod_ident)] = '\0'; +- prod_revision[sizeof (inq->inq_prod_revision)] = '\0'; +- + switch (inq->type) { + + case INQ_DASD: +@@ -2316,29 +2315,29 @@ getdev(scgp, print) + if (inq->add_len == 0) { + if (scgp->dev == DEV_UNKNOWN && got_inquiry) { + scgp->dev = DEV_ACB5500; +- strncpy(inq->inq_info_space, ++ memcpy(inq->inq_info_space, + "ADAPTEC ACB-5500 FAKE", + sizeof (inq->inq_info_space)); + + } else switch (scgp->dev) { + + case DEV_ACB40X0: +- strncpy(inq->inq_info_space, ++ memcpy(inq->inq_info_space, + "ADAPTEC ACB-40X0 FAKE", + sizeof (inq->inq_info_space)); + break; + case DEV_ACB4000: +- strncpy(inq->inq_info_space, ++ memcpy(inq->inq_info_space, + "ADAPTEC ACB-4000 FAKE", + sizeof (inq->inq_info_space)); + break; + case DEV_ACB4010: +- strncpy(inq->inq_info_space, ++ memcpy(inq->inq_info_space, + "ADAPTEC ACB-4010 FAKE", + sizeof (inq->inq_info_space)); + break; + case DEV_ACB4070: +- strncpy(inq->inq_info_space, ++ memcpy(inq->inq_info_space, + "ADAPTEC ACB-4070 FAKE", + sizeof (inq->inq_info_space)); + break; +@@ -2370,14 +2369,14 @@ getdev(scgp, print) + + case INQ_SEQD: + if (scgp->dev == DEV_SC4000) { +- strncpy(inq->inq_info_space, ++ memcpy(inq->inq_info_space, + "SYSGEN SC4000 FAKE", + sizeof (inq->inq_info_space)); + } else if (inq->add_len == 0 && + inq->removable && + inq->ansi_version == 1) { + scgp->dev = DEV_MT02; +- strncpy(inq->inq_info_space, ++ memcpy(inq->inq_info_space, + "EMULEX MT02 FAKE", + sizeof (inq->inq_info_space)); + } diff --git a/schily-2018-03-16.tar.bz2 b/schily-2018-03-16.tar.bz2 new file mode 100644 index 0000000..b9e5ba3 --- /dev/null +++ b/schily-2018-03-16.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b92bfe7aa587514aaea28e063564433ecd68df051b9acd9fa3e4d5c52d4794a +size 4210963 diff --git a/schily.changes b/schily.changes new file mode 100644 index 0000000..9560398 --- /dev/null +++ b/schily.changes @@ -0,0 +1,532 @@ +------------------------------------------------------------------- +Thu Mar 22 19:36:39 UTC 2018 - jengelh@inai.de + +- Move to schily-2018.03.16 source tarball + * mkisofs and smake moved their config files to /usr/share/lib. + * smake: when an implicit target is made, the result is now + searched in the list of obj-directories. +- Drop fix_chrp_boot.patch (applied upstream) +- Use cdrecord.spec as a base for schily.spec. The subsequent + changelog entries are from cdrecord.changes. + +------------------------------------------------------------------- +Mon Mar 12 12:01:57 UTC 2018 - adam.majer@suse.de + +- fix_chrp_boot.patch: chrp-boot option doesn't take any parameters + but seems to require one that it doesn't use. Fix it uses no + parameters. (bnc#1084893) +- Always install to /usr/lib/siconv since otherwise mkisofs doesn't + find charsets. Needs to be fixed properly later. (bnc#1084892) + +------------------------------------------------------------------- +Thu Dec 14 11:22:32 UTC 2017 - jengelh@inai.de + +- Update to new upstream release 3.02~a09 + * Cdda2wav now works around a Linux glibc bug that causes stderr + to be illegally buffered. + * `cdda2wav -vall` no longer clobbers out-fd= to become stdin + when compiled in 64 bit mode. + +------------------------------------------------------------------- +Thu May 11 20:34:15 UTC 2017 - adaugherity@tamu.edu + +- Fix build on older distros (e.g. SLE11) -- no caps support in RPM +- Remove build dependency on mmv (not present on SLE, and its usage + is easily replaced with a small shell script). +- Fix build on older distros (makedepend) + +------------------------------------------------------------------- +Wed Dec 28 23:14:42 UTC 2016 - jengelh@inai.de + +- Update to new upstream release 3.02~a07 +* mkisofs: deduplication for files) + +------------------------------------------------------------------- +Thu Jan 28 23:40:24 UTC 2016 - jengelh@inai.de + +- Update to new upstream release 3.02~a06 +* libscg: fixed a copy/paste problem in the Linux transport that + could cause libscg to assume a timeout when no timeout occurred. +* libscg: add a new generic option interface. +* libscg: New option "ignore-resid" to work around a Linux kernel + problem. +* mkisofs: better warning messages for rotten directories when in + multi-session mode. + +------------------------------------------------------------------- +Thu Dec 31 23:29:41 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 3.02~a05 +* mkisofs now tries to be more immune against rotten iso images + when in multi session mode. +* mkisofs no longer tries to access a string past the null byte + when dealing with Joliet. +* mkisofs fixed a bug related to sorting with multi extent files + (greater than 4 GB). + +------------------------------------------------------------------- +Wed Dec 16 23:39:50 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 3.02~a04 +* Support for DVD-Audio was added to mkisofs. +* Several bug fixes in mkisofs and mkisofs/diag/* programs to make + them more robust against rotten ISO images. + +------------------------------------------------------------------- +Wed Dec 2 16:41:26 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 3.02~a03 +* isoinfo no longer eats up all memory when an ISO image + with a directory loop is specified. + +------------------------------------------------------------------- +Fri Nov 20 23:23:59 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 3.02~a02 +* Many smaller "isoinfo" enhancements including support for + relocated directories. + +------------------------------------------------------------------- +Fri Nov 6 09:29:41 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 3.02~a01 +* libparanoia: work around a bug that resulted from uninitalized + statistics data for C2 checks. +* cdda2wav now supports sound output on Linux again. + +------------------------------------------------------------------- +Sun Aug 30 11:29:42 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 3.01 +* Final version + +------------------------------------------------------------------- +Wed Aug 5 07:49:48 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 3.01~a31 +* Added compile support for Win-10 using non-automake-aware make + implementations. Add some workarounds for MinGW32 compilation. + +------------------------------------------------------------------- +Wed Jul 8 07:40:11 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 3.01~a30 +* Added a workaround (with autoconf) for a Cygwin bug with + #pragma weak. + +------------------------------------------------------------------- +Thu Jun 4 23:05:39 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 3.01~a29 +* (Several changes for better Haiku compatibility.) +* Some code fixes include results from automated tests. + +------------------------------------------------------------------- +Wed Mar 25 11:24:07 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 3.01~a28 +* Build system changes only: manpages are installed just once + +------------------------------------------------------------------- +Thu Feb 19 20:32:14 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 3.01~a27 +* dlopen emulation for certain platforms + +------------------------------------------------------------------- +Fri Jan 9 20:29:24 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 3.01~a26 +* Add the HELIOS UNICODE mapping code. This needs to be done at + UCS-2 level for Joliet and UDF (instead of UTF-8) and only for + Rock Ridge (in case of a UTF-8 based target locale) using UTF-8 + based translations. +* Make the Apple extensions work again with "mkisofs -find" + +------------------------------------------------------------------- +Thu Dec 4 12:49:13 UTC 2014 - meissner@suse.com + +- run permission handling code unconditionally. bnc#899718 + +------------------------------------------------------------------- +Sat Nov 29 23:42:11 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 3.01~a25 +* Precursory work for localization +- Run spec-beautifier for spec files +- Reenable missing capability support [bnc#899718] + +------------------------------------------------------------------- +Mon Sep 22 22:34:31 UTC 2014 - jengelh@inai.de + +- Update package metadata: new upstream URLs +- Remove untracked old changes file + +------------------------------------------------------------------- +Wed May 7 14:12:00 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 3.01~a24 +* isoinfo now allows the user to extract all files from an ISO + image based on the built-in find(1) command. This works even for + milti-extent files (files > 4 GB). +* Some enhancements for the libschily *at() function emulations + have been added. + +------------------------------------------------------------------- +Wed Mar 5 02:47:25 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 3.01~a23 +* Cdrecord now prints timediffs also in hours:minutes:seconds. +* Cdda2wav no longer includes "c2check" in the "proof" paranoia + option to avoid a firmware bug in a TSSTcorp drive. +* Mkisofs has slightly-reduced CPU time requirements. +* A problem in isoinfo has been fixed; it did not always print + timestamps in `-find -ls` mode. + +------------------------------------------------------------------- +Tue Jan 21 09:47:08 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 3.01~a22 +* mkisofs includes a new option, -legacy, that allows it to + reenable the short options -H/-L/-P; these have been disabled in + 2006 for compatibility with scripts that have not been updated + during the past 10 years. +* libsiconv now only tries to open a file when the argument + includes a slash in its name. +* libschily::printf() now includes support for %n$ argument + reordering for the first 30 arguments. +- Drop ppc64le.patch (merged upstream) + +------------------------------------------------------------------- +Mon Jan 6 02:59:40 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 3.01~a21 +* This release adds some workarounds for compiling with MinGW. New + functions xcomerr(), xcomerrno(), fxcomerr(), and fxcomerrno() in + libschily. A bug in libschily/format.c that caused %.*s to be + printed incorrectly has been fixed. Some bugs in the mkisofs man + page have been fixed. + +------------------------------------------------------------------- +Thu Jan 2 11:10:24 UTC 2014 - dvaleev@suse.com + +- enable ppc64le architecture (ppc64le.patch) + +------------------------------------------------------------------- +Thu Dec 26 21:43:53 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 3.01~a20 +* libparanoia and cdda2wav have been enhanced to give much better + results with slightly bad media and new hardware. +- Enable symbol versions + +------------------------------------------------------------------- +Tue Dec 3 15:15:47 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 3.01~a19 +* This release added different fine-grained privilege handling that + keeps root privileges in cases where cdrtools have been called by + a privileged program. +* Libfind now supports "event port" type files. +* Emulations for *at() functions have been added to libschily. +- Mark the mkisofs program (combined work) as GPL-2.0 due to + some GPL2-only sources (mkisofs/inode.c). + +------------------------------------------------------------------- +Thu Nov 14 02:15:36 UTC 2013 - jengelh@inai.de + +- Add gcc48wa.diff to work around broken gcc-4.8 behavior + +------------------------------------------------------------------- +Tue Oct 15 00:23:51 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 3.01a18 +* This release fixes a copy+paste bug in the Linux support code for + fine-grained privileges. +* Libfind no longer leaks filedescriptors with -empty. + +------------------------------------------------------------------- +Fri Oct 4 16:44:03 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 3.01a17 +* Automatic support has been added for ARMv5 and ARMv6. + +------------------------------------------------------------------- +Thu Jul 11 09:44:32 CEST 2013 - zawel1@gmail.com + +- Update to 3.01a16 + * libparanoia: memset() call in i_silence_match() now uses the + correct size instead of sizeof (avec) + * libparanoia: Use dynamic arrays instead of alloca()/malloc() + if available + +------------------------------------------------------------------- +Thu Jun 6 19:04:03 UTC 2013 - jengelh@inai.de + +- Update BuildRequires, add License: fields, use %optflags, update + descriptions and wrap at 70 cols +- Remove unused static libraries and dissolve devel subpackage + (now provided by libschily-devel, libscg-devel) + +------------------------------------------------------------------- +Mon Jun 3 21:42:52 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 3.01~a15 +* This release warns about lack of fine-grained permissions +- Temporarily deactivate extra permissions for factory submission + while permissions package is not updated + +------------------------------------------------------------------- +Tue May 14 12:58:54 UTC 2013 - jengelh@inai.de + +- Add cdda2wav.{easy,paranoid,secure}. permissions.d entries need + to be in the same package as the file they are describing, or we + get errors during post-build verification. +- Use tildeversion; according to author, 3.01a14 sorts before 3.01 +- Resync caps list from permissions.d files to .spec file + +------------------------------------------------------------------- +Sun May 5 19:40:01 UTC 2013 - meissner@suse.com + +- actually fscaps are also managed by "permissions", leave the + %set_permissions calls in. +- reenabled the sample permission snippets for testing. + +------------------------------------------------------------------- +Sat May 4 12:01:58 UTC 2013 - jengelh@inai.de + +- Do not run set_permissions when fscaps are in use + +------------------------------------------------------------------- +Sat May 4 08:26:48 UTC 2013 - meissner@suse.com + +- commented out the setuid root equivalent capabilities, cap_sys_admin + and cap_dac_override. (bnc#550021) +- commented out unnecessary and also dangerous cap_net_bind_service + (bnc#550021) +- add correct permission handling also for readcd and cdda2wav + +------------------------------------------------------------------- +Fri May 3 16:39:11 UTC 2013 - jengelh@inai.de + +- Linux fscaps support in the RPM package (bnc#550021) + +------------------------------------------------------------------- +Fri May 3 09:14:45 UTC 2013 - davejplater@gmail.com + +- Commented out permissions.d files and + ran spec cleaner. + +------------------------------------------------------------------- +Mon Apr 22 16:00:38 CEST 2013 - zawel1@gmail.com + +- Update to 3.01a14 + * new autoconf tests for sys/capability.h and cap_*() functions + from Linux -lcap + * trying to support suid-root-less installation of cdrecord on Linux. + NOTE: You need "file caps" support built into your Linux installation. + * include/schily/stat.h now contains macros to set the nanoseconds + in timestamps in a OS independent way + * mkisofs now identifies itdelf by default (inside the APPID string) + as being UDF capable. + * mkisofs now supports additional file types with UDF: named pipes, + sockets, character devices, block devices + * mkisofs now supports all three UNIX times with microsecond granularity + in UDF + * mkisofs now sets correct user/group/permission for symlinks in UDF + * mkisofs now supports setuid, setgid, sticky bits in UDF + +------------------------------------------------------------------- +Tue Apr 2 19:10:20 UTC 2013 - jengelh@inai.de + +- Dissolve Obsoletes cycle between cdrkit (source package "wodim") + and cdrtools. Conflict tags have been submitted to cdrkit. + +------------------------------------------------------------------- +Tue Feb 12 15:12:07 CEST 2013 - zawel1@gmail.com + +- Update to 3.01a12 + * mkisofs: mkisofs now reserves more space for the file names + to avoid a path buffer overrun + * mkisofs: fixed a bug that caused to put more than one UDF + direcory entry for a file in case that the file is a ISO-0660 + multi-segment file. + * mkisofs: fixed a bug that caused the wrong start sector address + to be used for UDF in case that the file is a ISO-9660 + multi-segment file and the -sort option was used. + * libschily: libschily::fexecv() now allows to use the parameter + "ac" with the value -1 to indicate that the arg count is to be + determined by the NULL pointer at the end of the arg list + * new include files include/schily/err_*.h are used to + encapsulate #error CPP statements that would otherwise always + prevent compilation with K&R compilers + * mkisofs: new option -ignore-error alows to continue on some + errors + * mkisofs: Avoid a 32 bit integer overflow while computing sector + addresses for Rock Ridge CE entries + +------------------------------------------------------------------- +Mon Oct 1 11:18:20 CEST 2012 - zawel1@gmail.com + +- Update to 3.01a08 + * introduce a dependency for man page subdirectories to allow + syncing parallel make calls. + * libschily: getperm.c now correctly supports umask +w + * libscg & cdrecord: struct scsi_inquiry is now using a union + around the vendor ID strings in order to avoid incorrect buffer + overflow warnings from GCC-4.x + * mkisofs: while introducing the new option -modification-date, + we did accidently remove the code to set up the creation date + in te PVD. Now creation date again contains correct data. + +------------------------------------------------------------------- +Tue Mar 27 16:14:24 UTC 2012 - davejplater@gmail.com + +- Update to version 3.01a07 Fixed non position independant build of + cdrecord with "COPTX=-fPIE" and "LDOPTX=-pie -Wl,-pie" + +------------------------------------------------------------------- +Mon Dec 26 07:25:42 UTC 2011 - hnch@gmx.net + +- Disabled parallel build. + +------------------------------------------------------------------- +Mon Dec 26 06:54:14 UTC 2011 - hnch@gmx.net + +- Update to 3.01a06. + +------------------------------------------------------------------- +Tue Jun 7 11:21:46 UTC 2011 - davejplater@gmail.com + +- Update to 3.01a05 via source service. + +------------------------------------------------------------------- +Wed Apr 6 21:34:32 UTC 2011 - davejplater@gmail.com + +- Fixed provides, obsoletes and requires to stop cdrtools from + requiring packages from wodim. + +------------------------------------------------------------------- +Sat Apr 2 17:24:01 UTC 2011 - asterios.dramis@gmail.com + +- Updated to 3.00 +- Spec file updates: + * Changed the Name: entry to cdrtools and added cdrecord as a subpackage. + * Changes based on rpmdevtools templates and spec-cleaner run. + * Updates in Summary: and %description sections. + * Removed meta package schily-cdrtools and used the main package for + cdrkit-cdrtools-compat removal. + * Added Conflicts: for cdda2wav and mkisofs (with icedax and genisoimage + respectively). + * Use smp_flags with make. + * Updates in %install section. Most important: + # Remove installed documentation and install it manually in the %files + sections. + # Install additional programs. + # Don't run fdupes in /etc/permissions.d/ (some may want to have different + contents in each file). + * Updates in %files sections. + * Removed the %changelog entries from the spec file. + +------------------------------------------------------------------- +Sat Feb 12 11:49:41 UTC 2011 - hnch@gmx.net + +- A lot of cleanup fixes in the spec file, e.g. corrected paths, + added debuginfo. Thanks to Křištof Želechovski for the patches. + +------------------------------------------------------------------- +Fri Nov 26 08:28:56 UTC 2010 - hnch@gmx.net + +- Small fixes to satisfy rpmlint. + +------------------------------------------------------------------- +Fri Nov 26 08:05:56 UTC 2010 - hnch@gmx.net + +- Updated to 3.01a01 + +------------------------------------------------------------------- +Wed Jun 2 09:37:28 UTC 2010 - hnch@gmx.net + +- Updated to final 3.00 + +------------------------------------------------------------------- +Thu Apr 15 11:10:18 CEST 2010 - dmueller@suse.de + +- fix requires(pre) -> requires(post) + +------------------------------------------------------------------- +Fri Apr 9 07:09:03 UTC 2010 - hnch@gmx.net + +- Reinstalled Prerequisites as Requires(pre) + +------------------------------------------------------------------- +Tue Apr 6 09:56:40 UTC 2010 - hnch@gmx.net + +- Updated to 2.01.01a77 + +------------------------------------------------------------------- +Tue Feb 2 09:27:07 CET 2010 - hnch@gmx.net + +- Updated to 2.01.01a74 + +------------------------------------------------------------------- +Mon Jan 11 14:12:51 CET 2010 - hnch@gmx.net + +- Updated to 2.01.01a72 + +------------------------------------------------------------------- +Tue Jan 5 16:32:18 CET 2010 - meissner@suse.de + +- disable the permissions override + +------------------------------------------------------------------- +Tue Dec 29 09:56:45 CET 2009 - hnch@gmx.net + +- Updated to 2.01.01a70 + +------------------------------------------------------------------- +Tue Dec 1 09:59:23 CET 2009 - hnch@gmx.net + +- Updated to 2.01.01a69 + +------------------------------------------------------------------- +Fri Nov 20 08:20:33 CET 2009 - hnch@gmx.net + +- Updated to 2.01.01a68 + +------------------------------------------------------------------- +Wed Nov 4 20:01:16 CET 2009 - hnch@gmx.net + +- removed /etc/permissions.d/ entries for readcd, rscsi and cdda2wav again + +------------------------------------------------------------------- +Mon Nov 2 16:10:44 CET 2009 - hnch@gmx.net + +- removed conflicting Provides: from schily-cdrtools package + +------------------------------------------------------------------- +Mon Nov 2 14:10:20 CET 2009 - hnch@gmx.net + +- Updated to a67 +- added /etc/permissions.d/ entries for readcd, rscsi and cdda2wav as well + +------------------------------------------------------------------- +Mon Oct 26 14:39:26 CET 2009 - hnch@gmx.net + +- Once again permissions.d/ files, fixed spec file. + +------------------------------------------------------------------- +Mon Oct 26 14:16:14 CET 2009 - hnch@gmx.net + +- Fixed wrong naming of permissions.d/ files. + +------------------------------------------------------------------- +Sun Oct 25 17:45:36 CET 2009 - meissner@suse.de + +- import from henneodernich home repo +- removed up %post illegal operation and instead drop in permission.d snippets + 4711 in easy mode, 0711 in secure and paranoid modes. + added rpmlintrc to allow this temporarily +- removed unused obsoletes +- conflict with cdrkit-cdrtools-compat instead of obsoletes +- alsa-devel buildrequires diff --git a/schily.spec b/schily.spec new file mode 100644 index 0000000..5da638b --- /dev/null +++ b/schily.spec @@ -0,0 +1,922 @@ +# +# 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