]> git.pld-linux.org Git - packages/cdmrw.git/blob - cdmrw.spec
f0bddac1a88e6081565b9c53344aa7cca8def9b2
[packages/cdmrw.git] / cdmrw.spec
1 Summary:        CDMRW Utility
2 Name:           cdmrw
3 Version:        1
4 Release:        1
5 License:        GPL
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)
12
13 %description
14 Utility to manage mt rainier cd drives + media
15
16 %prep
17 %setup -q -T -c
18 cp -f %{SOURCE0} .
19
20 %build
21 %{__cc} %{rpmcflags} %{rpmldflags} %{name}.c -o %{name}
22
23 %install
24 rm -rf $RPM_BUILD_ROOT
25 install -d $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT%{_bindir}
27
28 cp -f %{_builddir}/cdmrw/%{name} $RPM_BUILD_ROOT%{_bindir}
29
30 %clean
31 rm -rf $RPM_BUILD_ROOT
32
33 %pre
34
35 %preun
36
37 %post
38
39 %postun
40
41
42
43 %files
44 %defattr(644,root,root,755)
45 %attr(755,root,root) %{_bindir}/*
This page took 0.054159 seconds and 2 git commands to generate.