--- /dev/null
+Summary: replacement for "hdparm"
+Name: blktool
+Version: 4
+Release: 0.1
+License: GPL v2
+Group: Applications/System
+Source0: http://dl.sourceforge.net/gkernel/%{name}-%{version}.tar.gz
+# Source0-md5: 9272a47c6254b506548ba10a2a9f8bb3
+URL: http://sourceforge.net/projects/gkernel/
+#BuildRequires: -
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+blktool aims to be an easier to use, and more generic version of the existing utility 'hdparm'.
+
+%prep
+%setup -q
+
+%build
+# if ac/am/* rebuilding is necessary, do it in this order and add
+# appropriate BuildRequires
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+
+# if _sysconfdir != /etc:
+#%%dir %{_sysconfdir}
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
+%attr(755,root,root) %{_bindir}/*
+
+%{_datadir}/%{name}