LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File xorriso.spec of Package xorriso (Project Archiving:Backup)

# spec file for package xorriso
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
# 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/

Name:           xorriso
Version:        1.2.6
Release:        0
License:        GPL-3.0+
Summary:        ISO 9660 Rock Ridge Filesystem Manipulator
Url:            http://www.gnu.org/software/xorriso/
Group:          Productivity/Multimedia/CD/Record
Source0:        http://www.gnu.org/software/xorriso/%{name}-%{version}.tar.gz
BuildRequires:  gcc-c++
BuildRequires:  libacl-devel
BuildRequires:  pkgconfig
BuildRequires:  readline-devel
BuildRequires:  zlib-devel
Requires(post): info
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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.

A special property of xorriso is that it needs neither an external ISO 9660
formatter program nor an external burn program for CD or DVD but rather
incorporates the libraries of libburnia-project.org.

%package tcltk
Summary:        GUI Frontend for xorriso
Group:          Productivity/Multimedia/CD/Record
Requires:       %{name} = %{version}
Requires:       tcl
Requires:       tk

%description tcltk
This package contains a Tcl/Tk GUI frontend for xorriso.

%setup -q

%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1000
sed -i 's/-Werror//g' configure
%if 0%{?suse_version} > 0 && 0%{?suse_version} < 930
sed -i 's/-Wextra//g' configure

make %{?_smp_mflags}


%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}"

%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}"

%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}

%files tcltk
%doc frontend/README-tcltk