From 9cc50948d96f2237f69499467a157f3740f6de47 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Go=C5=82aszewski?= Date: Wed, 2 Mar 2005 16:56:36 +0000 Subject: [PATCH] - raw, not tested Changed files: blktool.spec -> 1.1 --- blktool.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 blktool.spec diff --git a/blktool.spec b/blktool.spec new file mode 100644 index 0000000..9bc504c --- /dev/null +++ b/blktool.spec @@ -0,0 +1,46 @@ +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} -- 2.44.0