]>
Commit | Line | Data |
---|---|---|
9cc50948 PG |
1 | Summary: replacement for "hdparm" |
2 | Name: blktool | |
3 | Version: 4 | |
4 | Release: 0.1 | |
5 | License: GPL v2 | |
6 | Group: Applications/System | |
7 | Source0: http://dl.sourceforge.net/gkernel/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 9272a47c6254b506548ba10a2a9f8bb3 | |
9 | URL: http://sourceforge.net/projects/gkernel/ | |
10 | #BuildRequires: - | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | blktool aims to be an easier to use, and more generic version of the existing utility 'hdparm'. | |
15 | ||
16 | %prep | |
17 | %setup -q | |
18 | ||
19 | %build | |
20 | # if ac/am/* rebuilding is necessary, do it in this order and add | |
21 | # appropriate BuildRequires | |
22 | %{__aclocal} | |
23 | %{__autoconf} | |
24 | %{__automake} | |
25 | %configure | |
26 | %{__make} | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | ||
31 | %{__make} install \ | |
32 | DESTDIR=$RPM_BUILD_ROOT | |
33 | ||
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %files | |
38 | %defattr(644,root,root,755) | |
39 | %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO | |
40 | ||
41 | # if _sysconfdir != /etc: | |
42 | #%%dir %{_sysconfdir} | |
43 | %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/* | |
44 | %attr(755,root,root) %{_bindir}/* | |
45 | ||
46 | %{_datadir}/%{name} |