blktool-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. %define _sbindir /sbin
  14. %description
  15. This utility allows querying and changing of block device settings,
  16. such as write caching, identity, dma, geometry, read-ahead, and many
  17. other settings.
  18. %prep
  19. %setup -q
  20. %build
  21. %configure
  22. make
  23. %install
  24. rm -rf %{buildroot}
  25. %makeinstall
  26. mkdir -p %{buildroot}/usr/sbin
  27. ln -s /sbin/blktool %{buildroot}/usr/sbin
  28. %clean
  29. rm -rf %{buildroot}
  30. %files
  31. %defattr(-,root,root)
  32. %doc AUTHORS COPYING INSTALL NEWS README
  33. /sbin/blktool
  34. /usr/sbin/blktool
  35. %{_mandir}/man8/blktool.*
  36. %changelog
  37. * Wed May 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4-1
  38. - initial build for Vine Linux
  39. * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4-9
  40. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  41. * Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4-8
  42. - fix license tag
  43. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4-7
  44. - Autorebuild for GCC 4.3
  45. * Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 4-6
  46. - rebuilt for unwind info generation, broken in gcc-4.1.1-21
  47. * Fri Sep 22 2006 Jeff Garzik <jgarzik@pobox.com> - 4-5
  48. - pre-FC6 mass rebuild
  49. * Wed Apr 05 2006 Jeff Garzik <jgarzik@pobox.com> - 4-4
  50. - Add dist macro to Release.
  51. * Tue Apr 04 2006 Jeff Garzik <jgarzik@pobox.com> - 4-3
  52. - Fix minor bugs found in review
  53. * Tue Apr 04 2006 Jeff Garzik <jgarzik@pobox.com> - 4-2
  54. - Update BuildRoot.
  55. * Tue Apr 04 2006 Jeff Garzik <jgarzik@pobox.com> - 4-1
  56. - Initial package.