Files
libisoburn/libisoburn.spec
Adam Majer 0d8edebc5e - update to 1.5.6: (jsc#PED-5018)
* Bug fix: False -status failure with -boot_image --interval:appended_partition
  * Bug fix: -no_rc prevented pre-scanning of arguments for stdio output and
             others. Introduced by mistake in a62f6af5, 2011.10.18.162119.
  * Bug fix: -not_leaf and -not_paths were not applied to -extract and alike
  * Bug fix: -report_system_area cmd misperceived -part_like_isohybrid with
             -isohybrid-gpt-basdat
  * Bug fix: -report_system_area cmd misperceived combination of isohybrid and
             appended partition in GPT
  * Bug fix: -as mkisofs option -part_like_isohybrid did not cause a MBR
             partition table if the partitions are data files in the ISO
             rather than appended
  * Bug fix: Split file directories (-split_size) were created with wrong
             permissions
  * Bug fix: libisofs did not mark clones of imported files as imported.
             This could cause that original and clone occupy data storage
             in the newly written session. Thanks to Ivan Shmakov.
  * Bug fix: Partition offset was preserved from -indev rather than from -outdev
  * Bug fix: libisofs could misrepresent Rock Ridge information if many
             symbolic links or AAIP data were recorded in a directory
  * Bug fix: Data files named /boot.catalog or ./boot.cat could be left out of
             the emerging ISO if the boot catalog was set to be hidden
  * Bug fix: -toc reported wrong track LBA with overwritable media with
             unrecognized content (pseudo-closed)
  * Bug fix: -find test -has_xattr matched "isofs." attributes
             in -xattr mode "any"
  * New API call isoburn_assess_written_features()
  * New API calls isoburn_igopt_set_max_ce_entries(),
    isoburn_igopt_get_max_ce_entries()
  * New flag bit12 with isoburn_read_iso_head():

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libisoburn?expand=0&rev=23
2023-08-30 12:57:54 +00:00

192 lines
6.8 KiB
RPMSpec

#
# spec file for package libisoburn
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define so_ver 1
Name: libisoburn
Version: 1.5.6
Release: 0
Summary: Frontend for libburn and libisofs
License: GPL-2.0-or-later
Group: Productivity/Multimedia/CD/Record
URL: https://libburnia-project.org/
Source0: https://files.libburnia-project.org/releases/%{name}-%{version}.tar.gz
Source1: https://files.libburnia-project.org/releases/%{name}-%{version}.tar.gz.sig
# keyring from https://dev.lovelyhq.com/libburnia/web/wiki/Releases
Source10: keyring.asc
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: libacl-devel
BuildRequires: libburn-devel
BuildRequires: libisofs-devel
BuildRequires: libjte-devel
BuildRequires: pkgconfig
BuildRequires: readline-devel
BuildRequires: zlib-devel
%description
Libisoburn is a frontend for libraries libburn and libisofs which enables
creation and expansion of ISO-9660 filesystems on all CD/DVD/BD media supported
by libburn. This includes media like DVD+RW, which do not support multi-session
management on media level and even plain disk files or block devices. Since it
specializes on data files in ISO-9660 filesystem images it is not suitable for
audio (CD-DA) or any other CD layout which does not entirely consist of
ISO-9660 sessions.
%package devel
Summary: Development Files for libburn
Group: Development/Libraries/C and C++
Requires: libburn-devel
Requires: libisoburn%{so_ver} = %{version}
Requires: libisofs-devel
# libburnia-devel was last used in version 1.4.0
Provides: libburnia-devel = %{version}
Obsoletes: libburnia-devel < %{version}
%description devel
Development files for developing applications using libisoburn.
%package -n libisoburn%{so_ver}
Summary: Frontend for libburn and libisofs
Group: System/Libraries
%description -n libisoburn%{so_ver}
Libisoburn is a frontend for libraries libburn and libisofs which enables
creation and expansion of ISO-9660 filesystems on all CD/DVD/BD media supported
by libburn. This includes media like DVD+RW, which do not support multi-session
management on media level and even plain disk files or block devices. Since it
specializes on data files in ISO-9660 filesystem images it is not suitable for
audio (CD-DA) or any other CD layout which does not entirely consist of
ISO-9660 sessions.
%package -n xorriso
Summary: ISO 9660 Rock Ridge Filesystem Manipulator
Group: Productivity/Multimedia/CD/Record
Requires(post): info
Requires(preun):info
# libburnia-tools was last used in version 1.4.0
Provides: libburnia-tools = %{version}
Obsoletes: libburnia-tools < %{version}
# libburnia-tools-x11 was last used in version 1.4.0
Provides: libburnia-tools-x11 = %{version}
Obsoletes: libburnia-tools-x11 < %{version}
%description -n xorriso
xorriso is a program which maps file objects from POSIX compliant filesystems
into Rock Ridge enhanced ISO 9660 filesystems and allows session-wise
manipulation of such filesystems. It can load the management information of
existing ISO images and it writes the session results to optical media or to
filesystem objects.
Vice versa xorriso is able to restore file objects from ISO 9660 filesystems.
%package -n xorriso-tcltk
Summary: Graphical frontend for xorriso
Group: Productivity/Multimedia/CD/Record
Requires: tcl
Requires: tk
Requires: xorriso = %{version}
%description -n xorriso-tcltk
xorriso is a program which maps file objects from POSIX compliant filesystems
into Rock Ridge enhanced ISO 9660 filesystems and allows session-wise
manipulation of such filesystems. It can load the management information of
existing ISO images and it writes the session results to optical media or to
filesystem objects.
This package provides a graphical frontend to xorriso.
%prep
%setup -q
# Remove build time references so build-compare can do its work
echo "HTML_TIMESTAMP = NO" >> doc/doxygen.conf.in
%build
%configure --disable-static
make %{?_smp_mflags}
doxygen doc/doxygen.conf
%install
%make_install
# Remove libtool config files
find %{buildroot} -type f -name "*.la" -delete -print
# Install devel docs
mkdir -p %{buildroot}%{_docdir}/%{name}-devel
cp -a doc/html/ %{buildroot}%{_docdir}/%{name}-devel/
%fdupes -s %{buildroot}%{_docdir}/%{name}-devel/
%post -n libisoburn%{so_ver} -p /sbin/ldconfig
%postun -n libisoburn%{so_ver} -p /sbin/ldconfig
%post -n xorriso
%install_info --info-dir="%{_infodir}" "%{_infodir}/xorriso.info%{ext_info}"
%install_info --info-dir="%{_infodir}" "%{_infodir}/xorrisofs.info%{ext_info}"
%install_info --info-dir="%{_infodir}" "%{_infodir}/xorrecord.info%{ext_info}"
%post -n xorriso-tcltk
%install_info --info-dir="%{_infodir}" "%{_infodir}/xorriso-tcltk.info%{?ext_info}"
%preun -n xorriso
%install_info_delete --info-dir="%{_infodir}" "%{_infodir}/xorriso.info%{ext_info}"
%install_info_delete --info-dir="%{_infodir}" "%{_infodir}/xorrisofs.info%{ext_info}"
%install_info_delete --info-dir="%{_infodir}" "%{_infodir}/xorrecord.info%{ext_info}"
%preun -n xorriso-tcltk
%install_info_delete --info-dir="%{_infodir}" "%{_infodir}/xorriso-tcltk.info%{?ext_info}"
%files devel
%license COPYING
%doc AUTHORS COPYRIGHT ChangeLog README TODO
%doc doc/partition_offset.wiki
%doc %{_docdir}/%{name}-devel/html/
%{_includedir}/libisoburn/
%{_libdir}/pkgconfig/libisoburn-1.pc
%{_libdir}/libisoburn.so
%files -n libisoburn%{so_ver}
%{_libdir}/libisoburn.so.%{so_ver}*
%files -n xorriso
%license COPYING
%doc COPYRIGHT
%doc doc/{qemu_xorriso.wiki,startup_file.txt}
%doc xorriso/README_gnu_xorriso
%{_bindir}/osirrox
%{_bindir}/xorrecord
%{_bindir}/xorriso
%{_bindir}/xorrisofs
%{_bindir}/xorriso-dd-target
%{_mandir}/man1/xorriso.1%{?ext_man}
%{_mandir}/man1/xorriso-dd-target.1%{?ext_man}
%{_mandir}/man1/xorrisofs.1%{?ext_man}
%{_mandir}/man1/xorrecord.1%{?ext_man}
%{_infodir}/xorriso.info%{?ext_info}
%{_infodir}/xorriso-dd-target.info%{?ext_info}
%{_infodir}/xorrisofs.info%{?ext_info}
%{_infodir}/xorrecord.info%{?ext_info}
%files -n xorriso-tcltk
%doc frontend/README-tcltk
%{_bindir}/xorriso-tcltk
%{_mandir}/man1/xorriso-tcltk.1%{?ext_man}
%{_infodir}/xorriso-tcltk.info%{?ext_info}
%changelog