hardinfo-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. %define name hardinfo
  2. %define version 0.5.1
  3. %define release 2%{?_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. * Tue Apr 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.5.1-2
  55. - rebuilt
  56. * Sat May 02 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5.1-1
  57. - new upstream release
  58. * Sat Dec 13 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.2.3-2
  59. - fixed typo in spec
  60. * Sun Sep 7 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.2.3-1
  61. - apply new versioning policy
  62. - spec in utf-8
  63. - for only Vine 4.x, apply hardinfo-0.4.2.3-report-eucjp.patch
  64. * Thu Feb 14 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.2.3-0vl3
  65. - add hardinfo-0.4.2.3-report-eucjp.patch
  66. * Wed Feb 6 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.2.3-0vl2
  67. - rebuild for VineSeed
  68. - add hardinfo-0.4.2.3-computer.patch to check /etc/vine-release
  69. * Sat Dec 29 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.4.2.3-0vl1
  70. - source update
  71. * Sat Aug 11 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.4.2.2-0vl1
  72. - initial build for Vine Linux 4.1
  73. * Sat Jul 21 2007 Dag Wieers <dag@wieers.com> - 0.4.2.2-1 - 5272+/dag
  74. - Updated to release 0.4.2.2.
  75. * Sun Apr 15 2007 Dag Wieers <dag@wieers.com> - 0.4.2.1-1
  76. - Updated to release 0.4.2.1.
  77. * Wed Apr 04 2007 Dag Wieers <dag@wieers.com> - 0.4.2-1
  78. - Updated to release 0.4.2.
  79. * Tue Jun 20 2006 Dag Wieers <dag@wieers.com> - 0.4.1-1
  80. - Updated to release 0.4.1.
  81. * Thu Feb 02 2006 Dag Wieers <dag@wieers.com> - 0.4-1
  82. - Updated to release 0.4.
  83. * Fri Oct 31 2003 Dag Wieers <dag@wieers.com> - 0.3.6-0
  84. - Updated to release 0.3.6.
  85. * Tue Jun 24 2003 Dag Wieers <dag@wieers.com> - 0.3.5-0
  86. - Updated to release 0.3.5.
  87. * Mon Jun 23 2003 Dag Wieers <dag@wieers.com> - 0.3.4-0
  88. - Updated to release 0.3.4.
  89. * Sat Jun 21 2003 Dag Wieers <dag@wieers.com> - 0.3.3-0
  90. - Initial package. (using DAR)