folks-vl.spec 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. %define tp_glib_ver 0.18.0
  2. %global folks_module_version 44
  3. Name: folks
  4. Version: 0.12.1
  5. Release: 1%{?_dist_release}
  6. Summary: GObject contact aggregation library
  7. Group: System Environment/Libraries
  8. License: LGPLv2+
  9. URL: http://telepathy.freedesktop.org/wiki/Folks
  10. %define major_minor %(echo %{version} | sed -e 's/\.[0-9]*$//')
  11. Source0: http://download.gnome.org/sources/folks/%{major_minor}/%{name}-%{version}.tar.xz
  12. BuildRequires: meson
  13. BuildRequires: chrpath
  14. BuildRequires: telepathy-glib-devel >= %{tp_glib_ver}
  15. BuildRequires: telepathy-glib-vala >= %{tp_glib_ver}
  16. BuildRequires: evolution-data-server-devel >= 3.0.1
  17. BuildRequires: glib2-devel
  18. BuildRequires: gobject-introspection-devel
  19. BuildRequires: libgee-devel
  20. BuildRequires: libxml2-devel
  21. BuildConflicts: libsocialweb-devel
  22. BuildRequires: python3-devel
  23. BuildRequires: python3-rpm-macros
  24. BuildRequires: python3-setuptools
  25. BuildRequires: readline-devel
  26. BuildRequires: tracker-devel
  27. BuildRequires: vala
  28. BuildRequires: vala-tools
  29. BuildRequires: libgee-vala
  30. BuildRequires: evolution-data-server-vala
  31. Requires(postun,posttrans): glib2
  32. Vendor: Project Vine
  33. Distribution: Vine Linux
  34. %description
  35. libfolks is a library that aggregates people from multiple sources (e.g.
  36. Telepathy connection managers and eventually evolution data server,
  37. Facebook, etc.) to create meta-contacts.
  38. %package devel
  39. Summary: Development files for %{name}
  40. Group: Development/Libraries
  41. Requires: %{name} = %{version}-%{release}
  42. Requires: telepathy-glib-devel >= %{tp_glib_ver}
  43. Requires: libgee-devel
  44. Requires: glib2-devel
  45. Requires: pkgconfig
  46. %description devel
  47. The %{name}-devel package contains libraries and header files for
  48. developing applications that use %{name}.
  49. %package vala
  50. Summary: Vala bindings for %{name}
  51. Summary(ja): %{name} の Vala バインディング
  52. Group: Development/Libraries
  53. Requires: %{name} = %{version}-%{release}
  54. Requires: vala
  55. Requires: libgee-vala
  56. Requires: evolution-data-server-vala
  57. %description vala
  58. Vala bindings for %{name}.
  59. %prep
  60. %setup -q
  61. %build
  62. %meson
  63. %meson_build
  64. %install
  65. %meson_install
  66. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  67. # Remove lib64 rpaths
  68. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/folks/%{folks_module_version}/backends/key-file/key-file.so
  69. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/folks/%{folks_module_version}/backends/ofono/ofono.so
  70. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/folks/%{folks_module_version}/backends/bluez/bluez.so
  71. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/folks/%{folks_module_version}/backends/eds/eds.so
  72. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/folks/%{folks_module_version}/backends/dummy/dummy.so
  73. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/folks/%{folks_module_version}/backends/telepathy/telepathy.so
  74. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libfolks-dummy.so
  75. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libfolks-eds.so
  76. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libfolks-telepathy.so
  77. chrpath --delete $RPM_BUILD_ROOT%{_bindir}/folks-import
  78. chrpath --delete $RPM_BUILD_ROOT%{_bindir}/folks-inspect
  79. %find_lang %{name}
  80. %post -p /sbin/ldconfig
  81. %postun
  82. /sbin/ldconfig
  83. if [ $1 -eq 0 ]; then
  84. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  85. fi
  86. %posttrans
  87. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  88. %files -f %{name}.lang
  89. %defattr(-,root,root,-)
  90. %license COPYING
  91. %doc AUTHORS ChangeLog README
  92. %{_bindir}/%{name}-import
  93. %{_bindir}/%{name}-inspect
  94. %{_libdir}/*.so.*
  95. %{_libdir}/folks
  96. %{_libdir}/girepository-1.0/*.typelib
  97. #{_datadir}/GConf/gsettings/folks.convert
  98. %{_datadir}/glib-2.0/schemas/org.freedesktop.folks.gschema.xml
  99. %files devel
  100. %defattr(-,root,root,-)
  101. %{_includedir}/folks
  102. %{_libdir}/*.so
  103. %{_libdir}/pkgconfig/folks*.pc
  104. %{_datadir}/gir-1.0/*.gir
  105. %files vala
  106. %defattr(-,root,root,-)
  107. %{_datadir}/vala/vapi/folks-dummy.deps
  108. %{_datadir}/vala/vapi/folks-dummy.vapi
  109. %{_datadir}/vala/vapi/folks-eds.deps
  110. %{_datadir}/vala/vapi/folks-eds.vapi
  111. %{_datadir}/vala/vapi/folks-telepathy.deps
  112. %{_datadir}/vala/vapi/folks-telepathy.vapi
  113. %{_datadir}/vala/vapi/folks.deps
  114. %{_datadir}/vala/vapi/folks.vapi
  115. %changelog
  116. * Sun Sep 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.12.1-1
  117. - new upstream release.
  118. - disabled libsocialweb.
  119. * Sun Dec 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.11.4-2
  120. - rebuilt with evolution-data-server-3.30.3.
  121. * Sat Jan 27 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.11.4-1
  122. - new upstream release.
  123. * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.11.2-2
  124. - rebuild with evolution-data-server-3.20.0
  125. * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.11.2-1
  126. - new upstream release
  127. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.11.1-2
  128. - rebuild with evolution-data-server-3.18.1
  129. * Sat May 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.11.1-1
  130. - new upstream release
  131. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.11.0-1
  132. - new upstream release
  133. - add BuildRequires: tracker-devel
  134. * Wed Jan 28 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.1-1
  135. - new upstream release
  136. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.0-1
  137. - new upstream release
  138. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6-1
  139. - new upstream release
  140. - remove Patch0 (folks-0.9.5-git20131001.patch)
  141. * Sat Dec 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.5-2
  142. - rebuild with VineSeed environment
  143. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.5-1
  144. - new upstream release
  145. - add BuildRequires: libgee-vala, evolution-data-server-vala
  146. - add Patch0 (folks-0.9.5-git20131001.patch)
  147. * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2-1
  148. - new upstream release
  149. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.1-1
  150. - new upstream release
  151. - change BuildRequires: libgee-devel instead of libgee06-devel
  152. - add BuildRequires: vala, vala-tools
  153. - create %%{name}-vala subpackage
  154. * Fri Oct 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-1
  155. - new upstream release
  156. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.4.1-1
  157. - new upstream release
  158. - change BuildRequires: libgee06-devel instead of libgee-devel
  159. - add BuildRequires: libzeitgeist-devel
  160. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.9-1
  161. - new upstream release
  162. * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.6-1
  163. - new upstream release
  164. * Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.5-1
  165. - new upstream release
  166. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4.1-1
  167. - new upstream release
  168. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.3.2-1
  169. - new upstream release
  170. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.3-1
  171. - new upstream release
  172. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.1-1
  173. - new upstream release
  174. - add BuildRequires: libsocialweb-devel
  175. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.0-1
  176. - new upstream release
  177. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5.2-1
  178. - new upstream release
  179. - add BuildRequires: GConf2-devel
  180. * Sun Oct 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-1
  181. - initial build for Vine Linux
  182. * Wed Sep 29 2010 jkeating - 0.2.0-2
  183. - Rebuilt for gcc bug 634757
  184. * Sat Sep 25 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.2.0-1
  185. - Update to 0.2.0.
  186. - Add missing requires to devel subpackage.
  187. - Drop DSO linkng patch. Fixed upstream.
  188. * Sun Sep 12 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.1.17-1
  189. - Update to 0.1.17.
  190. - Add patch to fix DSO linking for import tool.
  191. - Add BR on libxml2-devel so import tool is built.
  192. * Wed Sep 1 2010 Yanko Kaneti <yaneti@declera.com> 0.1.16-1
  193. - New upstream release.
  194. * Mon Aug 30 2010 Yanko Kaneti <yaneti@declera.com> 0.1.15-1
  195. - New upstream release. Drop the RPATH hacks.
  196. * Thu Aug 19 2010 Yanko Kaneti <yaneti@declera.com> 0.1.14.1-1
  197. - New upstream release. Requires vala >= 0.9.6
  198. * Thu Aug 19 2010 Yanko Kaneti <yaneti@declera.com> 0.1.14-2
  199. - Use chrpath to remove the lingering RPATH because the guidelines
  200. recomended sed makes libtool incapable of building the tp-lowlevel.gir.
  201. Better solution welcome.
  202. * Wed Aug 18 2010 Yanko Kaneti <yaneti@declera.com> 0.1.14-1
  203. - New upstream. Remove patch and libtool hack.
  204. * Tue Aug 17 2010 Yanko Kaneti <yaneti@declera.com> 0.1.13-4
  205. - Add BR: vala-tools
  206. * Tue Aug 17 2010 Yanko Kaneti <yaneti@declera.com> 0.1.13-3
  207. - Update for the available telepathy-glib vala packaging
  208. * Thu Aug 12 2010 Yanko Kaneti <yaneti@declera.com> 0.1.13-2
  209. - Add BR: libgee-devel
  210. * Thu Aug 12 2010 Yanko Kaneti <yaneti@declera.com> 0.1.13-1
  211. - New upstream release
  212. - Autofoo for the new vala api versioning
  213. * Tue Aug 3 2010 Yanko Kaneti <yaneti@declera.com> 0.1.12-1
  214. - New upstream release
  215. * Mon Aug 2 2010 Yanko Kaneti <yaneti@declera.com> 0.1.11-1
  216. - Packaged for review