telepathy-glib-vl.spec 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. %define dbus_ver 1.4.0
  2. %define dbus_glib_ver 0.88
  3. %define glib_ver 2.26
  4. Summary: GLib bindings for Telepathy
  5. Summary(ja): Telepathy の GLib バインディング
  6. Name: telepathy-glib
  7. Version: 0.13.0
  8. Release: 1%{?_dist_release}
  9. Group: System Environment/Libraries
  10. License: LGPLv2+
  11. URL: http://telepathy.freedesktop.org/wiki/FrontPage
  12. Source0: http://telepathy.freedesktop.org/releases/%{name}/%{name}-%{version}.tar.gz
  13. Patch0: telepathy-glib-0.13.0-broken-pkgconfig.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  15. BuildRequires: gtk-doc
  16. BuildRequires: dbus-devel >= %{dbus_ver}
  17. BuildRequires: dbus-glib-devel >= %{dbus_glib_ver}
  18. BuildRequires: glib2-devel >= %{glib_ver}
  19. BuildRequires: libxslt
  20. BuildRequires: python
  21. BuildRequires: gobject-introspection-devel
  22. BuildRequires: vala-devel
  23. BuildRequires: vala-tools
  24. %description
  25. Telepathy-glib is the glib bindings for the telepathy unified framework
  26. for all forms of real time conversations, including instant messaging, IRC,
  27. voice calls and video calls.
  28. %package devel
  29. Summary: Development files for %{name}
  30. Summary(ja): %{name} の開発用ファイル
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: %{name}-vala = %{version}-%{release}
  34. Requires: telepathy-filesystem
  35. Requires: dbus-devel >= %{dbus_ver}
  36. Requires: dbus-glib-devel >= %{dbus_glib_ver}
  37. Requires: glib2-devel >= %{glib_ver}
  38. Requires: pkgconfig
  39. %description devel
  40. The %{name}-devel package contains libraries and header files for
  41. developing applications that use %{name}.
  42. %package vala
  43. Summary: Vala bindings for %{name}
  44. Group: Development/Libraries
  45. Requires: %{name} = %{version}-%{release}
  46. Requires: vala
  47. %description vala
  48. Vala bindings for %{name}.
  49. %prep
  50. %setup -q
  51. %patch0 -p1 -b .pkg-config
  52. %check
  53. make check
  54. %build
  55. %configure --enable-static=no --enable-vala-bindings=yes --enable-introspection=yes
  56. make %{?_smp_mflags}
  57. %install
  58. rm -rf $RPM_BUILD_ROOT
  59. make install DESTDIR=$RPM_BUILD_ROOT
  60. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  61. %clean
  62. rm -rf $RPM_BUILD_ROOT
  63. %post -p /sbin/ldconfig
  64. %postun -p /sbin/ldconfig
  65. %files
  66. %defattr(-,root,root,-)
  67. %doc AUTHORS COPYING README NEWS
  68. %{_libdir}/libtelepathy-glib*.so.*
  69. %{_libdir}/girepository-1.0
  70. %files devel
  71. %defattr(-,root,root,-)
  72. %doc %{_datadir}/gtk-doc/html/%{name}/
  73. %{_libdir}/libtelepathy-glib.so
  74. %{_libdir}/pkgconfig/%{name}.pc
  75. %{_includedir}/telepathy-1.0/%{name}/
  76. %{_datadir}/gir-1.0
  77. %files vala
  78. %defattr(-,root,root,-)
  79. %{_datadir}/vala/vapi/telepathy-glib.deps
  80. %{_datadir}/vala/vapi/telepathy-glib.vapi
  81. %changelog
  82. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.0-1
  83. - new upstream release
  84. - add BuildRequires: gobject-introspection-devel, vala-devel, vala-tools
  85. - update Patch0
  86. - add vala sub package
  87. * Thu Sep 23 2010 IWAI, Masaharu <iwai@alib.jp> 0.10.2-2
  88. - build with rpm-4.8.1-1 for pkg-config file
  89. - add broken pkg-config file patch (Patch0): from Fedora 0.11.15-1
  90. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.2-1
  91. - new upstream release
  92. * Wed Nov 4 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.1-1
  93. - new upstream release
  94. * Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.14-1
  95. - initial build for Vine Linux
  96. * Sat Aug 23 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.14-1
  97. - Update to 0.7.14.
  98. - Add README & NEWS to docs.
  99. * Tue Jul 29 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.13-1
  100. - Update to 0.7.13.
  101. * Mon Jul 28 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.12-2
  102. - Update broken-pkgconfig patch. (#456621)
  103. * Mon Jul 21 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.12-1
  104. - Update to 0.7.12.
  105. - Update pkgconfig patch.
  106. * Thu Jul 3 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.11-1
  107. - Update to 0.7.11.
  108. * Fri Jun 6 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.10-1
  109. - Update 0.7.10.
  110. * Fri May 30 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.9-1
  111. - Update to 0.7.9.
  112. - Enable tests.
  113. * Fri May 9 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.8-1
  114. - Update to 0.7.8.
  115. * Tue Apr 22 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.6-1
  116. - Update to 0.7.6.
  117. * Mon Mar 24 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.5-4
  118. - Bump.
  119. * Fri Mar 21 2008 - Bastien Nocera <bnocera@redhat.com> - 0.7.5-3
  120. - Really fix #436773
  121. * Mon Mar 10 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.5-2
  122. - Add requires for glib2-devel to devel package. (#436773)
  123. * Fri Mar 7 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.5-1
  124. - Update to 0.7.5.
  125. - Remove hack to fix ppc64 build. fixed upstream.
  126. * Thu Mar 6 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.4-1
  127. - Update to 0.7.4.
  128. - Disable test for now.
  129. - Add hack to fix build on ppc64.
  130. * Fri Feb 8 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.0-2
  131. - Rebuild for gcc-4.3.
  132. * Fri Nov 23 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.7.0-1
  133. - Update to 0.7.0.
  134. - Drop unstable-static subpackage.
  135. - Bump min. versions of dbus-devel & dbus-glib-devel.
  136. * Mon Nov 12 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.6.1-1
  137. - Update to 0.6.1.
  138. * Wed Aug 29 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.14-1
  139. - Update to 0.5.14.
  140. * Tue Aug 28 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.13-6
  141. - Add BR on python.
  142. * Tue Aug 21 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.13-5
  143. - Rebuild.
  144. * Sun Aug 5 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.13-4
  145. - Update license tag.
  146. * Mon Jun 18 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.13-3
  147. - Add check section to run test suite.
  148. - Mark gtk-docs as docs.
  149. * Sat Jun 16 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.13-2
  150. - Change Group to more accurate categoryn.
  151. - Require pkgconfig on the devel package.
  152. - Move headers for unstable libs to unstable-static sub-pacakge.
  153. * Tue Jun 5 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.13-1
  154. - Update to 0.5.13.
  155. * Wed May 16 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.11-1
  156. - Update to 0.5.11.
  157. * Sat Apr 21 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.10-1
  158. - Intial spec.