glibmm-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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.2
  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. * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.2-1
  74. - new upstream release
  75. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.1-1
  76. - new upstream release
  77. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.0-1
  78. - new upstream release
  79. * Sun Sep 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1
  80. - new upstream release
  81. * Fri Mar 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.0-1
  82. - new upstream release
  83. * Fri Jan 16 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.18.1-1
  84. - new upstream release
  85. * Thu Oct 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.0-2
  86. - added --disable-static option to %%configure
  87. - Fix Source URL typo
  88. * Mon Sep 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.0-1
  89. - new upstream release
  90. - spec in UTF-8
  91. * Sat Jul 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.4-1vl5
  92. - new upstream release
  93. * Sat Apr 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.1-1vl5
  94. - new upstream release
  95. - devel documents are installed into gtk-doc dir
  96. * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.2-0vl1
  97. - new upstream release
  98. * Sun Sep 23 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.0-0vl1
  99. - new upstream release
  100. * Sun Sep 23 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.10-0vl2
  101. - rebuilt for VinePlus/4.x
  102. * Wed Aug 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.10-0vl1
  103. - new upstream release
  104. - rebuilt with glib-2.14.0
  105. * Sat May 19 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.12.9-0vl2
  106. - rebuild with new environment/toolchain.
  107. * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.9-0vl1
  108. - new upstream release
  109. * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.8-0vl2
  110. - rebuild with new environment/toolchain
  111. * Sat Apr 28 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.8-0vl1
  112. - new upstream release
  113. * Mon Jan 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.4-0vl1
  114. - new upstream release
  115. * Sun Sep 24 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.1-0vl2
  116. - new upstream release
  117. * Sat Aug 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.0-0vl1
  118. - new upstream release
  119. - rebuilt with glib2-2.12.2
  120. * Sat May 20 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.3-0vl1
  121. - new upstream release
  122. * Mon May 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.2-0vl1
  123. - new upstream release
  124. * Tue Apr 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.1-0vl1
  125. - new upstream release
  126. * Mon Mar 13 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.0-0vl1
  127. - new upstream release
  128. * Sat Feb 4 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.4-0vl1
  129. - new upstream release
  130. * Sat Nov 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
  131. - new upstream release
  132. * Tue Sep 20 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.0-0vl1
  133. - new upstream release
  134. - added Requires: glib2-devel, libsigc++-devel to devel package
  135. * Sat Jul 30 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.1-0vl2
  136. - rebuild with libsigc++-2.0.15
  137. - fixed document location in devel package
  138. * Mon Mar 21 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.1-0vl1
  139. - new upstream
  140. * Sat Feb 26 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.7-0vl1
  141. - new upstream
  142. * Sun Nov 14 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.5-0vl1
  143. - rebuild for Vine Linux
  144. - added Japanese summary
  145. * Sun Jun 20 2004 Marcin Garski <garski@poczta.onet.pl> 2.4.3-1.fc2
  146. - Updated to version 2.4.3
  147. * Sat Jun 05 2004 Marcin Garski <garski@poczta.onet.pl> 2.4.2-1.fc2
  148. - Initial specfile