2014-06-12 10:07:30 +02:00
|
|
|
#
|
|
|
|
# spec file for package libisoburn
|
|
|
|
#
|
2017-01-29 22:33:15 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-06-12 10:07:30 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define so_ver 1
|
|
|
|
Name: libisoburn
|
2017-01-29 22:33:15 +01:00
|
|
|
Version: 1.4.6
|
2014-06-12 10:07:30 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Frontend for libburn and libisofs
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Multimedia/CD/Record
|
|
|
|
Url: http://libburnia-project.org/
|
|
|
|
Source0: http://files.libburnia-project.org/releases/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: libacl-devel
|
|
|
|
BuildRequires: libburn-devel
|
|
|
|
BuildRequires: libisofs-devel
|
2017-02-27 12:38:21 +01:00
|
|
|
%if 0%{?suse_version} > 1320 || (0%{?is_opensuse} && 0%{?sle_version} >= 120300)
|
2017-02-23 21:29:13 +01:00
|
|
|
BuildRequires: libjte-devel
|
|
|
|
%endif
|
2014-06-12 10:07:30 +02:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%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
|
2015-03-08 16:35:31 +01:00
|
|
|
Requires: libisoburn%{so_ver} = %{version}
|
2014-06-12 10:07:30 +02:00
|
|
|
Requires: libisofs-devel
|
2016-06-27 14:40:08 +02:00
|
|
|
# libburnia-devel was last used in version 1.4.0
|
2014-06-12 10:07:30 +02:00
|
|
|
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: tcl
|
|
|
|
Requires: tk
|
|
|
|
Requires(post): info
|
2015-03-08 16:35:31 +01:00
|
|
|
Requires(preun): info
|
2016-06-27 14:40:08 +02:00
|
|
|
# libburnia-tools was last used in version 1.4.0
|
2014-06-12 10:07:30 +02:00
|
|
|
Provides: libburnia-tools = %{version}
|
|
|
|
Obsoletes: libburnia-tools < %{version}
|
2016-06-27 14:40:08 +02:00
|
|
|
# libburnia-tools-x11 was last used in version 1.4.0
|
2014-06-12 10:07:30 +02:00
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
2015-03-08 16:35:31 +01:00
|
|
|
%setup -q
|
2014-06-12 10:07:30 +02:00
|
|
|
|
|
|
|
# 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
|
2015-03-08 16:35:31 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2014-06-12 10:07:30 +02:00
|
|
|
|
|
|
|
# Install devel docs (do it manually to fix also rpmlint warning "files-duplicate" with %%fdupes)
|
|
|
|
mkdir -p %{buildroot}%{_docdir}/%{name}-devel
|
|
|
|
install -pm 0644 AUTHORS COPYING COPYRIGHT ChangeLog README TODO %{buildroot}%{_docdir}/%{name}-devel/
|
|
|
|
install -pm 0644 doc/partition_offset.wiki %{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}"
|
|
|
|
|
|
|
|
%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}"
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc %{_docdir}/%{name}-devel/
|
|
|
|
%{_includedir}/libisoburn/
|
|
|
|
%{_libdir}/pkgconfig/libisoburn-1.pc
|
|
|
|
%{_libdir}/libisoburn.so
|
|
|
|
|
|
|
|
%files -n libisoburn%{so_ver}
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libisoburn.so.%{so_ver}*
|
|
|
|
|
|
|
|
%files -n xorriso
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING COPYRIGHT
|
|
|
|
%doc doc/{qemu_xorriso.wiki,startup_file.txt}
|
|
|
|
%doc frontend/README-tcltk
|
|
|
|
%doc xorriso/README_gnu_xorriso
|
|
|
|
%{_bindir}/osirrox
|
|
|
|
%{_bindir}/xorrecord
|
|
|
|
%{_bindir}/xorriso-tcltk
|
|
|
|
%{_bindir}/xorriso
|
|
|
|
%{_bindir}/xorrisofs
|
|
|
|
%doc %{_mandir}/man1/xorriso.1%{ext_man}
|
|
|
|
%doc %{_mandir}/man1/xorrisofs.1%{ext_man}
|
|
|
|
%doc %{_mandir}/man1/xorrecord.1%{ext_man}
|
|
|
|
%doc %{_infodir}/xorriso.info%{ext_info}
|
|
|
|
%doc %{_infodir}/xorrisofs.info%{ext_info}
|
|
|
|
%doc %{_infodir}/xorrecord.info%{ext_info}
|
|
|
|
|
|
|
|
%changelog
|