pangomm-vl.spec 4.6 KB

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