folks-vl.spec 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. %global folks_module_version 46
  2. Summary: GObject contact aggregation library
  3. Name: folks
  4. Version: 0.14.0
  5. Release: 1%{?_dist_release}
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: LGPLv2+
  9. URL: https://telepathy.freedesktop.org/wiki/Folks
  10. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  11. Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  12. BuildRequires: meson
  13. BuildRequires: chrpath
  14. BuildRequires: evolution-data-server-devel >= 3.0.1
  15. BuildRequires: glib2-devel
  16. BuildRequires: gobject-introspection-devel
  17. BuildRequires: libgee-devel
  18. BuildRequires: libxml2-devel
  19. BuildConflicts: libsocialweb-devel
  20. BuildRequires: python3-devel
  21. BuildRequires: python3-rpm-macros
  22. BuildRequires: python3-setuptools
  23. BuildRequires: readline-devel
  24. BuildRequires: tracker-devel
  25. BuildRequires: python3-dbusmock
  26. BuildRequires: vala
  27. BuildRequires: vala-tools
  28. BuildRequires: libgee-vala
  29. BuildRequires: evolution-data-server-vala
  30. Requires(postun,posttrans): glib2
  31. %description
  32. libfolks is a library that aggregates people from multiple sources (e.g.
  33. Telepathy connection managers and eventually evolution data server,
  34. Facebook, etc.) to create meta-contacts.
  35. %package devel
  36. Summary: Development files for %{name}
  37. Group: Development/Libraries
  38. Requires: %{name} = %{version}-%{release}
  39. Requires: libgee-devel
  40. Requires: glib2-devel
  41. Requires: pkgconfig
  42. %description devel
  43. The %{name}-devel package contains libraries and header files for
  44. developing applications that use %{name}.
  45. %package vala
  46. Summary: Vala bindings for %{name}
  47. Summary(ja): %{name} の Vala バインディング
  48. Group: Development/Libraries
  49. Requires: %{name} = %{version}-%{release}
  50. Requires: vala
  51. Requires: libgee-vala
  52. Requires: evolution-data-server-vala
  53. %description vala
  54. Vala bindings for %{name}.
  55. %prep
  56. %setup -q
  57. %build
  58. %meson \
  59. -Dtelepathy_backend=false \
  60. -Dtracker_backend=true \
  61. -Dinstalled_tests=false
  62. %meson_build
  63. %install
  64. %meson_install
  65. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  66. # Remove lib64 rpaths
  67. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/folks/%{folks_module_version}/backends/key-file/key-file.so
  68. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/folks/%{folks_module_version}/backends/ofono/ofono.so
  69. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/folks/%{folks_module_version}/backends/bluez/bluez.so
  70. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/folks/%{folks_module_version}/backends/eds/eds.so
  71. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/folks/%{folks_module_version}/backends/dummy/dummy.so
  72. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libfolks-dummy.so
  73. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libfolks-eds.so
  74. chrpath --delete $RPM_BUILD_ROOT%{_bindir}/folks-import
  75. chrpath --delete $RPM_BUILD_ROOT%{_bindir}/folks-inspect
  76. %find_lang %{name}
  77. %post -p /sbin/ldconfig
  78. %postun
  79. /sbin/ldconfig
  80. if [ $1 -eq 0 ]; then
  81. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  82. fi
  83. %posttrans
  84. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  85. %files -f %{name}.lang
  86. %defattr(-,root,root,-)
  87. %license COPYING
  88. %doc AUTHORS ChangeLog README
  89. %{_bindir}/%{name}-import
  90. %{_bindir}/%{name}-inspect
  91. %{_libdir}/*.so.*
  92. %{_libdir}/folks
  93. %{_libdir}/girepository-1.0/*.typelib
  94. %{_datadir}/GConf/gsettings/folks.convert
  95. %{_datadir}/glib-2.0/schemas/org.freedesktop.folks.gschema.xml
  96. %files devel
  97. %defattr(-,root,root,-)
  98. %{_includedir}/folks
  99. %{_libdir}/*.so
  100. %{_libdir}/pkgconfig/folks*.pc
  101. %{_datadir}/gir-1.0/*.gir
  102. %files vala
  103. %defattr(-,root,root,-)
  104. %{_datadir}/vala/vapi/folks-dummy.deps
  105. %{_datadir}/vala/vapi/folks-dummy.vapi
  106. %{_datadir}/vala/vapi/folks-eds.deps
  107. %{_datadir}/vala/vapi/folks-eds.vapi
  108. %{_datadir}/vala/vapi/folks-tracker.deps
  109. %{_datadir}/vala/vapi/folks-tracker.vapi
  110. %{_datadir}/vala/vapi/folks.deps
  111. %{_datadir}/vala/vapi/folks.vapi
  112. %changelog
  113. * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.14.0-1
  114. - new upstream release.
  115. - disabled telepathy.
  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