libsocialweb-vl.spec 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. Name: libsocialweb
  2. Version: 0.25.21
  3. Release: 2%{?_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. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.25.21-2
  108. - rebuild with VineSeed environment
  109. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.25.21-1
  110. - new upstream release
  111. - create %%{name}-vala subpackage
  112. * Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.25.20-1
  113. - new upstream release
  114. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.25.19-1
  115. - initial build for Vine Linux
  116. * Mon Jul 04 2011 Bastien Nocera <bnocera@redhat.com> 0.25.19-1
  117. - Update to 0.25.19
  118. * Wed Jun 15 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.18-1
  119. - Update to 0.25.18
  120. * Sun May 22 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.17-1
  121. - Update to 0.25.17
  122. * Sun Apr 24 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.16-1
  123. - Update to 0.25.16, update twitter keys
  124. * Mon Apr 11 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.15-1
  125. - Update to 0.25.15, enable gobject-introspection support
  126. * Sun Apr 3 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.14-1
  127. - Update to 0.25.14
  128. * Mon Mar 28 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.13-1
  129. - Update to 0.25.13
  130. * Fri Mar 25 2011 Dan Williams <dcbw@redhat.com> 0.25.12-2
  131. - Update for NetworkManager 0.9
  132. * Wed Mar 23 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.12-1
  133. - Update to 0.25.12
  134. * Tue Feb 22 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.11-2
  135. - add generic facebook api key
  136. * Tue Feb 22 2011 Peter Robinson <pbrobinson@gmail.com> 0.25.11-1
  137. - Update to 0.25.11
  138. - Add support for Facebook, Plurk, Sina, SmugMug, and YouTube.
  139. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25.7-2
  140. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  141. * Fri Oct 29 2010 Peter Robinson <pbrobinson@gmail.com> 0.25.7-1
  142. - Update to 0.25.7
  143. - libsocialweb is now hosted at gnome.org so we have real tarfiles
  144. * Mon Sep 27 2010 Peter Robinson <pbrobinson@gmail.com> 0.25.5-1
  145. - Update to 0.25.5
  146. * Wed Sep 22 2010 Peter Robinson <pbrobinson@gmail.com> 0.25.4-1
  147. - Update to 0.25.4
  148. * Tue Sep 7 2010 Peter Robinson <pbrobinson@gmail.com> 0.25.3-2
  149. - Add api key for twitpic
  150. * Mon Aug 30 2010 Peter Robinson <pbrobinson@gmail.com> 0.25.3-1
  151. - Update to 0.25.3, MySpace and Digg are obsolete upstream
  152. * Thu Aug 26 2010 Bastien Nocera <bnocera@redhat.com> 0.25.1-2
  153. - Add API keys to the -keys sub-package
  154. * Sat Aug 7 2010 Peter Robinson <pbrobinson@gmail.com> 0.25.1-1
  155. - Update to 0.25.1, disable MySpace and Digg until they build again
  156. * Sun Jul 11 2010 Peter Robinson <pbrobinson@gmail.com> 0.24.9-1
  157. - Update to 0.24.9
  158. * Wed May 12 2010 Peter Robinson <pbrobinson@gmail.com> 0.24.8-1
  159. - rename package from mojito to libsocialweb
  160. - Update to 0.24.8
  161. * Mon Jan 25 2010 Peter Robinson <pbrobinson@gmail.com> 0.22.1-1
  162. - Update to 0.22.1
  163. * Mon Jan 25 2010 Peter Robinson <pbrobinson@gmail.com> 0.22.0-2
  164. - Add upstream patch to fix crash
  165. * Tue Jan 12 2010 Peter Robinson <pbrobinson@gmail.com> 0.22.0-1
  166. - New major upstream 0.22.0 release
  167. * Wed Dec 2 2009 Peter Robinson <pbrobinson@gmail.com> 0.21.7-1
  168. - Update to 0.21.7
  169. * Thu Nov 19 2009 Peter Robinson <pbrobinson@gmail.com> 0.21.6-1
  170. - Update to 0.21.6, move to the official tarball release
  171. * Mon Oct 26 2009 Peter Robinson <pbrobinson@gmail.com> 0.21.5-1
  172. - Update to 0.21.5
  173. * Wed Oct 21 2009 Peter Robinson <pbrobinson@gmail.com> 0.21.4-2
  174. - enable digg support
  175. * Wed Oct 21 2009 Peter Robinson <pbrobinson@gmail.com> 0.21.4-1
  176. - Update to 0.21.4
  177. * Sat Oct 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.21.3-1
  178. - Update to 0.21.3
  179. * Fri Oct 2 2009 Peter Robinson <pbrobinson@gmail.com> 0.21.2-1
  180. - Update to 0.21.2
  181. * Tue Sep 15 2009 Peter Robinson <pbrobinson@gmail.com> 0.21.1-1
  182. - Update to 0.21.1
  183. * Thu Sep 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.20.1-1
  184. - Update to 0.20.1
  185. * Mon Aug 31 2009 Peter Robinson <pbrobinson@gmail.com> 0.20-5
  186. - Actually commit patch for detection of new NetworkManager
  187. * Mon Aug 31 2009 Peter Robinson <pbrobinson@gmail.com> 0.20-4
  188. - Add patch for detection of new NetworkManager
  189. * Mon Aug 31 2009 Peter Robinson <pbrobinson@gmail.com> 0.20-3
  190. - Rebuild for new NetworkManager
  191. * Sat Aug 22 2009 Peter Robinson <pbrobinson@gmail.com> 0.20-2
  192. - Enable twitter, lastfm, MySpace and Flickr networks
  193. * Wed Aug 19 2009 Peter Robinson <pbrobinson@gmail.com> 0.20-1
  194. - Update to 0.20
  195. * Wed Aug 5 2009 Peter Robinson <pbrobinson@gmail.com> 0.19.2-2
  196. - A few minor spec file cleanups
  197. * Wed Aug 5 2009 Peter Robinson <pbrobinson@gmail.com> 0.19.2-1
  198. - Update to 0.19.2 - updated translations
  199. * Tue Jul 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.19.1-1
  200. - Update to 0.19.1 - updated translations
  201. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-2
  202. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  203. * Sat Jul 18 2009 Peter Robinson <pbrobinson@gmail.com> 0.19-1
  204. - Update to 0.19
  205. * Mon Jul 6 2009 Peter Robinson <pbrobinson@gmail.com> 0.18.1-1
  206. - Update to 0.18.1
  207. * Mon Jul 6 2009 Peter Robinson <pbrobinson@gmail.com> 0.17-3
  208. - Add some additional buildreqs
  209. * Mon Jul 6 2009 Peter Robinson <pbrobinson@gmail.com> 0.17-2
  210. - Add some additional buildreqs
  211. * Mon Jul 6 2009 Peter Robinson <pbrobinson@gmail.com> 0.17-1
  212. - Update to new 0.17 release, add language support and more backends
  213. * Wed Jun 17 2009 Peter Robinson <pbrobinson@gmail.com> 0.10.3-2
  214. - Add extra build deps
  215. * Wed Jun 17 2009 Peter Robinson <pbrobinson@gmail.com> 0.10.3-1
  216. - Initial packaging