hardinfo-vl.spec 3.8 KB

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