libglademm2-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. %define ver 2.4
  2. Summary: The C++ interface for the libglade user interface library.
  3. Summary(ja): libglade ライブラリの C++ インターフェイス
  4. Name: libglademm2
  5. Version: 2.6.7
  6. Release: 2%{?_dist_release}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. Source: http://ftp.gnome.org/pub/GNOME/sources/libglademm/2.6/libglademm-%{version}.tar.bz2
  10. URL: http://gtkmm.sourceforge.net/
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Requires: libglade2 >= 2.3.6, gtkmm2 >= 2.6.0
  13. BuildRequires: gcc-c++, libglade2-devel >= 2.3.6, gtkmm2-devel >= 2.6.0
  14. %description
  15. The C++ interface for the libglade user interface library.
  16. %package devel
  17. Summary: Development libraries and headers for libglademm2.
  18. Summary(ja): libglademm2 の開発用ライブラリおよびヘッダファイル
  19. Group: Development/Libraries
  20. Requires: %{name} = %{version}-%{release}
  21. Requires: libglade2-devel >= 2.3.6
  22. Requires: gtkmm2-devel >= 2.6.0
  23. %description devel
  24. Development files for libglademm2, the C++ interface for the libglade user
  25. interface library.
  26. %prep
  27. %setup -q -n libglademm-%{version}
  28. %build
  29. %configure --disable-static
  30. make %{?_smp_mflags}
  31. %install
  32. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  33. %makeinstall
  34. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  35. # Fix documentation installation, put everything under gtk-doc
  36. mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/libglademm-%{ver}
  37. mv ${RPM_BUILD_ROOT}%{_docdir}/gnomemm-2.6/libglademm-%{ver}/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/libglademm-%{ver}/
  38. # devhelp path fix
  39. sed -i 's/..\/..\/..\/doc\/gnomemm-2.6/..\/..\/..\/gtk-doc\/html/g' $RPM_BUILD_ROOT%{_datadir}/devhelp/books/libglademm-%{ver}/libglademm-%{ver}.devhelp
  40. sed -i 's/html\/..\/..\/index\.html/html\/index\.html/g' $RPM_BUILD_ROOT%{_datadir}/devhelp/books/libglademm-%{ver}/libglademm-%{ver}.devhelp
  41. # Clean up docs
  42. #rm -rf examples/*/.deps
  43. %post -p /sbin/ldconfig
  44. %postun -p /sbin/ldconfig
  45. %clean
  46. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  47. %files
  48. %defattr(-, root, root)
  49. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  50. %{_libdir}/*.so.*
  51. %files devel
  52. %defattr(-, root, root)
  53. #doc examples
  54. %{_includedir}/*
  55. #{_libdir}/*.a
  56. #{_libdir}/*.la
  57. %{_libdir}/*.so
  58. %{_libdir}/libglademm-2.4
  59. %{_libdir}/pkgconfig/*.pc
  60. %{_datadir}/devhelp/books/libglademm-2.4
  61. %{_datadir}/gtk-doc/html/*
  62. %changelog
  63. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> - 2.6.7-2
  64. - build with rpm-4.8.1-1 for pkg-config file
  65. * Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.7-1
  66. - new upstream release
  67. - spec in UTF-8
  68. - added --disable-static for removing *.a files from devel package
  69. * Sat Apr 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.6-1vl5
  70. - new upstream release
  71. - devel documents are installed into gtk-doc dir
  72. - removed *.la files from devel package
  73. * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.5-0vl1
  74. - new upstream release
  75. * Fri May 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.3-0vl2
  76. - rebuilt with new toolchains
  77. * Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.3-0vl1
  78. - new upstream release
  79. * Mon May 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.2-0vl1
  80. - new upstream release
  81. * Fri Sep 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.1-0vl1
  82. - new upstream release
  83. - rebuild with gtkmm-2.8.0
  84. * Wed Nov 17 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.4.1-0vl1
  85. - new upstream release
  86. - build with gtkmm-2.4.7
  87. - fixed devhelp path
  88. * Fri Jan 30 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.1-2vl1
  89. - rebuild for Vine Linux
  90. * Thu Nov 13 2003 Matthias Saou <http://freshrpms.net/> - 2.0.1-2.fr
  91. - Rebuild for Fedora Core 1.
  92. * Thu May 8 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  93. - Initial RPM release.