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