libglademm2-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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: 3%{?_dist_release}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. URL: http://gtkmm.sourceforge.net/
  10. Source: http://ftp.gnome.org/pub/GNOME/sources/libglademm/2.6/libglademm-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gcc-c++
  13. BuildRequires: libglade2-devel >= 2.6.1
  14. BuildRequires: gtkmm2-devel >= 2.6.0
  15. Requires: libglade2 >= 2.6.1
  16. Requires: gtkmm2 >= 2.6.0
  17. %description
  18. The C++ interface for the libglade user interface library.
  19. %package devel
  20. Summary: Development libraries and headers for libglademm2.
  21. Summary(ja): libglademm2 の開発用ライブラリおよびヘッダファイル
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: libglade2-devel >= 2.6.1
  25. Requires: gtkmm2-devel >= 2.6.0
  26. %description devel
  27. Development files for libglademm2, the C++ interface for the libglade user
  28. interface library.
  29. %prep
  30. %setup -q -n libglademm-%{version}
  31. %build
  32. %configure --disable-static --docdir=%{_datadir}/gtk-doc/
  33. make %{?_smp_mflags}
  34. %install
  35. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  36. make install DESTDIR=$RPM_BUILD_ROOT
  37. # Fix documentation installation, put everything under gtk-doc
  38. mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/libglademm-%{ver}
  39. mv ${RPM_BUILD_ROOT}%{_docdir}/gnomemm-2.6/libglademm-%{ver}/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/libglademm-%{ver}/
  40. # devhelp path fix
  41. sed -i 's/..\/..\/..\/doc\/gnomemm-2.6/..\/..\/..\/gtk-doc\/html/g' $RPM_BUILD_ROOT%{_datadir}/devhelp/books/libglademm-%{ver}/libglademm-%{ver}.devhelp
  42. sed -i 's/html\/..\/..\/index\.html/html\/index\.html/g' $RPM_BUILD_ROOT%{_datadir}/devhelp/books/libglademm-%{ver}/libglademm-%{ver}.devhelp
  43. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  44. %post -p /sbin/ldconfig
  45. %postun -p /sbin/ldconfig
  46. %clean
  47. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  48. %files
  49. %defattr(-, root, root)
  50. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  51. %{_libdir}/*.so.*
  52. %files devel
  53. %defattr(-, root, root)
  54. %{_includedir}/*
  55. %{_libdir}/*.so
  56. %{_libdir}/libglademm-2.4
  57. %{_libdir}/pkgconfig/*.pc
  58. %{_datadir}/devhelp/books/libglademm-2.4
  59. %{_datadir}/gtk-doc/html/*
  60. %changelog
  61. * Tue Nov 4 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.6.7-3
  62. - rebuilt on current VineSeed
  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.