hardinfo-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. %define name hardinfo
  2. %define version 0.5.1
  3. %define release 1%{?_dist_release}
  4. Summary: Displays information about your hardware and operating system
  5. Summary(ja): ハードウェア情報を表示するアプリケーション
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. Source: http://download.berlios.de/hardinfo/%{name}-%{version}.tar.bz2
  10. Patch: hardinfo-0.5.1-computer.patch
  11. Patch1: hardinfo-0.4.2.3-report-eucjp.patch
  12. License: GPLv2
  13. Group: Applications/System
  14. URL: http://hardinfo.berlios.de/
  15. BuildRequires: gtk2-devel >= 2.6
  16. Requires: pciutils
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  18. %description
  19. HardInfo is a small application that displays information about your
  20. hardware and operating system. Currently it knows about PCI, ISA PnP,
  21. USB, IDE, SCSI, Serial and parallel port devices.
  22. %description -l ja
  23. HardInfo はハードウェアと OS の情報を表示する小さなアプリケーションです.
  24. PCI, ISA PnP, USB, IDE, SCSI, シリアル/パラレルポートデバイスに対応しています.
  25. %prep
  26. %setup
  27. %patch -p1 -b .vine
  28. %if %{?_dist_release} == "vl4"
  29. %patch1 -p1 -b .vine
  30. %endif
  31. %{__perl} -pi.orig -e 's|/lib\b|/%{_lib}|g' Makefile.in
  32. %build
  33. %configure
  34. %{__make} %{?_smp_mflags}
  35. %install
  36. %{__rm} -rf %{buildroot}
  37. %{__make} install DESTDIR="%{buildroot}"
  38. %clean
  39. %{__rm} -rf %{buildroot}
  40. %post
  41. /sbin/ldconfig
  42. %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||:
  43. %postun
  44. /sbin/ldconfig
  45. %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||:
  46. %files
  47. %defattr(-, root, root, 0755)
  48. %doc LICENSE
  49. %{_bindir}/hardinfo
  50. %{_datadir}/applications/hardinfo.desktop
  51. %{_datadir}/hardinfo/
  52. %{_libdir}/hardinfo/
  53. %changelog
  54. * Sat May 02 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5.1-1
  55. new upstream release
  56. * Sat Dec 13 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.2.3-2
  57. - fixed typo in spec
  58. * Sun Sep 7 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.2.3-1
  59. - apply new versioning policy
  60. - spec in utf-8
  61. - for only Vine 4.x, apply hardinfo-0.4.2.3-report-eucjp.patch
  62. * Thu Feb 14 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.2.3-0vl3
  63. - add hardinfo-0.4.2.3-report-eucjp.patch
  64. * Wed Feb 6 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.2.3-0vl2
  65. - rebuild for VineSeed
  66. - add hardinfo-0.4.2.3-computer.patch to check /etc/vine-release
  67. * Sat Dec 29 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.4.2.3-0vl1
  68. - source update
  69. * Sat Aug 11 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.4.2.2-0vl1
  70. - initial build for Vine Linux 4.1
  71. * Sat Jul 21 2007 Dag Wieers <dag@wieers.com> - 0.4.2.2-1 - 5272+/dag
  72. - Updated to release 0.4.2.2.
  73. * Sun Apr 15 2007 Dag Wieers <dag@wieers.com> - 0.4.2.1-1
  74. - Updated to release 0.4.2.1.
  75. * Wed Apr 04 2007 Dag Wieers <dag@wieers.com> - 0.4.2-1
  76. - Updated to release 0.4.2.
  77. * Tue Jun 20 2006 Dag Wieers <dag@wieers.com> - 0.4.1-1
  78. - Updated to release 0.4.1.
  79. * Thu Feb 02 2006 Dag Wieers <dag@wieers.com> - 0.4-1
  80. - Updated to release 0.4.
  81. * Fri Oct 31 2003 Dag Wieers <dag@wieers.com> - 0.3.6-0
  82. - Updated to release 0.3.6.
  83. * Tue Jun 24 2003 Dag Wieers <dag@wieers.com> - 0.3.5-0
  84. - Updated to release 0.3.5.
  85. * Mon Jun 23 2003 Dag Wieers <dag@wieers.com> - 0.3.4-0
  86. - Updated to release 0.3.4.
  87. * Sat Jun 21 2003 Dag Wieers <dag@wieers.com> - 0.3.3-0
  88. - Initial package. (using DAR)