e0037e
Summary:	Toolchain to master DVD+RW/+R media
e0037e
Name:		dvd+rw-tools
e0037e
Version:	7.1
e0037e
Release:	27%{?dist}
e0037e
License:	GPLv2
e0037e
Group:		Applications/Multimedia
e0037e
Source:		http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-%{version}.tar.gz
e0037e
Source1:	index.html
e0037e
Patch1:		dvd+rw-tools-7.0.manpatch
e0037e
Patch2:		dvd+rw-tools-7.0-wexit.patch
e0037e
Patch3:		dvd+rw-tools-7.0-glibc2.6.90.patch
e0037e
Patch4:		dvd+rw-tools-7.0-reload.patch
e0037e
Patch5:		dvd+rw-tools-7.0-wctomb.patch
e0037e
Patch6:		dvd+rw-tools-7.0-dvddl.patch
e0037e
Patch7:		dvd+rw-tools-7.1-noevent.patch
e0037e
Patch8:		dvd+rw-tools-7.1-lastshort.patch
e0037e
Patch9:		dvd+rw-tools-7.1-format.patch
e0037e
Patch10:	dvd+rw-tools-7.1-bluray_srm+pow.patch
e0037e
Patch11:	dvd+rw-tools-7.1-bluray_pow_freespace.patch
e0037e
Patch12:	dvd+rw-tools-7.1-sysmacros.patch
e0037e
URL:		http://fy.chalmers.se/~appro/linux/DVD+RW/
e0037e
Requires:	mkisofs >= 2.0
e0037e
BuildRequires:	kernel-headers m4
e0037e
e0037e
%description
e0037e
Collection of tools to master DVD+RW/+R media. For further
e0037e
information see http://fy.chalmers.se/~appro/linux/DVD+RW/.
e0037e
e0037e
%prep
e0037e
%setup -q
e0037e
%patch1 -p1 -b .manpatch
e0037e
%patch2 -p1 -b .wexit
e0037e
%patch3 -p1 -b .glibc2.6.90
e0037e
%patch4 -p1 -b .reload
e0037e
%patch5 -p0 -b .wctomb
e0037e
%patch6 -p0 -b .dvddl
e0037e
%patch7 -p1 -b .noevent
e0037e
%patch8 -p1 -b .lastshort
e0037e
%patch9 -p1 -b .format
e0037e
%patch10 -p1 -b .pow
e0037e
%patch11 -p1 -b .freespace
e0037e
%patch12 -p1 -b .sysmacros
e0037e
e0037e
install -m 644 %{SOURCE1} index.html
e0037e
e0037e
%build
e0037e
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
e0037e
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
e0037e
export LDFLAGS="$RPM_LD_FLAGS"
e0037e
make WARN="-DDEFAULT_BUF_SIZE_MB=16 -DRLIMIT_MEMLOCK" %{?_smp_mflags}
e0037e
e0037e
%install
e0037e
# make install DESTDIR= does not work here
e0037e
%makeinstall
e0037e
e0037e
%files
e0037e
%doc index.html LICENSE
e0037e
%{_bindir}/*
e0037e
%{_mandir}/man1/*.1*
e0037e
e0037e
%changelog
e0037e
* Mon Aug 06 2018 Jakub Martisko <jamartis@redhat.com> - 7.1-27
e0037e
- Include sys/sysmacros header in the growisofs.c file
e0037e
- Some macros have been moved from sys/types to sys/sysmacros which lead to FTBFS
e0037e
- Resolves: 1611716
e0037e
e0037e
* Fri Feb 23 2018 Florian Weimer <fweimer@redhat.com> - 7.1-26
e0037e
- Use LDFLAGS from redhat-rpm-config
e0037e
e0037e
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.1-25
e0037e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e0037e
e0037e
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1-24
e0037e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e0037e
e0037e
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1-23
e0037e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e0037e
e0037e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1-22
e0037e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e0037e
e0037e
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.1-21
e0037e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e0037e
e0037e
* Fri Oct 09 2015 Frantisek Kluknavsky <fkluknav@redhat.com> - 7.1-20
e0037e
- serious typo in spec file - patch10 applied twice, patch11 not at all
e0037e
e0037e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1-19
e0037e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e0037e
e0037e
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 7.1-18
e0037e
- Rebuilt for GCC 5 C++11 ABI change
e0037e
e0037e
* Fri Nov 14 2014 Frantisek Kluknavsky <fkluknav@redhat.com> - 7.1-17
e0037e
- added dvd+rw-tools-7.1-bluray_pow_freespace.patch,
e0037e
  based on https://bugzilla.redhat.com/show_bug.cgi?id=1082360
e0037e
  count nwa (next writeable address) even in pow (pseudo overwrite) mode
e0037e
e0037e
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1-16
e0037e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e0037e
e0037e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1-15
e0037e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e0037e
e0037e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1-14
e0037e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e0037e
e0037e
* Mon Jun 24 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 7.1-13
e0037e
- when formating blu-ray as srm+pow, handle it later correctly as srm+pow, not srm
e0037e
(credits Thomas Schmitt)
e0037e
e0037e
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1-12
e0037e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e0037e
e0037e
* Mon Aug 27 2012 Honza Horak <hhorak@redhat.com> - 7.1-11
e0037e
- Spec file cleanup
e0037e
- Print error in case we want to write already written DVD-RW in Sequential
e0037e
  Recording mode (bug #810838)
e0037e
- Add man page for dvd+rw-format
e0037e
e0037e
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1-10
e0037e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e0037e
e0037e
* Mon Apr 16 2012 Honza Horak <hhorak@redhat.com> - 7.1-9
e0037e
- Allow buffer length of the block to be shorter than multiple of 16, 
e0037e
  even in case of DAO writing (replaces the previous fix)
e0037e
  Resolves: #810483
e0037e
e0037e
* Fri Apr 06 2012 Honza Horak <hhorak@redhat.com> - 7.1-8
e0037e
- Align blocks count to multiple of 16 also in case of DAO writing
e0037e
  Resolves: #810483
e0037e
e0037e
* Wed Mar 07 2012 Honza Horak <hhorak@redhat.com> - 7.1-7
e0037e
- applied patch from Petr Sumbera to handle Teac DVD drive timeout issue
e0037e
  Resolves: #799299
e0037e
e0037e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1-6
e0037e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e0037e
e0037e
* Wed Jun 23 2010 Roman Rakus <rrakus@redhat.com> - 7.1-5
e0037e
- Compile with -fno-strict-aliasing CFLAG
e0037e
e0037e
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1-4
e0037e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e0037e
e0037e
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1-3
e0037e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e0037e
e0037e
* Wed Dec 17 2008 Roman Rakus <rrakus@redhat.com> - 7.1-2
e0037e
- Allow burn small images on dvd-dl
e0037e
  Resolves: #476154
e0037e
e0037e
* Fri Aug 15 2008 Roman Rakus <rrakus@redhat.com> - 7.1-1
e0037e
- new version 7.1
e0037e
e0037e
* Wed Mar 26 2008 Harald Hoyer <harald@redhat.com> 7.0-11
e0037e
- fixed widechar overflow (bug #426068) (patch from Jonathan Kamens)
e0037e
e0037e
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 7.0-9
e0037e
- Autorebuild for GCC 4.3
e0037e
e0037e
* Tue Nov 20 2007 Harald Hoyer <harald@redhat.com> - 7.0-8
e0037e
- added a patch to fix a reload problem on some drives, 
e0037e
  after a successful burn
e0037e
e0037e
* Fri Aug 31 2007 Matthias Saou <http://freshrpms.net/> 7.0-7
e0037e
- Minor spec file cleanups (tabs vs. spaces, etc.).
e0037e
- Use install instead of cp for the html file to avoid umask differences.
e0037e
e0037e
* Fri Aug 17 2007 Harald Hoyer <harald@rawhide.home> - 7.0-6
e0037e
- changed license to GPLv2
e0037e
e0037e
* Wed Aug 15 2007 Harald Hoyer <harald@redhat.com> - 7.0-5
e0037e
- added limits.h to transport.hxx
e0037e
e0037e
* Thu Jun 21 2007 Harald Hoyer <harald@redhat.com> - 7.0-4
e0037e
- fixed exit status (#243036)
e0037e
- Allow session to cross 4GB boundary regardless of medium type.
e0037e
  Add a -F option (used instead of -M or -Z), which displays 
e0037e
  next_session offset and capacity. (#237967)
e0037e
e0037e
* Tue Feb 27 2007 Harald Hoyer <harald@redhat.com> - 7.0-3
e0037e
- fixed specfile issues (#209985)
e0037e
e0037e
* Thu Dec 14 2006 Harald Hoyer <harald@redhat.com> - 7.0-0.4
e0037e
- set pthread stack size according to limit (#215818)
e0037e
e0037e
* Wed Dec 13 2006 Harald Hoyer <harald@redhat.com> - 7.0-0.3
e0037e
- use _SC_PHYS_PAGES instead of _SC_AVPHYS_PAGES to determine available memory
e0037e
- Resolves: rhbz#216794
e0037e
e0037e
* Fri Nov 03 2006 Harald Hoyer <harald@redhat.com> - 7.0-0.2
e0037e
- define RLIMIT_MEMLOCK, which should resolve the memlock problems
e0037e
e0037e
* Thu Oct 26 2006 Harald Hoyer <harald@redhat.com> - 7.0-0.1
e0037e
- new version 7.0
e0037e
e0037e
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 6.1-4.1
e0037e
- rebuild
e0037e
e0037e
* Tue Jun 13 2006 Harald Hoyer <harald@redhat.com> - 6.1-4
e0037e
- more build requirements
e0037e
e0037e
* Tue Apr 18 2006 Harald Hoyer <harald@redhat.com> - 6.1-2
e0037e
- compile with smaller buffer size
e0037e
- removed O_EXCL patch
e0037e
e0037e
* Fri Mar 24 2006 Harald Hoyer <harald@redhat.com> - 6.1-1
e0037e
- version 6.1
e0037e
e0037e
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.21.4.10.8-6.2.1
e0037e
- bump again for double-long bug on ppc(64)
e0037e
e0037e
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.21.4.10.8-6.2
e0037e
- rebuilt for new gcc4.1 snapshot and glibc changes
e0037e
e0037e
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
e0037e
- rebuilt
e0037e
e0037e
* Wed Mar 02 2005 Harald Hoyer <harald@redhat.com> 
e0037e
- rebuilt
e0037e
e0037e
* Wed Feb 16 2005 Harald Hoyer <harald@redhat.com> - 5.21.4.10.8-5
e0037e
- built with RPM_OPT_FLAGS
e0037e
e0037e
* Wed Feb 09 2005 Harald Hoyer <harald@redhat.com>
e0037e
- rebuilt
e0037e
e0037e
* Thu Nov 18 2004 Harald Hoyer <harald@redhat.com> - 5.21.4.10.8-4
e0037e
- removed wget dependency
e0037e
e0037e
* Wed Sep 01 2004 Harald Hoyer <harald@redhat.com> - 5.21.4.10.8-2
e0037e
- added dvd+rw-tools-5.21.4.10.8-excl.patch to open O_EXCL
e0037e
e0037e
* Wed Sep 01 2004 Harald Hoyer <harald@redhat.com> - 5.21.4.10.8-1
e0037e
- version 5.21.4.10.8
e0037e
e0037e
* Mon Jul 26 2004 Harald Hoyer <harald@redhat.com> - 5.20.4.10.8-1
e0037e
- version 5.20.4.10.8
e0037e
e0037e
* Wed Jun 16 2004 Harald Hoyer <harald@redhat.com> - 5.19.1.4.9.7-1
e0037e
- version 5.19.1.4.9.7
e0037e
e0037e
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
e0037e
- rebuilt
e0037e
e0037e
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
e0037e
- rebuilt
e0037e
e0037e
* Thu Jan 29 2004 Harald Hoyer <harald@redhat.com> - 5.17.4.8.6-1
e0037e
- version 5.17.4.8.6
e0037e
- fixes 110740 110700
e0037e
e0037e
* Wed Oct  8 2003 Harald Hoyer <harald@redhat.de> 5.13.4.7.4-1
e0037e
- version 5.13.4.7.4
e0037e
e0037e
* Mon Sep 08 2003 Harald Hoyer <harald@redhat.de> 5.12.4.7.4-1
e0037e
* updated to version 5.12.4.7.4
e0037e
e0037e
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
e0037e
- rebuilt
e0037e
e0037e
* Tue Apr 15 2003 Harald Hoyer <harald@redhat.de> 5.3.4.2.4-1
e0037e
- updated to version 5.3.4.2.4
e0037e
e0037e
* Mon Feb 3 2003 Chris Kloiber <ckloiber@redhat.com>
e0037e
- Updated version to 5.1.4.0.4
e0037e
- Requires mkisofs 2.0
e0037e
e0037e
* Thu Nov 4 2002 Andy Polyakov <appro@fy.chalmers.se>
e0037e
- Minor growisofs update. Uninitialized errno at exit when
e0037e
  -Z /dev/scd0=image.iso is used.
e0037e
e0037e
* Thu Nov 3 2002 Andy Polyakov <appro@fy.chalmers.se>
e0037e
- Initial packaging. Package version is derived from growisofs,
e0037e
  dvd+rw-format and dvd+rw-booktype version. 4.0.3.0.3 means
e0037e
  growisofs 4.0, dvd+rw-format 3.0 dvd+rw-booktype 3.
e0037e