libgtop2-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. %define __libtoolize :
  2. %define glib2_version 2.26.0
  3. %define po_package libgtop
  4. Summary: libgtop library (version 2)
  5. Summary(ja): libgtop2 ライブラリ
  6. Name: libgtop2
  7. Version: 2.40.0
  8. Release: 1%{?_dist_release}
  9. License: GPL2
  10. URL: ftp://ftp.gnome.org/pub/GNOME/sources/libgtop
  11. Group: System Environment/Libraries
  12. Source: http://ftp.gnome.org/pub/GNOME/sources/libgtop/2.34/libgtop-%{version}.tar.xz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: glib2-devel >= %{glib2_version}
  15. BuildRequires: gobject-introspection-devel
  16. BuildRequires: libXau-devel
  17. BuildRequires: libSM-devel
  18. Requires: glib2 >= %{glib2_version}
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. %description
  22. libgtop is a library for portably obtaining information about processes,
  23. such as their PID, memory usage, etc.
  24. %package devel
  25. Summary: Libraries and include files for developing with libgtop.
  26. Summary(ja): libgtop の開発に必要なライブラリ、インクルードファイル
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}
  29. Requires: glib2-devel >= %{glib2_version}
  30. %description devel
  31. This package provides the necessary development libraries and include
  32. files to allow you to develop with libgtop.
  33. %prep
  34. %setup -q -n libgtop-%{version}
  35. %build
  36. %configure \
  37. --disable-static \
  38. --enable-introspection
  39. make
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make install DESTDIR=$RPM_BUILD_ROOT
  43. # remove .{a,la} files
  44. /bin/rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
  45. # not worth fooling with
  46. /bin/rm -rf $RPM_BUILD_ROOT%{_datadir}/info
  47. %find_lang %{po_package}
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %post -p /sbin/ldconfig
  51. %postun -p /sbin/ldconfig
  52. %files -f %{po_package}.lang
  53. %defattr(-, root, root)
  54. %license COPYING
  55. %doc AUTHORS ChangeLog NEWS README
  56. %{_bindir}/*
  57. %{_libdir}/*.so.*
  58. %{_libdir}/girepository-1.0/*.typelib
  59. %files devel
  60. %defattr(-, root, root)
  61. %{_includedir}/libgtop-2.0
  62. %{_libdir}/*.so
  63. %{_libdir}/pkgconfig/*.pc
  64. %{_datadir}/gir-1.0/*.gir
  65. %{_datadir}/gtk-doc/html/libgtop
  66. %changelog
  67. * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.40.0-1
  68. - new upstream release.
  69. * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.34.0-1
  70. - new upstream release
  71. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  72. - new upstream release
  73. * Fri May 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  74. - new upstream release
  75. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.5-2
  76. - rebuild with VineSeed environment
  77. * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.5-1
  78. - new upstream release
  79. * Sat Oct 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.4-2
  80. - add BuildRequires: gobject-introspection-devel, libSM-devel
  81. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.4-1
  82. - new upstream release
  83. * Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.3-1
  84. - new upstream release
  85. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  86. - new upstream release
  87. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-2
  88. - rebuild with rpm-4.8.1 for pkg-config file
  89. * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1
  90. - new upstream release
  91. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  92. - new upstream release
  93. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  94. - new upstream release
  95. - remove static library
  96. * Sat Mar 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.26.0-1
  97. - new upstream release
  98. - changed License: LGPL to GPL2 (See NEWS)
  99. * Sun Jan 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.3-1
  100. - new upstream release
  101. * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  102. - new upstream release
  103. * Mon May 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
  104. - new upstream release
  105. - added BuildRequires: libXau-devel
  106. - spec in UTF-8
  107. * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  108. - new upstream release
  109. * Sat Mar 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1
  110. - new upstream release
  111. * Sat Nov 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.0-0vl1
  112. - new upstream release
  113. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.8-0vl1
  114. - new upstream release
  115. * Mon Feb 05 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.14.6-0vl2
  116. - add gtk-doc/html/libgtop/* to install files
  117. * Fri Feb 02 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.14.6-0vl1
  118. - new upstream release with security fix
  119. * Sun Sep 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.4-0vl1
  120. - new upstream release
  121. * Tue Aug 1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.2-0vl1
  122. - new upstream release
  123. * Mon May 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.1-0vl1
  124. - new upstream release
  125. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  126. - new upstream release
  127. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.92-0vl1
  128. - new upstream release
  129. * Tue Feb 14 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.2-0vl1
  130. - new upstream release
  131. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  132. - new upstream release
  133. * Thu Aug 04 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.90-0vl1
  134. - new upstream release
  135. * Mon May 30 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.1-0vl1
  136. - new upstream version
  137. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  138. - new upstream version
  139. * Sun Feb 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-0vl1
  140. - new upstream release
  141. * Mon Nov 8 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
  142. - new upstream release
  143. * Mon Dec 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.8-0vl1
  144. - new upstream release
  145. - rebuild with new toolchains
  146. * Wed Aug 27 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.4-0vl1
  147. - new upstream release
  148. - fixed URL
  149. * Sun Aug 17 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.3-0vl1
  150. - new upstream release
  151. * Thu Jan 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.1-0vl1
  152. - new upstream release
  153. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.0-0vl1
  154. - build for Vine Linux
  155. * Fri Nov 8 2002 Havoc Pennington <hp@redhat.com>
  156. - rebuild
  157. - remove nonexistent doc files
  158. - fix uninstalled but unpackaged files
  159. * Tue Jun 25 2002 Owen Taylor <otaylor@redhat.com>
  160. - Fix missing po files
  161. * Sat Jun 15 2002 Havoc Pennington <hp@redhat.com>
  162. - 2.0.0
  163. - check file list, lose libgnomesupport
  164. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  165. - automated rebuild
  166. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  167. - rebuild in different environment
  168. * Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
  169. - .la files evil
  170. * Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
  171. - rebuild for glib 2.0
  172. * Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
  173. - 1.90.2
  174. * Mon Jan 28 2002 Havoc Pennington <hp@redhat.com>
  175. - Initial build