6 Group: Applications/System
7 Source0: ftp://ftp.kernel.org/pub/linux/kernel/people/axboe/tools/%{name}.c
8 URL: http://old.lwn.net/2002/0328/a/rainier.php3
9 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
10 BuildRequires: kernel-headers
11 Requires: kernel(cdmrw)
14 Utility to manage mt rainier cd drives + media
21 %{__cc} %{rpmcflags} %{rpmldflags} %{name}.c -o %{name}
24 rm -rf $RPM_BUILD_ROOT
25 install -d $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT%{_bindir}
28 cp -f %{_builddir}/cdmrw/%{name} $RPM_BUILD_ROOT%{_bindir}
31 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
45 %attr(755,root,root) %{_bindir}/*