LogoopenSUSE Build Service > Projects
Sign Up | Log In

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

# spec file for package cdw
# Copyright (c) 2013 SUSE LINUX Products 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/

Name:           cdw
Version:        0.7.1
Release:        0
License:        GPL-2.0+
Summary:        CD/DVD Burning for Terminals
Url:            http://cdw.sourceforge.net/
Group:          Productivity/Multimedia/CD/Record
Source0:        http://downloads.sourceforge.net/cdw/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE cdw_ld_as_needed.diff deb#646053 asterios.dramis@gmail.com -- Fix build failure with ld --as-needed (patch taken from Debian)
Patch0:         cdw_ld_as_needed.diff
# PATCH-FIX-UPSTREAM cdw-0.7.1-implicit-pointer-decl.patch lazy.kent@opensuse.org -- fix implicit-pointer-decl warning
Patch1:         cdw-0.7.1-implicit-pointer-decl.patch
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libburnia-devel
BuildRequires:  libcdio-devel
BuildRequires:  ncurses-devel
Requires:       cdrecord
Requires:       dvd+rw-tools
Requires:       mkisofs
Recommends:     xorriso
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

cdw is a front-end for command-line tools: cdrecord/wodim,
mkisofs/genisoimage, growisofs, dvd+rw-mediainfo, dvd+rw-format.
It utilizes ncurses library to build user-friendly interface and it can
be used in UNIX terminal window or in terminal emulator (like konsole,
xterm, rxvt or gnome-terminal) in X Window environment.
cdw supports only ISO9660 filesystem for optical media. Other filesystem
for optical media are not supported nor recognized.

%setup -q
%patch0 -p1

# Because of patching Makefile.am(in)
autoreconf -vif

make %{?_smp_flags}


%doc cdw.conf cdw.colors
%doc %{_mandir}/man1/cdw.1%{ext_man}