libsocialweb-vl.spec 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. Name: libsocialweb
  2. Version: 0.25.21
  3. Release: 1%{?_dist_release}
  4. Summary: A social network data aggregator
  5. Group: Applications/Internet
  6. License: LGPLv2
  7. URL: http://www.gnome.org/
  8. Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.25/%{name}-%{version}.tar.xz
  9. Source1: flickr
  10. Source2: twitter
  11. Source3: lastfm
  12. Source4: twitpic
  13. Source5: facebook
  14. Source6: facebook.key
  15. BuildRequires: dbus-glib-devel
  16. BuildRequires: geoclue-devel
  17. BuildRequires: glib2-devel
  18. BuildRequires: GConf2-devel
  19. BuildRequires: libgnome-keyring-devel
  20. BuildRequires: gobject-introspection-devel
  21. BuildRequires: intltool
  22. BuildRequires: json-glib-devel
  23. BuildRequires: libsoup-devel
  24. BuildRequires: libxslt-devel
  25. BuildRequires: NetworkManager-glib-devel
  26. BuildRequires: rest-devel
  27. BuildRequires: vala
  28. BuildRequires: vala-tools
  29. Requires: %{name}-keys = %{version}-%{release}
  30. Vendor: Vine Linux
  31. Distribution: Vine Linux
  32. Packager: Takemikaduchi
  33. %description
  34. libsocialweb is a social data server which fetches data from the "social web",
  35. such as your friend's blog posts and photos, upcoming events, recently played
  36. tracks, and pending eBay* auctions. It also provides a service to update
  37. your status on web services which support it, such as MySpace* and Twitter*.
  38. %package devel
  39. Summary: Development package for %{name}
  40. Group: Development/Libraries
  41. Requires: %{name} = %{version}-%{release}
  42. Requires: pkgconfig
  43. %description devel
  44. Files for development with %{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. %description vala
  52. Vala bindings for %{name}.
  53. %package keys
  54. Summary: API keys for %{name}
  55. Group: Applications/Internet
  56. BuildArch: noarch
  57. Requires: %{name} = %{version}-%{release}
  58. %description keys
  59. Keys allowing access to various web services through libsocialweb.
  60. %prep
  61. %setup -q
  62. chmod 644 examples/*.py
  63. ## nuke unwanted rpaths, see also
  64. ## https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
  65. sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
  66. %build
  67. %configure --with-gnome --with-online=networkmanager --disable-static --enable-all-services --enable-vala-bindings
  68. make %{?_smp_mflags} V=1
  69. %install
  70. make install DESTDIR=$RPM_BUILD_ROOT
  71. #Remove libtool archives and static libs.
  72. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  73. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
  74. mkdir -p $RPM_BUILD_ROOT%{_datadir}/libsocialweb/keys
  75. cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/libsocialweb/keys
  76. %find_lang %{name}
  77. %post -p /sbin/ldconfig
  78. %postun -p /sbin/ldconfig
  79. %files -f %{name}.lang
  80. %defattr(-,root,root,-)
  81. %doc AUTHORS COPYING TODO
  82. %{_libdir}/libsocialweb*.so.*
  83. %{_libdir}/libsocialweb/
  84. %{_libdir}/girepository-1.0/SocialWebClient-0.25.typelib
  85. %dir %{_datadir}/libsocialweb/
  86. %{_datadir}/libsocialweb/services/
  87. %{_datadir}/dbus-1/services/libsocialweb.service
  88. %{_libexecdir}/libsocialweb-core
  89. %files devel
  90. %defattr(-,root,root,-)
  91. %doc tests/*.c examples/*c examples/*.py
  92. %doc %{_datadir}/gtk-doc/html/libsocialweb
  93. %doc %{_datadir}/gtk-doc/html/libsocialweb-client
  94. %doc %{_datadir}/gtk-doc/html/libsocialweb-dbus
  95. %{_includedir}/libsocialweb
  96. %{_libdir}/pkgconfig/libsocialweb*
  97. %{_libdir}/libsocialweb*so
  98. %{_datadir}/gir-1.0/SocialWebClient-0.25.gir
  99. %files vala
  100. %defattr(-,root,root,-)
  101. %{_datadir}/vala/vapi/libsocialweb-client.deps
  102. %{_datadir}/vala/vapi/libsocialweb-client.vapi
  103. %files keys
  104. %defattr(-,root,root,-)
  105. %{_datadir}/libsocialweb/keys
  106. %changelog
  107. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.25.21-1
  108. - new upstream release
  109. - create %%{name}-vala subpackage
  110. * Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.25.20-1
  111. - new upstream release
  112. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.25.19-1
  113. - initial build for Vine Linux
  114. * Mon Jul 04 2011 Bastien Nocera <bnocera@redhat.com> 0.25.19-1
  115. - Update to 0.25.19
  116. * Wed Jun 15 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.18-1
  117. - Update to 0.25.18
  118. * Sun May 22 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.17-1
  119. - Update to 0.25.17
  120. * Sun Apr 24 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.16-1
  121. - Update to 0.25.16, update twitter keys
  122. * Mon Apr 11 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.15-1
  123. - Update to 0.25.15, enable gobject-introspection support
  124. * Sun Apr 3 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.14-1
  125. - Update to 0.25.14
  126. * Mon Mar 28 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.13-1
  127. - Update to 0.25.13
  128. * Fri Mar 25 2011 Dan Williams <dcbw@redhat.com> 0.25.12-2
  129. - Update for NetworkManager 0.9
  130. * Wed Mar 23 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.12-1
  131. - Update to 0.25.12
  132. * Tue Feb 22 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.11-2
  133. - add generic facebook api key
  134. * Tue Feb 22 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.11-1
  135. - Update to 0.25.11
  136. - Add support for Facebook, Plurk, Sina, SmugMug, and YouTube.
  137. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25.7-2
  138. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  139. * Fri Oct 29 2010 Peter Robinson <pbrobinson@gmail.com> 0.25.7-1
  140. - Update to 0.25.7
  141. - libsocialweb is now hosted at gnome.org so we have real tarfiles
  142. * Mon Sep 27 2010 Peter Robinson <pbrobinson@gmail.com> 0.25.5-1
  143. - Update to 0.25.5
  144. * Wed Sep 22 2010 Peter Robinson <pbrobinson@gmail.com> 0.25.4-1
  145. - Update to 0.25.4
  146. * Tue Sep 7 2010 Peter Robinson <pbrobinson@gmail.com> 0.25.3-2
  147. - Add api key for twitpic
  148. * Mon Aug 30 2010 Peter Robinson <pbrobinson@gmail.com> 0.25.3-1
  149. - Update to 0.25.3, MySpace and Digg are obsolete upstream
  150. * Thu Aug 26 2010 Bastien Nocera <bnocera@redhat.com> 0.25.1-2
  151. - Add API keys to the -keys sub-package
  152. * Sat Aug 7 2010 Peter Robinson <pbrobinson@gmail.com> 0.25.1-1
  153. - Update to 0.25.1, disable MySpace and Digg until they build again
  154. * Sun Jul 11 2010 Peter Robinson <pbrobinson@gmail.com> 0.24.9-1
  155. - Update to 0.24.9
  156. * Wed May 12 2010 Peter Robinson <pbrobinson@gmail.com> 0.24.8-1
  157. - rename package from mojito to libsocialweb
  158. - Update to 0.24.8
  159. * Mon Jan 25 2010 Peter Robinson <pbrobinson@gmail.com> 0.22.1-1
  160. - Update to 0.22.1
  161. * Mon Jan 25 2010 Peter Robinson <pbrobinson@gmail.com> 0.22.0-2
  162. - Add upstream patch to fix crash
  163. * Tue Jan 12 2010 Peter Robinson <pbrobinson@gmail.com> 0.22.0-1
  164. - New major upstream 0.22.0 release
  165. * Wed Dec 2 2009 Peter Robinson <pbrobinson@gmail.com> 0.21.7-1
  166. - Update to 0.21.7
  167. * Thu Nov 19 2009 Peter Robinson <pbrobinson@gmail.com> 0.21.6-1
  168. - Update to 0.21.6, move to the official tarball release
  169. * Mon Oct 26 2009 Peter Robinson <pbrobinson@gmail.com> 0.21.5-1
  170. - Update to 0.21.5
  171. * Wed Oct 21 2009 Peter Robinson <pbrobinson@gmail.com> 0.21.4-2
  172. - enable digg support
  173. * Wed Oct 21 2009 Peter Robinson <pbrobinson@gmail.com> 0.21.4-1
  174. - Update to 0.21.4
  175. * Sat Oct 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.21.3-1
  176. - Update to 0.21.3
  177. * Fri Oct 2 2009 Peter Robinson <pbrobinson@gmail.com> 0.21.2-1
  178. - Update to 0.21.2
  179. * Tue Sep 15 2009 Peter Robinson <pbrobinson@gmail.com> 0.21.1-1
  180. - Update to 0.21.1
  181. * Thu Sep 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.20.1-1
  182. - Update to 0.20.1
  183. * Mon Aug 31 2009 Peter Robinson <pbrobinson@gmail.com> 0.20-5
  184. - Actually commit patch for detection of new NetworkManager
  185. * Mon Aug 31 2009 Peter Robinson <pbrobinson@gmail.com> 0.20-4
  186. - Add patch for detection of new NetworkManager
  187. * Mon Aug 31 2009 Peter Robinson <pbrobinson@gmail.com> 0.20-3
  188. - Rebuild for new NetworkManager
  189. * Sat Aug 22 2009 Peter Robinson <pbrobinson@gmail.com> 0.20-2
  190. - Enable twitter, lastfm, MySpace and Flickr networks
  191. * Wed Aug 19 2009 Peter Robinson <pbrobinson@gmail.com> 0.20-1
  192. - Update to 0.20
  193. * Wed Aug 5 2009 Peter Robinson <pbrobinson@gmail.com> 0.19.2-2
  194. - A few minor spec file cleanups
  195. * Wed Aug 5 2009 Peter Robinson <pbrobinson@gmail.com> 0.19.2-1
  196. - Update to 0.19.2 - updated translations
  197. * Tue Jul 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.19.1-1
  198. - Update to 0.19.1 - updated translations
  199. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-2
  200. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  201. * Sat Jul 18 2009 Peter Robinson <pbrobinson@gmail.com> 0.19-1
  202. - Update to 0.19
  203. * Mon Jul 6 2009 Peter Robinson <pbrobinson@gmail.com> 0.18.1-1
  204. - Update to 0.18.1
  205. * Mon Jul 6 2009 Peter Robinson <pbrobinson@gmail.com> 0.17-3
  206. - Add some additional buildreqs
  207. * Mon Jul 6 2009 Peter Robinson <pbrobinson@gmail.com> 0.17-2
  208. - Add some additional buildreqs
  209. * Mon Jul 6 2009 Peter Robinson <pbrobinson@gmail.com> 0.17-1
  210. - Update to new 0.17 release, add language support and more backends
  211. * Wed Jun 17 2009 Peter Robinson <pbrobinson@gmail.com> 0.10.3-2
  212. - Add extra build deps
  213. * Wed Jun 17 2009 Peter Robinson <pbrobinson@gmail.com> 0.10.3-1
  214. - Initial packaging