File dvd+rw-tools.spec of Package dvd+rw-tools

#
# spec file for package dvd+rw-tools (Version 7.1)
#
# Copyright (c) 2008 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/
#

# norootforbuild


Name:           dvd+rw-tools
BuildRequires:  gcc-c++
License:        GPL v2 or later; Public Domain, Freeware
Group:          Productivity/Multimedia/CD/Record
AutoReqProv:    on
Version:        7.1
Release:        35
Source:         dvd+rw-tools-%{version}.tar.bz2
Url:            http://fy.chalmers.se/~appro/linux/DVD+RW/
Summary:        Collection of Tools for Mastering DVD+RW/+R Media
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch1:         rpm_opt_flags.diff
Patch4:         utf8ize.patch
Patch7:         growisofs-dvd-dl-undersized.patch
Patch8:         growisofs-genisoimage.patch
Patch9:         dvd+rw-tools-gcc43.patch
Patch10:        dvd+rw-tools-buffer.patch

%description
Collection of Tools for Mastering DVD+RW/+R Media

Authors:
--------
    appro@fy.chalmers.se

%prep
%setup -q
%patch1
%patch4
%patch7
%patch8
%patch9
%patch10

%build
make
make rpl8 btcflash

%install
make prefix=$RPM_BUILD_ROOT/usr manprefix=$RPM_BUILD_ROOT%{_mandir} install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc index.html
%doc %{_mandir}/man1/growisofs.1.gz
/usr/bin/dvd+rw-booktype
/usr/bin/dvd+rw-format
/usr/bin/dvd+rw-mediainfo
/usr/bin/dvd-ram-control
/usr/bin/growisofs
/usr/bin/btcflash
/usr/bin/rpl8

%changelog
* Tue Aug 19 2008 lnussel@suse.de
- remove resmgr from BuildRequires
* Mon Mar 10 2008 nadvornik@suse.cz
- update to 7.1
  * lock corresponding /dev/srN
  * add -F/-free-space option displaying next session offset and
  media capacity, which facilitates free space calculation
  * allow session to cross 4GB boundary even on single-layer media
  * return non-zero exit status more aggressively
* Mon Jan 21 2008 nadvornik@suse.cz
- fixed buffer size [#354838]
* Mon Nov 12 2007 ro@suse.de
- fix build with gcc-4.3
* Tue Jul 17 2007 nadvornik@suse.cz
- call genisoimage directly, not via compatibility symlink
* Wed Nov 15 2006 adrian@suse.de
- update to version 7.0
  * Blu-ray Disc support
  * Linux: overcome 16MB O_DIRECT limitaton for NFS client
- remove obsolete patches
* Thu Apr 27 2006 joeshaw@suse.de
- Add patch to allow users to burn images that would fit on a
  single-layer DVD to a dual-layer disc.  (bnc #164032)
* Wed Apr 12 2006 adrian@suse.de
- fix dvd burning from NFS located files (by okir, #149905)
* Tue Apr 04 2006 rw@suse.de
- don't set thread stacksize below PTHREAD_STACK_MIN (#160312)
* Sat Feb 18 2006 ak@suse.de
- expand memlock limit for 64bit systems (#152052)
* Mon Jan 30 2006 adrian@suse.de
- update to version 6.1 (#146534)
- sentinel, resmgr and subfs patch are obsolete
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 05 2005 dmueller@suse.de
- add norootforbuild
* Wed Jun 29 2005 sbrabec@suse.cz
- Strings converted to UTF-8.
* Mon Apr 11 2005 meissner@suse.de
- and actually apply the last patch.
* Fri Apr 08 2005 meissner@suse.de
- explicitly use (char*)0 as execl terminator.
* Wed Jan 26 2005 meissner@suse.de
- Use RPM_OPT_FLAGS. Fixed gcc4 compile problem.
* Mon Jan 10 2005 adrian@suse.de
- fix resmgr support (#49388)
* Wed Sep 22 2004 ro@suse.de
- update to 5.21 as suggested for use with kernel >= 2.6.8
* Wed Aug 18 2004 ro@suse.de
- update to 5.20... to support DVD+R DL
* Tue Jul 27 2004 adrian@suse.de
- fix subfs.diff patch
* Mon Jul 26 2004 adrian@suse.de
- fix usage as user (non-root) #42523
  * add resmgr support
  * do not try to unmount subfs mounts
* Sat Mar 13 2004 aj@suse.de
- update to 5.17.4.8.6. [#35750]
* Thu Sep 04 2003 wengel@suse.de
- update -> 5.12.4.7.4
* Thu Jul 31 2003 wengel@suse.de
- fixed filelist
* Thu Jul 31 2003 wengel@suse.de
- update to new version -> 5.10.4.5.4
- minor specfile changes
* Wed May 28 2003 coolo@suse.de
- use BuildRoot
* Fri Jan 17 2003 wengel@suse.de
- initial package