gnome-phone-manager-vl.spec 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. Name: gnome-phone-manager
  2. Summary: Gnome Phone Manager
  3. Summary(ja): Gnome Phone マネージャー
  4. Version: 0.65
  5. Release: 1%{?_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. * Sat Jul 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.65-1
  120. - new upstream release
  121. - add BuildRequires: libcanberra-devel
  122. - drop Patch0
  123. * Mon Oct 27 2008 Seiichirou Babasaki - 0.60-4
  124. - Import gnome-phone-manager - Packager: Babasaki
  125. - Updated specfile
  126. #----------------------------------------------------------------------------
  127. * Tue Oct 07 2008 - Bastien Nocera <bnocera@redhat.com> - 0.60-3
  128. - Rebuild for new libgnokii
  129. * Thu Sep 11 2008 Matthias Clasen <mclasen@redhat.com>
  130. - Rebuild
  131. * Wed Jun 11 2008 - Bastien Nocera <bnocera@redhat.com> - 0.60-1
  132. - Update to 0.60
  133. - Remove vendor from desktop file
  134. * Wed May 14 2008 - Bastien Nocera <bnocera@redhat.com> - 0.51-2
  135. - Rebuild
  136. * Fri Mar 21 2008 - Bastien Nocera <bnocera@redhat.com> - 0.51-1
  137. - Update to 0.51
  138. * Fri Mar 14 2008 - Bastien Nocera <bnocera@redhat.com> - 0.50-3
  139. - Add a patch from upstream to fix connection to serial devices (#356861)
  140. * Mon Mar 10 2008 - Bastien Nocera <bnocera@redhat.com> - 0.50-2
  141. - Work-around for telepathy brokeness
  142. * Mon Mar 10 2008 - Bastien Nocera <bnocera@redhat.com> - 0.50-1
  143. - Update to 0.50
  144. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.40-3
  145. - Autorebuild for GCC 4.3
  146. * Wed Dec 12 2007 - Bastien Nocera <bnocera@redhat.com> - 0.40-2
  147. - Rebuild against new release of gnokii
  148. * Wed Nov 14 2007 - Bastien Nocera <bnocera@redhat.com> - 0.40-1
  149. - Update to 0.40
  150. - Add experimental telepathy backend in a subpackage
  151. * Mon Oct 29 2007 - Bastien Nocera <bnocera@redhat.com> - 0.30-1
  152. - Update to 0.30
  153. - Fix sending non-ASCII texts (for real)
  154. - Add debugging improvements
  155. * Wed Oct 17 2007 - Bastien Nocera <bnocera@redhat.com> - 0.20-1
  156. - Update to 0.20
  157. * Sun Aug 19 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10-1
  158. - Update to 0.10 (#253400)
  159. - Remove obsolete work-arounds and dependencies
  160. - Update BRs
  161. - Add GConf scriptlets
  162. * Fri Aug 17 2007 Linus Walleij <triad@df.lth.se> 0.8-6
  163. - Update license field from GPL to GPLv2+
  164. * Sun Nov 15 2006 Linus Walleij <triad@df.lth.se> 0.8-5
  165. - Rebuild to pick up libbtctl i/f bump.
  166. * Sun Oct 29 2006 Linus Walleij <triad@df.lth.se> 0.8-4
  167. - Rebuild to pick up libedataserver i/f bump.
  168. * Sun Oct 8 2006 Linus Walleij <triad@df.lth.se> 0.8-3
  169. - Pick up intltool.
  170. * Sun Oct 8 2006 Linus Walleij <triad@df.lth.se> 0.8-2
  171. - Pick up libtool.
  172. * Sun Oct 8 2006 Linus Walleij <triad@df.lth.se> 0.8-1
  173. - New upstream version including patch.
  174. - The icon is an an even weirder place now!
  175. - Have to run som autotools on this one to get it working.
  176. * Tue Sep 5 2006 Linus Walleij <triad@df.lth.se> 0.7-5
  177. - Patch to compile with new version of E-D-S.
  178. * Thu Aug 10 2006 Linus Walleij <triad@df.lth.se> 0.7-4
  179. - Missing BR
  180. * Thu Aug 3 2006 Linus Walleij <triad@df.lth.se> 0.7-3
  181. - Updated after feedback from Chris Weyl
  182. - Bogus problem with cellphone.png icon image
  183. * Sat Jul 29 2006 Linus Walleij <triad@df.lth.se> 0.7-2
  184. - Updated after feedback from Parag and Paul
  185. * Tue Jun 27 2006 Linus Walleij <triad@df.lth.se> 0.7-1
  186. - 0.7 Release
  187. - Took Matthews nrpm package and Fedora Extrasificated it
  188. * Fri Sep 09 2005 Matthew Hall <matt@nrpms.net> 0.6-1
  189. - 0.6 Release
  190. * Mon Jun 20 2005 Matthew Hall <matt@nrpms.net> 0.4-1
  191. - 0.4 Release