folks-vl.spec 6.4 KB

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