glibmm-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. %define ver 2.4
  2. Summary: A C++ interface for glib library.
  3. Summary(ja): glib ライブラリの C++ インターフェイス
  4. Name: glibmm
  5. Version: 2.24.1
  6. Release: 1%{?_dist_release}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. URL: http://www.gtkmm.org/
  10. Source0: http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.20/%{name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Requires: glib2 >= 2.21.1
  13. Requires: libsigc++ >= 2.0.0
  14. BuildRequires: glib2-devel >= 2.21.1
  15. BuildRequires: libsigc++-devel >= 2.0.0
  16. BuildRequires: m4
  17. %description
  18. glibmm is a set of C++ bindings for glib, including cross-platform APIs such
  19. as a std::string-like UTF8 string class, string utility methods, such as a
  20. text encoding converter API, file access, and threads.
  21. %package devel
  22. Summary: Development files for %{name}.
  23. Summary(ja): %{name} の開発用ファイル
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. Requires: glib2-devel >= 2.21.1
  27. Requires: libsigc++-devel >= 2.0.0
  28. Requires: perl
  29. %description devel
  30. This package contains the libraries, include files and other resources
  31. needed to develop applications using %{name}.
  32. %prep
  33. %setup -q -n %{name}-%{version}
  34. %build
  35. %configure --disable-static
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make DESTDIR=$RPM_BUILD_ROOT install
  40. #mkdir -p docs-to-install
  41. #cp -pr $RPM_BUILD_ROOT%{_datadir}/doc/glibmm-%{ver}/* docs-to-install
  42. #rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/glibmm-%{ver}
  43. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  44. # Fix documentation installation, put everything under gtk-doc
  45. mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/glibmm-%{ver}
  46. mv ${RPM_BUILD_ROOT}%{_docdir}/glibmm-%{ver}/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/glibmm-%{ver}/
  47. # Fix devhelp relative path
  48. sed -i 's:doc/glibmm-%{ver}:gtk-doc/html/glibmm-%{ver}:g' $RPM_BUILD_ROOT%{_datadir}/devhelp/books/glibmm-%{ver}/glibmm-%{ver}.devhelp2
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  51. %clean
  52. rm -rf $RPM_BUILD_ROOT
  53. %files
  54. %defattr(-, root, root)
  55. %doc AUTHORS ChangeLog COPYING NEWS README
  56. %{_libdir}/libgiomm*.so.*
  57. %{_libdir}/libglibmm*.so.*
  58. %files devel
  59. %defattr(-, root, root)
  60. %{_includedir}/*
  61. %{_libdir}/giomm-%{ver}
  62. %{_libdir}/glibmm-%{ver}
  63. #{_libdir}/libgiomm*.a
  64. %{_libdir}/libgiomm*.so
  65. #{_libdir}/libglibmm*.a
  66. %{_libdir}/libglibmm*.so
  67. %{_libdir}/pkgconfig/*.pc
  68. %{_datadir}/aclocal/*.m4
  69. %{_datadir}/glibmm-%{ver}
  70. %{_datadir}/gtk-doc/html/*
  71. %{_datadir}/devhelp/books/glibmm-%{ver}
  72. %changelog
  73. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.1-1
  74. - new upstream release
  75. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.0-1
  76. - new upstream release
  77. * Sun Sep 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1
  78. - new upstream release
  79. * Fri Mar 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.0-1
  80. - new upstream release
  81. * Fri Jan 16 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.18.1-1
  82. - new upstream release
  83. * Thu Oct 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.0-2
  84. - added --disable-static option to %%configure
  85. - Fix Source URL typo
  86. * Mon Sep 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.0-1
  87. - new upstream release
  88. - spec in UTF-8
  89. * Sat Jul 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.4-1vl5
  90. - new upstream release
  91. * Sat Apr 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.1-1vl5
  92. - new upstream release
  93. - devel documents are installed into gtk-doc dir
  94. * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.2-0vl1
  95. - new upstream release
  96. * Sun Sep 23 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.0-0vl1
  97. - new upstream release
  98. * Sun Sep 23 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.10-0vl2
  99. - rebuilt for VinePlus/4.x
  100. * Wed Aug 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.10-0vl1
  101. - new upstream release
  102. - rebuilt with glib-2.14.0
  103. * Sat May 19 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.12.9-0vl2
  104. - rebuild with new environment/toolchain.
  105. * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.9-0vl1
  106. - new upstream release
  107. * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.8-0vl2
  108. - rebuild with new environment/toolchain
  109. * Sat Apr 28 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.8-0vl1
  110. - new upstream release
  111. * Mon Jan 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.4-0vl1
  112. - new upstream release
  113. * Sun Sep 24 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.1-0vl2
  114. - new upstream release
  115. * Sat Aug 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.0-0vl1
  116. - new upstream release
  117. - rebuilt with glib2-2.12.2
  118. * Sat May 20 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.3-0vl1
  119. - new upstream release
  120. * Mon May 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.2-0vl1
  121. - new upstream release
  122. * Tue Apr 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.1-0vl1
  123. - new upstream release
  124. * Mon Mar 13 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.0-0vl1
  125. - new upstream release
  126. * Sat Feb 4 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.4-0vl1
  127. - new upstream release
  128. * Sat Nov 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
  129. - new upstream release
  130. * Tue Sep 20 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.0-0vl1
  131. - new upstream release
  132. - added Requires: glib2-devel, libsigc++-devel to devel package
  133. * Sat Jul 30 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.1-0vl2
  134. - rebuild with libsigc++-2.0.15
  135. - fixed document location in devel package
  136. * Mon Mar 21 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.1-0vl1
  137. - new upstream
  138. * Sat Feb 26 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.7-0vl1
  139. - new upstream
  140. * Sun Nov 14 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.5-0vl1
  141. - rebuild for Vine Linux
  142. - added Japanese summary
  143. * Sun Jun 20 2004 Marcin Garski <garski@poczta.onet.pl> 2.4.3-1.fc2
  144. - Updated to version 2.4.3
  145. * Sat Jun 05 2004 Marcin Garski <garski@poczta.onet.pl> 2.4.2-1.fc2
  146. - Initial specfile