gnome-phone-manager-vl.spec 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. Name: gnome-phone-manager
  2. Summary: Gnome Phone Manager
  3. Summary(ja): Gnome Phone マネージャー
  4. Version: 0.69
  5. Release: 2%{?_dist_release}
  6. License: GPLv2+
  7. Group: Applications/System
  8. Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-phone-manager/%{version}/%{name}-%{version}.tar.xz
  9. URL: http://usefulinc.com/software/phonemgr/
  10. #----------------------------------------------------------------------------
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. #----------------------------------------------------------------------------
  13. BuildRequires: gtk3-devel >= 3.0.0
  14. BuildRequires: gnome-bluetooth-devel >= 3.0.0
  15. BuildRequires: bluez-libs-devel
  16. BuildRequires: GConf2-devel
  17. BuildRequires: gnokii-devel >= 0.6.28
  18. BuildRequires: gstreamer-devel >= 0.10
  19. BuildRequires: gnome-icon-theme >= 2.19.1
  20. # For libebook (evolution address book)
  21. BuildRequires: evolution-data-server-devel >= 3.0.0
  22. BuildRequires: gtkspell-devel
  23. BuildRequires: telepathy-glib-devel
  24. BuildRequires: libcanberra-gtk3-devel
  25. # search telepathy
  26. # empathy - GNOME インスタントメッセージクラアイント
  27. # libtelepathy - Telepathy クライアントを簡単に記述するための GLibライブラリ
  28. # libtelepathy-devel - Development files for libtelepathy
  29. # telepathy-filesystem - Telepathy ファイルシステムレイアウト
  30. # telepathy-gabble - Jabber/XMPP 接続マネージャ
  31. # telepathy-glib - Telepathy の GLib バインディング
  32. # telepathy-glib-devel - Development files for telepathy-glib
  33. # telepathy-haze - マルチプロトコル Libpurple 接続マネージャ
  34. # telepathy-mission-control - Central control for Telepathy connection manager
  35. # telepathy-mission-control-devel - Development files for telepathy-mission-control
  36. # telepathy-salut - Link-local XMPP telepathy 接続マネージャ
  37. # telepathy-stream-engine - メディアストリーミングを扱うための Telepathy クライア ント
  38. BuildRequires: perl(XML::Parser)
  39. BuildRequires: gettext
  40. BuildRequires: desktop-file-utils
  41. Requires(post,pre,preun): GConf2
  42. # https://bugzilla.redhat.com/show_bug.cgi?id=436773
  43. Patch0: gpm-telepathy-workaround.patch
  44. Patch1: gnome-phone-manager-0.68-eds.patch
  45. Patch2: gnome-phone-manager-0.69-drop-plugin.patch
  46. #----------------------------------------------------------------------------
  47. %description
  48. This program will connect to your mobile phone over a serial port,
  49. either via a cable, infrared (IrDA) or Bluetooth connection.
  50. For example it listens for text messages, and when they arrive,
  51. displays them on the desktop. A visual indicator is displayed in
  52. the notification area, if one is presently added to the panel.
  53. #----------------------------------------------------------------------------
  54. %package telepathy
  55. Summary: Telepathy connection manager to send and receive SMSes
  56. Group: Applications/System
  57. %description telepathy
  58. This program will connect to your mobile phone over a serial port,
  59. either via a cable, infrared (IrDA) or Bluetooth connection.
  60. This plugin to Telepathy allows you to send and receive messages using any
  61. Instant Messaging application that uses Telepathy, such as Empathy.
  62. #----------------------------------------------------------------------------
  63. %prep
  64. %setup -q
  65. ## %patch0 -p0
  66. %patch1 -p1 -b .eds
  67. %patch2 -p0 -b .plugins
  68. %build
  69. %configure
  70. make %{?_smp_mflags}
  71. #----------------------------------------------------------------------------
  72. %install
  73. %{__rm} -rf $RPM_BUILD_ROOT
  74. make DESTDIR=$RPM_BUILD_ROOT install
  75. # This should be in empathy instead
  76. install -m0644 -D telepathy/sms.profile $RPM_BUILD_ROOT%{_datadir}/mission-control/profiles/sms.profile
  77. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
  78. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  79. desktop-file-install \
  80. --delete-original \
  81. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  82. --add-category X-VineLinux \
  83. $RPM_BUILD_ROOT%{_datadir}/applications/gnome-phone-manager.desktop
  84. %find_lang %{name}
  85. %post
  86. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  87. gconftool-2 --makefile-install-rule \
  88. %{_sysconfdir}/gconf/schemas/gnome-phone-manager.schemas \
  89. >& /dev/null || :
  90. %pre
  91. if [ "$1" -gt 1 ]; then
  92. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  93. gconftool-2 --makefile-uninstall-rule \
  94. %{_sysconfdir}/gconf/schemas/gnome-phone-manager.schemas \
  95. >& /dev/null || :
  96. fi
  97. %preun
  98. if [ "$1" -eq 0 ]; then
  99. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  100. gconftool-2 --makefile-uninstall-rule \
  101. %{_sysconfdir}/gconf/schemas/gnome-phone-manager.schemas \
  102. >& /dev/null || :
  103. fi
  104. %clean
  105. %{__rm} -rf $RPM_BUILD_ROOT
  106. %files -f %{name}.lang
  107. %defattr(-, root, root, -)
  108. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  109. %{_sysconfdir}/gconf/schemas/gnome-phone-manager.schemas
  110. %{_bindir}/gnome-phone-manager
  111. %{_libdir}/gnome-bluetooth/plugins/libphonemgr.so
  112. %{_datadir}/applications/*.desktop
  113. %{_datadir}/gnome-phone-manager/
  114. %{_mandir}/man1/gnome-phone-manager.1.gz
  115. %files telepathy
  116. %{_libexecdir}/telepathy-phoney
  117. %{_datadir}/telepathy/managers/*
  118. %{_datadir}/dbus-1/services/*
  119. %{_datadir}/mission-control/profiles/*
  120. #----------------------------------------------------------------------------
  121. # Maintainers: babasaki@mindgear.org
  122. #
  123. #----------------------------------------------------------------------------
  124. %changelog
  125. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.69-2
  126. - rebuild with evolution-data-server-3.18.1
  127. * Sun Aug 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.69-1
  128. - update to 0.69
  129. - add Patch1,2 from fedora
  130. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.68-1
  131. - new upstream release
  132. * Sun Sep 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.67-2
  133. - rebuild with evolution-data-server-3.1.90
  134. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.67-1
  135. - new upstream release
  136. - change BuildRequires: gtk3-devel instead of gtk2-devel
  137. - change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel
  138. * Wed Nov 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.65-2
  139. - rebuils with evolution-data-server-2.32.0 and gnome-bluetooth-2.32.0
  140. * Sat Jul 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.65-1
  141. - new upstream release
  142. - add BuildRequires: libcanberra-devel
  143. - drop Patch0
  144. * Mon Oct 27 2008 Seiichirou Babasaki - 0.60-4
  145. - Import gnome-phone-manager - Packager: Babasaki
  146. - Updated specfile
  147. #----------------------------------------------------------------------------
  148. * Tue Oct 07 2008 - Bastien Nocera <bnocera@redhat.com> - 0.60-3
  149. - Rebuild for new libgnokii
  150. * Thu Sep 11 2008 Matthias Clasen <mclasen@redhat.com>
  151. - Rebuild
  152. * Wed Jun 11 2008 - Bastien Nocera <bnocera@redhat.com> - 0.60-1
  153. - Update to 0.60
  154. - Remove vendor from desktop file
  155. * Wed May 14 2008 - Bastien Nocera <bnocera@redhat.com> - 0.51-2
  156. - Rebuild
  157. * Fri Mar 21 2008 - Bastien Nocera <bnocera@redhat.com> - 0.51-1
  158. - Update to 0.51
  159. * Fri Mar 14 2008 - Bastien Nocera <bnocera@redhat.com> - 0.50-3
  160. - Add a patch from upstream to fix connection to serial devices (#356861)
  161. * Mon Mar 10 2008 - Bastien Nocera <bnocera@redhat.com> - 0.50-2
  162. - Work-around for telepathy brokeness
  163. * Mon Mar 10 2008 - Bastien Nocera <bnocera@redhat.com> - 0.50-1
  164. - Update to 0.50
  165. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.40-3
  166. - Autorebuild for GCC 4.3
  167. * Wed Dec 12 2007 - Bastien Nocera <bnocera@redhat.com> - 0.40-2
  168. - Rebuild against new release of gnokii
  169. * Wed Nov 14 2007 - Bastien Nocera <bnocera@redhat.com> - 0.40-1
  170. - Update to 0.40
  171. - Add experimental telepathy backend in a subpackage
  172. * Mon Oct 29 2007 - Bastien Nocera <bnocera@redhat.com> - 0.30-1
  173. - Update to 0.30
  174. - Fix sending non-ASCII texts (for real)
  175. - Add debugging improvements
  176. * Wed Oct 17 2007 - Bastien Nocera <bnocera@redhat.com> - 0.20-1
  177. - Update to 0.20
  178. * Sun Aug 19 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10-1
  179. - Update to 0.10 (#253400)
  180. - Remove obsolete work-arounds and dependencies
  181. - Update BRs
  182. - Add GConf scriptlets
  183. * Fri Aug 17 2007 Linus Walleij <triad@df.lth.se> 0.8-6
  184. - Update license field from GPL to GPLv2+
  185. * Wed Nov 15 2006 Linus Walleij <triad@df.lth.se> 0.8-5
  186. - Rebuild to pick up libbtctl i/f bump.
  187. * Sun Oct 29 2006 Linus Walleij <triad@df.lth.se> 0.8-4
  188. - Rebuild to pick up libedataserver i/f bump.
  189. * Sun Oct 8 2006 Linus Walleij <triad@df.lth.se> 0.8-3
  190. - Pick up intltool.
  191. * Sun Oct 8 2006 Linus Walleij <triad@df.lth.se> 0.8-2
  192. - Pick up libtool.
  193. * Sun Oct 8 2006 Linus Walleij <triad@df.lth.se> 0.8-1
  194. - New upstream version including patch.
  195. - The icon is an an even weirder place now!
  196. - Have to run som autotools on this one to get it working.
  197. * Tue Sep 5 2006 Linus Walleij <triad@df.lth.se> 0.7-5
  198. - Patch to compile with new version of E-D-S.
  199. * Thu Aug 10 2006 Linus Walleij <triad@df.lth.se> 0.7-4
  200. - Missing BR
  201. * Thu Aug 3 2006 Linus Walleij <triad@df.lth.se> 0.7-3
  202. - Updated after feedback from Chris Weyl
  203. - Bogus problem with cellphone.png icon image
  204. * Sat Jul 29 2006 Linus Walleij <triad@df.lth.se> 0.7-2
  205. - Updated after feedback from Parag and Paul
  206. * Tue Jun 27 2006 Linus Walleij <triad@df.lth.se> 0.7-1
  207. - 0.7 Release
  208. - Took Matthews nrpm package and Fedora Extrasificated it
  209. * Fri Sep 09 2005 Matthew Hall <matt@nrpms.net> 0.6-1
  210. - 0.6 Release
  211. * Mon Jun 20 2005 Matthew Hall <matt@nrpms.net> 0.4-1
  212. - 0.4 Release