folks-vl.spec 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. %define tp_glib_ver 0.18.0
  2. Name: folks
  3. Version: 0.9.5
  4. Release: 2%{?_dist_release}
  5. Summary: GObject contact aggregation library
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://telepathy.freedesktop.org/wiki/Folks
  9. Source0: http://download.gnome.org/sources/folks/0.9/%{name}-%{version}.tar.xz
  10. Patch0: folks-0.9.5-git20131001.patch
  11. BuildRequires: telepathy-glib-devel >= %{tp_glib_ver}
  12. BuildRequires: telepathy-glib-vala >= %{tp_glib_ver}
  13. BuildRequires: evolution-data-server-devel >= 3.0.1
  14. BuildRequires: glib2-devel
  15. BuildRequires: libgee-devel
  16. BuildRequires: libxml2-devel
  17. BuildRequires: libsocialweb-devel
  18. BuildRequires: libzeitgeist-devel
  19. BuildRequires: vala
  20. BuildRequires: vala-tools
  21. BuildRequires: libgee-vala
  22. BuildRequires: evolution-data-server-vala
  23. Requires(postun,posttrans): glib2
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. Packager: Takemikaduchi
  27. %description
  28. libfolks is a library that aggregates people from multiple sources (e.g.
  29. Telepathy connection managers and eventually evolution data server,
  30. Facebook, etc.) to create meta-contacts.
  31. %package devel
  32. Summary: Development files for %{name}
  33. Group: Development/Libraries
  34. Requires: %{name} = %{version}-%{release}
  35. Requires: telepathy-glib-devel >= %{tp_glib_ver}
  36. Requires: libgee-devel
  37. Requires: glib2-devel
  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. Summary(ja): %{name} の Vala バインディング
  45. Group: Development/Libraries
  46. Requires: %{name} = %{version}-%{release}
  47. Requires: vala
  48. Requires: libgee-vala
  49. Requires: evolution-data-server-vala
  50. %description vala
  51. Vala bindings for %{name}.
  52. %prep
  53. %setup -q
  54. %patch0 -p1
  55. %build
  56. NOCONFIGURE=1 ./autogen.sh
  57. %configure \
  58. --disable-static \
  59. --disable-fatal-warnings
  60. make %{?_smp_mflags}
  61. %install
  62. make install DESTDIR=$RPM_BUILD_ROOT
  63. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  64. %find_lang %{name}
  65. %post -p /sbin/ldconfig
  66. %postun
  67. /sbin/ldconfig
  68. if [ $1 -eq 0 ]; then
  69. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  70. fi
  71. %posttrans
  72. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  73. %files -f %{name}.lang
  74. %defattr(-,root,root,-)
  75. %doc AUTHORS ChangeLog COPYING README
  76. %{_bindir}/%{name}-import
  77. %{_libdir}/*.so.*
  78. %{_libdir}/folks
  79. %{_libdir}/girepository-1.0/*.typelib
  80. %{_datadir}/GConf/gsettings/folks.convert
  81. %{_datadir}/glib-2.0/schemas/org.freedesktop.folks.gschema.xml
  82. %files devel
  83. %defattr(-,root,root,-)
  84. %{_includedir}/folks
  85. %{_libdir}/*.so
  86. %{_libdir}/pkgconfig/folks*.pc
  87. %{_datadir}/gir-1.0/*.gir
  88. %files vala
  89. %defattr(-,root,root,-)
  90. %{_datadir}/vala/vapi/folks-eds.deps
  91. %{_datadir}/vala/vapi/folks-eds.vapi
  92. %{_datadir}/vala/vapi/folks-libsocialweb.deps
  93. %{_datadir}/vala/vapi/folks-libsocialweb.vapi
  94. %{_datadir}/vala/vapi/folks-telepathy.deps
  95. %{_datadir}/vala/vapi/folks-telepathy.vapi
  96. %{_datadir}/vala/vapi/folks.deps
  97. %{_datadir}/vala/vapi/folks.vapi
  98. %changelog
  99. * Sat Dec 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.5-2
  100. - rebuild with VineSeed environment
  101. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.5-1
  102. - new upstream release
  103. - add BuildRequires: libgee-vala, evolution-data-server-vala
  104. - add Patch0 (folks-0.9.5-git20131001.patch)
  105. * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2-1
  106. - new upstream release
  107. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.1-1
  108. - new upstream release
  109. - change BuildRequires: libgee-devel instead of libgee06-devel
  110. - add BuildRequires: vala, vala-tools
  111. - create %%{name}-vala subpackage
  112. * Fri Oct 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-1
  113. - new upstream release
  114. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.4.1-1
  115. - new upstream release
  116. - change BuildRequires: libgee06-devel instead of libgee-devel
  117. - add BuildRequires: libzeitgeist-devel
  118. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.9-1
  119. - new upstream release
  120. * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.6-1
  121. - new upstream release
  122. * Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.5-1
  123. - new upstream release
  124. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4.1-1
  125. - new upstream release
  126. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.3.2-1
  127. - new upstream release
  128. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.3-1
  129. - new upstream release
  130. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.1-1
  131. - new upstream release
  132. - add BuildRequires: libsocialweb-devel
  133. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.0-1
  134. - new upstream release
  135. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5.2-1
  136. - new upstream release
  137. - add BuildRequires: GConf2-devel
  138. * Sun Oct 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-1
  139. - initial build for Vine Linux
  140. * Wed Sep 29 2010 jkeating - 0.2.0-2
  141. - Rebuilt for gcc bug 634757
  142. * Sat Sep 25 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.2.0-1
  143. - Update to 0.2.0.
  144. - Add missing requires to devel subpackage.
  145. - Drop DSO linkng patch. Fixed upstream.
  146. * Sun Sep 12 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.1.17-1
  147. - Update to 0.1.17.
  148. - Add patch to fix DSO linking for import tool.
  149. - Add BR on libxml2-devel so import tool is built.
  150. * Wed Sep 1 2010 Yanko Kaneti <yaneti@declera.com> 0.1.16-1
  151. - New upstream release.
  152. * Mon Aug 30 2010 Yanko Kaneti <yaneti@declera.com> 0.1.15-1
  153. - New upstream release. Drop the RPATH hacks.
  154. * Thu Aug 19 2010 Yanko Kaneti <yaneti@declera.com> 0.1.14.1-1
  155. - New upstream release. Requires vala >= 0.9.6
  156. * Thu Aug 19 2010 Yanko Kaneti <yaneti@declera.com> 0.1.14-2
  157. - Use chrpath to remove the lingering RPATH because the guidelines
  158. recomended sed makes libtool incapable of building the tp-lowlevel.gir.
  159. Better solution welcome.
  160. * Wed Aug 18 2010 Yanko Kaneti <yaneti@declera.com> 0.1.14-1
  161. - New upstream. Remove patch and libtool hack.
  162. * Tue Aug 17 2010 Yanko Kaneti <yaneti@declera.com> 0.1.13-4
  163. - Add BR: vala-tools
  164. * Tue Aug 17 2010 Yanko Kaneti <yaneti@declera.com> 0.1.13-3
  165. - Update for the available telepathy-glib vala packaging
  166. * Thu Aug 12 2010 Yanko Kaneti <yaneti@declera.com> 0.1.13-2
  167. - Add BR: libgee-devel
  168. * Thu Aug 12 2010 Yanko Kaneti <yaneti@declera.com> 0.1.13-1
  169. - New upstream release
  170. - Autofoo for the new vala api versioning
  171. * Tue Aug 3 2010 Yanko Kaneti <yaneti@declera.com> 0.1.12-1
  172. - New upstream release
  173. * Mon Aug 2 2010 Yanko Kaneti <yaneti@declera.com> 0.1.11-1
  174. - Packaged for review