gnome-phone-manager-vl.spec 8.2 KB

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