pangomm-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. %define apiver 1.4
  2. Name: pangomm
  3. Version: 2.34.0
  4. Release: 1%{?_dist_release}
  5. Summary: C++ interface for Pango
  6. Summary(ja): Pango の C++ インターフェース
  7. Group: System Environment/Libraries
  8. License: LGPLv2+
  9. URL: http://gtkmm.sourceforge.net/
  10. Source0: http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.34/%{name}-%{version}.tar.xz
  11. Patch0: pangomm-2.14.0-devhelp.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: glibmm-devel >= 2.14.1
  14. BuildRequires: cairomm-devel >= 1.2.2
  15. BuildRequires: pango-devel >= 1.23.0
  16. #BuildRequires: doxygen graphviz
  17. Obsoletes: gtkmm2 < 2.13.5
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. pangomm provides a C++ interface to the Pango library. Highlights
  22. include typesafe callbacks, widgets extensible via inheritance and a
  23. comprehensive set of widget classes that can be freely combined to
  24. quickly create complex user interfaces.
  25. %package devel
  26. Summary: Headers for developing programs that will use %{name}
  27. Summary(ja): %{name} を使用するプログラムを開発するためのファイル
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. Requires: glibmm-devel >= 2.14.1
  31. Requires: cairomm-devel >= 1.2.2
  32. Requires: pango-devel >= 1.23.0
  33. Requires: pkgconfig gtk-doc
  34. Obsoletes: gtkmm2-devel < 2.13.5
  35. %description devel
  36. This package contains the libraries and header files needed for
  37. developing pangomm applications.
  38. %prep
  39. %setup -q
  40. #patch0 -p1
  41. %build
  42. %configure --disable-static
  43. make %{?_smp_mflags}
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. #make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  47. make install DESTDIR=$RPM_BUILD_ROOT
  48. #rm -rf $RPM_BUILD_ROOT%{_libdir}/pangomm-%{apiver}
  49. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  50. # Fix documentation installation, put everything under gtk-doc and fix
  51. # relative paths.
  52. mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/pangomm-%{apiver}
  53. mv $RPM_BUILD_ROOT%{_docdir}/pangomm-%{apiver}/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/pangomm-%{apiver}/
  54. rm -r ${RPM_BUILD_ROOT}%{_docdir}/pangomm-%{apiver}
  55. # Fix devhelp relative path
  56. sed -i 's:doc/pangomm-%{apiver}:gtk-doc/html/pangomm-%{apiver}:g' $RPM_BUILD_ROOT%{_datadir}/devhelp/books/pangomm-%{apiver}/pangomm-%{apiver}.devhelp2
  57. %clean
  58. rm -rf $RPM_BUILD_ROOT
  59. %post -p /sbin/ldconfig
  60. %postun -p /sbin/ldconfig
  61. %files
  62. %defattr(-, root, root, -)
  63. %doc AUTHORS ChangeLog COPYING NEWS README
  64. %{_libdir}/*.so.*
  65. %files devel
  66. %defattr(-, root, root, -)
  67. %{_includedir}/pangomm-%{apiver}
  68. %{_libdir}/*.so
  69. %{_libdir}/pangomm-%{apiver}/*
  70. %{_libdir}/pkgconfig/*.pc
  71. %{_datadir}/gtk-doc/html/pangomm-%{apiver}
  72. %{_datadir}/devhelp/books/pangomm-%{apiver}
  73. %changelog
  74. * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.34.0-1
  75. - new upstream release
  76. * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.28.4-1
  77. - new upstream release
  78. * Thu Oct 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.28.3-1
  79. - new upstream release
  80. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.28.2-1
  81. - new upstream release
  82. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> - 2.26.2-2
  83. - build with rpm-4.8.1-1 for pkg-config file
  84. * Sun Jul 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.26.2-1
  85. - new upstream release
  86. * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.26.1-1
  87. - new upstream release
  88. * Sun Sep 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.26.0-1
  89. - new upstream release
  90. * Fri Mar 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.24.0-1
  91. - new upstream release
  92. - dropped Patch0
  93. * Sat Oct 4 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.14.0-1
  94. - Initial build for Vine Linux
  95. - added Patch0 for documentation path fix
  96. * Fri Aug 29 2008 Denis Leroy <denis@poolshark.org> - 2.13.7-3
  97. - Obsoletes older gtkmm to avoid libpangomm conflict
  98. * Wed Aug 27 2008 Denis Leroy <denis@poolshark.org> - 2.13.7-2
  99. - Spec review fixes
  100. * Mon Aug 25 2008 Denis Leroy <denis@poolshark.org> - 2.13.7-1
  101. - First version