hardinfo-vl.spec 3.5 KB

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