--- dvd+rw-tools.spec.orig 2007-08-23 12:49:58.000000000 +0200 +++ dvd+rw-tools.spec 2007-08-31 18:16:24.000000000 +0200 @@ -1,20 +1,20 @@ Summary: Toolchain to master DVD+RW/+R media Name: dvd+rw-tools Version: 7.0 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2 Group: Applications/Multimedia Source: http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-%{version}.tar.gz -Source1: index.html +Source1: index.html Patch1: dvd+rw-tools-7.0-phys.patch Patch2: dvd+rw-tools-7.0-pthread.patch -Patch3: dvd+rw-tools-7.0.manpatch -Patch4: dvd+rw-tools-7.0-wexit.patch -Patch5: dvd+rw-tools-7.0-bacula.patch -Patch6: dvd+rw-tools-7.0-glibc2.6.90.patch +Patch3: dvd+rw-tools-7.0.manpatch +Patch4: dvd+rw-tools-7.0-wexit.patch +Patch5: dvd+rw-tools-7.0-bacula.patch +Patch6: dvd+rw-tools-7.0-glibc2.6.90.patch URL: http://fy.chalmers.se/~appro/linux/DVD+RW/ Requires: mkisofs >= 2.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: kernel-headers m4 %description @@ -22,36 +22,39 @@ Collection of tools to master DVD+RW/+R information see http://fy.chalmers.se/~appro/linux/DVD+RW/. %prep -%setup -q -n %{name}-%{version} +%setup -q %patch1 -p1 -b .phys %patch2 -p1 -b .pthread %patch3 -p1 -b .manpatch %patch4 -p1 -b .wexit %patch5 -p1 -b .bacula %patch6 -p1 -b .glibc2.6.90 +install -m 644 %{SOURCE1} index.html %build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" - make WARN="-DDEFAULT_BUF_SIZE_MB=16 -DRLIMIT_MEMLOCK" %{?_smp_mflags} -cp -p %SOURCE1 index.html - %install rm -rf %{buildroot} +# make install DESTDIR= does not work here %makeinstall %clean rm -rf %{buildroot} %files -%defattr(-,root,root) -%{_prefix}/bin/* +%defattr(-,root,root,-) %doc index.html LICENSE +%{_bindir}/* %{_mandir}/man1/growisofs.1* %changelog +* Fri Aug 31 2007 Matthias Saou 7.0-7 +- Minor spec file cleanups (tabs vs. spaces, etc.). +- Use install instead of cp for the html file to avoid umask differences. + * Fri Aug 17 2007 Harald Hoyer - 7.0-6 - changed license to GPLv2