]> git.pld-linux.org Git - packages/cdmrw.git/blame - cdmrw.spec
- add bconf BuildRequires: kernel-headers
[packages/cdmrw.git] / cdmrw.spec
CommitLineData
4153e632 1Summary: CDMRW Utility
2Name: cdmrw
3Version: 1
4Release: 1
5License: GPL
6Group: Applications/System
aff63728 7Source0: ftp://ftp.kernel.org/pub/linux/kernel/people/axboe/tools/%{name}.c
4153e632 8URL: http://old.lwn.net/2002/0328/a/rainier.php3
9BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3fe0f737 10%{!?_without_dist_kernel:BuildRequires: kernel-headers}
4153e632 11Requires: kernel(cdmrw)
12
13%description
14Utility to manage mt rainier cd drives + media
15
16%prep
aff63728 17%setup -q -T -c
18cp -f %{SOURCE0} .
4153e632 19
20%build
aff63728 21%{__cc} %{rpmcflags} %{rpmldflags} %{name}.c -o %{name}
4153e632 22
23%install
24rm -rf $RPM_BUILD_ROOT
3fe0f737 25install -D %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
4153e632 26
27%clean
28rm -rf $RPM_BUILD_ROOT
29
4153e632 30%files
31%defattr(644,root,root,755)
32%attr(755,root,root) %{_bindir}/*
This page took 0.065135 seconds and 4 git commands to generate.