folks-vl.spec 5.9 KB

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