gnome-volume-manager-vl.spec 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. Summary: The GNOME Volume Manager
  2. Summary(ja): GNOME ボリュームマネージャ
  3. Name: gnome-volume-manager
  4. Version: 2.24.0
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: Applications/System
  8. Source0: gnome-volume-manager-%{version}.tar.bz2
  9. Source1: magicdev-wrapper
  10. Source2: gthumb-import
  11. Source3: gnome-cdda-handler
  12. Source4: cdda-url-handler.schemas
  13. Patch2: gnome-volume-manager-2.17.0-add-console-user-check.patch
  14. Patch3: gnome-volume-manager-2.15.0-check-screensaver.patch
  15. # vine default
  16. Patch10: gnome-volume-manager-1.5.14-vine.patch
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. BuildRequires: libgnomeui-devel, libglade2-devel
  19. BuildRequires: hal-devel >= 0.5
  20. BuildRequires: dbus-devel >= 0.60
  21. BuildRequires: dbus-glib-devel >= 0.60
  22. BuildRequires: libnotify-devel
  23. BuildRequires: desktop-file-utils
  24. Requires: gnome-mime-data
  25. Requires: control-center >= 2.0
  26. Requires: dbus >= 0.60
  27. Requires: hal
  28. Requires: gthumb
  29. Requires: gnome-media
  30. Requires(post,pre,preun): GConf2
  31. Obsoletes: magicdev
  32. Provides: magicdev
  33. Obsoletes: murasaki-usb-mount
  34. %description
  35. The GNOME Volume Manager monitors volume-related events and responds with
  36. user-specified policy. The GNOME Volume Manager can automount hot-plugged
  37. drives, automount inserted removable media, autorun programs, automatically
  38. play audio CDs and video DVDs, and automatically import photos from a digital
  39. camera. The GNOME Volume Manager does this entirely in user-space and without
  40. polling.
  41. The GNOME Voume Manager sits at the top end of a larger picture that aims to
  42. integrate the Linux system from the kernel on up through the desktop and its
  43. applications.
  44. %prep
  45. %setup -q
  46. %patch2 -p1 -b .add-console-user-check
  47. #patch3 -p0 -b .screensaver
  48. %patch10 -p1 -b .vine
  49. %build
  50. %configure
  51. make %{?_smp_mflags}
  52. %install
  53. rm -rf $RPM_BUILD_ROOT
  54. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  55. %makeinstall
  56. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  57. desktop-file-install --delete-original --vendor=gnome \
  58. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  59. --add-category=HardwareSettings \
  60. $RPM_BUILD_ROOT%{_datadir}/applications/gnome-volume-properties.desktop
  61. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart
  62. install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/magicdev
  63. install -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/gthumb-import
  64. install -d $RPM_BUILD_ROOT%{_libexecdir}/
  65. install -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_libexecdir}/gnome-cdda-handler
  66. install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/cdda-url-handler.schemas
  67. %find_lang %name
  68. %clean
  69. rm -rf $RPM_BUILD_ROOT
  70. %post
  71. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  72. SCHEMAS="gnome-volume-manager.schemas cdda-url-handler.schemas"
  73. for S in $SCHEMAS; do
  74. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
  75. done
  76. %pre
  77. if [ "$1" -gt 1 ]; then
  78. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  79. SCHEMAS="gnome-volume-manager.schemas cdda-url-handler.schemas"
  80. for S in $SCHEMAS; do
  81. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
  82. done
  83. fi
  84. %preun
  85. if [ "$1" -eq 0 ]; then
  86. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  87. SCHEMAS="gnome-volume-manager.schemas cdda-url-handler.schemas"
  88. for S in $SCHEMAS; do
  89. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
  90. done
  91. fi
  92. %files -f %{name}.lang
  93. %defattr(-,root,root)
  94. %doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
  95. %{_bindir}/*
  96. %{_datadir}/applications/gnome-volume-properties.desktop
  97. %{_datadir}/gnome-volume-manager
  98. #{_datadir}/gnome/autostart/gnome-volume-manager.desktop
  99. %{_sysconfdir}/gconf/schemas/*.schemas
  100. %{_sysconfdir}/xdg/autostart/gnome-volume-manager.desktop
  101. %{_libexecdir}/gnome-cdda-handler
  102. %{_libexecdir}/gnome-volume-manager
  103. %changelog
  104. * Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  105. - new upstream release
  106. * Thu Jul 03 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.5-1vl5
  107. - new upstream release
  108. * Sun Apr 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  109. - new upstream release
  110. - added %%pre and %%preun section
  111. * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-0vl1
  112. - new upstream release
  113. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.17.0-0vl1
  114. - new upstream release
  115. * Sat Oct 21 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.15-0vl3
  116. - update Patch0 to add "--unique" to gnome-cd option (<BTS:294>)
  117. * Wed Oct 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.15-0vl2
  118. - update Patch10 to fix audio cd settings. (<BTS:236>)
  119. * Sat Mar 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.15-0vl1
  120. - new upstream release
  121. * Fri Mar 10 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.14-0vl2
  122. - add Patch10 to change default settings for Vine Linux
  123. * Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.14-0vl1
  124. - new upstream release
  125. * Thu Oct 06 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.2-0vl1
  126. - new upstream release
  127. * Wed Jul 13 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.2-0vl2
  128. - Obosletes murasaki-usb-mount
  129. * Mon Jul 11 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.2-0vl1
  130. - new upstream release
  131. * Thu Mar 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-0vl1
  132. - initial build for Vine Linux based on FC package.
  133. - new upstream release
  134. - drop all fc patches
  135. * Mon Mar 07 2005 John (J5) Palmieri <johnp@redhat.com> - 1.1.3-3
  136. - Fixed up hal-api patch
  137. * Fri Feb 25 2005 John (J5) Palmieri <johnp@redhat.com> - 1.1.3-2
  138. - Reenable BuildPrereq for hal-devel
  139. * Wed Feb 23 2005 John (J5) Palmieri <johnp@redhat.com> - 1.1.3-1
  140. - Update to upstream version
  141. - add patch to update to the new hal-0.5.0 API
  142. - took out locking patch as it was added upstream
  143. - took out policy-after-explicit-mount-only patch as it was added
  144. upstream
  145. - removed %{_datadir}/control-center-2.0/capplets/* glob
  146. - added %{_datadir}/applications/gnome-volume-properties.desktop
  147. * Mon Oct 18 2004 John (J5) Palmieri <johnp@redhat.com> - 1.1.0-5
  148. - Merged the photo-defaults patch with a new rh-defaults patch
  149. - Shut off autorun by default as it is a security concern and we
  150. currently don't have any use for it
  151. - Added policy-after-explicit-mount-only patch which fixes problems
  152. such as a user mounting a removable drive from the command line
  153. and a Nautilus window pops up, and two Nautilus windows popping
  154. up in browser mode when a device is mounted through Nautilus.
  155. * Fri Oct 08 2004 John (J5) Palmieri <johnp@redhat.com> - 1.1.0-4
  156. - exclude building on s390 and s390x
  157. * Wed Oct 06 2004 John (J5) Palmieri <johnp@redhat.com> - 1.1.0-3
  158. - Added gnome-cdda-handler and associated schema to cause the
  159. cdda url handler to use the values in g-v-m's gconf key for
  160. audio cd's. This causes the g-v-m selected application for
  161. audio cd's to launch when double clicking on an audio cd icon
  162. in Nautilus.
  163. * Thu Sep 30 2004 John (J5) Palmieri <johnp@redhat.com>
  164. - Added patch to add the dbus-glib-lowlevel.h header
  165. * Mon Sep 20 2004 David Zeuthen <davidz@redhat.com>
  166. - Update to upstream version 1.1.0
  167. - Fix requirement for gnome-cd to be the gnome-media package
  168. * Mon Sep 20 2004 David Zeuthen <davidz@redhat.com>
  169. - Add locking patch
  170. * Fri Sep 17 2004 John (J5) Palmieri <johnp@redhat.com>
  171. - Update to upstream 1.0.2
  172. - Readd patches I took out by accident
  173. - Add a requirement for gthumb and gnome-cd
  174. * Mon Sep 13 2004 John (J5) Palmieri <johnp@redhat.com>
  175. - Update to upstream 1.0
  176. * Fri Sep 03 2004 John (J5) Palmieri <johnp@redhat.com>
  177. - gthumb-import now checks to see if there is a DCIM directory
  178. and open up to that directory if so
  179. * Wed Sep 01 2004 Davidz Zeuthen <davidz@redhat.com>
  180. - Fix a few issues to keep up with hal
  181. * Tue Aug 31 2004 John (J5) Palmieri <johnp@redhat.com>
  182. - Update to upstream release 0.9.10
  183. - Add gthumb-import wrapper to import photos correctly
  184. - Add patch to set gthumb-import as the default photo importer
  185. - Add patch to put desktop file in the X-Red-Hat-Base Catagory
  186. - Fixes RH Bug 130866
  187. * Fri Aug 20 2004 John (J5) Palmieri <johnp@redhat.com>
  188. - Added Provides: magicdev to fix conflict
  189. * Tue Aug 17 2004 David Zeuthen <davidz@redhat.com>
  190. - Update to upstream release 0.9.9
  191. - Apply mount-unmount patch
  192. * Mon Jul 26 2004 Ray Strode <rstrode@redhat.com>
  193. - Add magicdev compatibility wrapper script and obsolete magicdev.
  194. * Thu May 27 2004 John (J5) Palmieri <johnp@redhat.com>
  195. - Upstream CVS
  196. * Wed May 05 2004 John (J5) Palmieri <johnp@redhat.com>
  197. - Made sure GConf Schemas are installed
  198. * Tue Apr 20 2004 John (J5) Palmieri <johnp@redhat.com>
  199. - initial packaging of 0.9.2