Blob Blame History Raw
Summary: The GNOME Volume Manager
Name: gnome-volume-manager
Version: 0.9.9
Release: 2
License: GPL
Group: Applications/System
Source0: gnome-volume-manager-%{version}.tar.gz
Source1: magicdev-wrapper
Patch0: gvm-mount-unmount-3.patch
BuildRoot: /var/tmp/%{name}-root
BuildPrereq: libgnomeui-devel, libglade2-devel, hal-devel, dbus-devel >= 0.22
Requires: gnome-mime-data, hal >= 0.2.97, kernel >= 2.6, control-center >= 2.0
Requires: dbus >= 0.22
Obsoletes: magicdev
Provides: magicdev

%description
The GNOME Volume Manager monitors volume-related events and responds with
user-specified policy.  The GNOME Volume Manager can automount hot-plugged
drives, automount inserted removable media, autorun programs, automatically
play audio CDs and video DVDs, and automatically import photos from a digital
camera.  The GNOME Volume Manager does this entirely in user-space and without
polling.

The GNOME Voume Manager sits at the top end of a larger picture that aims to
integrate the Linux system from the kernel on up through the desktop and its
applications.

%prep
%setup -q
%patch0 -p0 

%build
%configure
make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/magicdev

%find_lang %name

%clean
rm -rf $RPM_BUILD_ROOT

%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="gnome-volume-manager.schemas"
for S in $SCHEMAS; do
  gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
done

%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
%{_bindir}/*
%{_datadir}/control-center-2.0/capplets/*
%{_datadir}/gnome-volume-manager
%{_sysconfdir}/gconf/schemas/*.schemas

%changelog
* Fri Aug 20 2004 John (J5) Palmieri <johnp@redhat.com>
- Added Provides: magicdev to fix conflict

* Tue Aug 17 2004 David Zeuthen <davidz@redhat.com>
- Update to upstream release 0.9.9
- Apply mount-unmount patch

* Mon Jul 26 2004 Ray Strode <rstrode@redhat.com>
- Add magicdev compatibility wrapper script and obsolete magicdev.

* Thu May 27 2004 John (J5) Palmieri <johnp@redhat.com>
- Upstream CVS 

* Wed May 05 2004 John (J5) Palmieri <johnp@redhat.com>
- Made sure GConf Schemas are installed

* Tue Apr 20 2004 John (J5) Palmieri <johnp@redhat.com>
- initial packaging of 0.9.2