]> git.pld-linux.org Git - packages/blktool.git/commitdiff
- raw, not tested
authorPaweł Gołaszewski <blues@pld-linux.org>
Wed, 2 Mar 2005 16:56:36 +0000 (16:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    blktool.spec -> 1.1

blktool.spec [new file with mode: 0644]

diff --git a/blktool.spec b/blktool.spec
new file mode 100644 (file)
index 0000000..9bc504c
--- /dev/null
@@ -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}
This page took 0.061771 seconds and 4 git commands to generate.