| 1 | Summary: Block device settings tool |
|---|
| 2 | Summary(ja): ブロックデバイス設定ツール |
|---|
| 3 | Name: blktool |
|---|
| 4 | Version: 4 |
|---|
| 5 | Release: 1%{?_dist_release} |
|---|
| 6 | # No version specified in code. |
|---|
| 7 | License: GPL+ |
|---|
| 8 | Group: Applications/System |
|---|
| 9 | URL: http://sourceforge.net/projects/gkernel/ |
|---|
| 10 | Source0: http://download.sourceforge.net/gkernel/%{name}-%{version}.tar.gz |
|---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|---|
| 12 | BuildRequires: glib2-devel |
|---|
| 13 | |
|---|
| 14 | %define _sbindir /sbin |
|---|
| 15 | |
|---|
| 16 | %description |
|---|
| 17 | This utility allows querying and changing of block device settings, |
|---|
| 18 | such as write caching, identity, dma, geometry, read-ahead, and many |
|---|
| 19 | other settings. |
|---|
| 20 | |
|---|
| 21 | %prep |
|---|
| 22 | %setup -q |
|---|
| 23 | |
|---|
| 24 | %build |
|---|
| 25 | %configure |
|---|
| 26 | make |
|---|
| 27 | |
|---|
| 28 | %install |
|---|
| 29 | rm -rf %{buildroot} |
|---|
| 30 | %makeinstall |
|---|
| 31 | mkdir -p %{buildroot}/usr/sbin |
|---|
| 32 | ln -s /sbin/blktool %{buildroot}/usr/sbin |
|---|
| 33 | |
|---|
| 34 | %clean |
|---|
| 35 | rm -rf %{buildroot} |
|---|
| 36 | |
|---|
| 37 | %files |
|---|
| 38 | %defattr(-,root,root) |
|---|
| 39 | %doc AUTHORS COPYING INSTALL NEWS README |
|---|
| 40 | /sbin/blktool |
|---|
| 41 | /usr/sbin/blktool |
|---|
| 42 | %{_mandir}/man8/blktool.* |
|---|
| 43 | |
|---|
| 44 | %changelog |
|---|
| 45 | * Wed May 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4-1 |
|---|
| 46 | - initial build for Vine Linux |
|---|
| 47 | |
|---|
| 48 | * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4-9 |
|---|
| 49 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 50 | |
|---|
| 51 | * Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4-8 |
|---|
| 52 | - fix license tag |
|---|
| 53 | |
|---|
| 54 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4-7 |
|---|
| 55 | - Autorebuild for GCC 4.3 |
|---|
| 56 | |
|---|
| 57 | * Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 4-6 |
|---|
| 58 | - rebuilt for unwind info generation, broken in gcc-4.1.1-21 |
|---|
| 59 | |
|---|
| 60 | * Fri Sep 22 2006 Jeff Garzik <jgarzik@pobox.com> - 4-5 |
|---|
| 61 | - pre-FC6 mass rebuild |
|---|
| 62 | |
|---|
| 63 | * Wed Apr 05 2006 Jeff Garzik <jgarzik@pobox.com> - 4-4 |
|---|
| 64 | - Add dist macro to Release. |
|---|
| 65 | |
|---|
| 66 | * Tue Apr 04 2006 Jeff Garzik <jgarzik@pobox.com> - 4-3 |
|---|
| 67 | - Fix minor bugs found in review |
|---|
| 68 | |
|---|
| 69 | * Tue Apr 04 2006 Jeff Garzik <jgarzik@pobox.com> - 4-2 |
|---|
| 70 | - Update BuildRoot. |
|---|
| 71 | |
|---|
| 72 | * Tue Apr 04 2006 Jeff Garzik <jgarzik@pobox.com> - 4-1 |
|---|
| 73 | - Initial package. |
|---|