diff --git a/.cvsignore b/.cvsignore index e69de29..56f00a8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +gnome-volume-manager-0.9.3.cvs20040527.tar.gz diff --git a/gnome-volume-manager.spec b/gnome-volume-manager.spec new file mode 100644 index 0000000..a4c298d --- /dev/null +++ b/gnome-volume-manager.spec @@ -0,0 +1,72 @@ +Summary: The GNOME Volume Manager +Name: gnome-volume-manager +Version: 0.9.3.cvs20040527 +Release: 3 +License: GPL +Group: Applications/System +Source0: gnome-volume-manager-%{version}.tar.gz +Source1: magicdev-wrapper +BuildRoot: /var/tmp/%{name}-root +BuildPrereq: libgnomeui-devel, libglade2-devel, hal-devel, dbus-devel >= 0.20 +Requires: gnome-mime-data, hal >= 0.2.0, kernel >= 2.6, control-center >= 2.0 +Requires: dbus >= 0.21 +Obsoletes: 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 + +%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 +* Mon Jul 26 2004 Ray Strode +- Add magicdev compatibility wrapper script and obsolete magicdev. + +* Thu May 27 2004 John (J5) Palmieri +- Upstream CVS + +* Wed May 05 2004 John (J5) Palmieri +- Made sure GConf Schemas are installed + +* Tue Apr 20 2004 John (J5) Palmieri +- initial packaging of 0.9.2 + diff --git a/magicdev-wrapper b/magicdev-wrapper new file mode 100755 index 0000000..6804632 --- /dev/null +++ b/magicdev-wrapper @@ -0,0 +1,7 @@ +#!/bin/sh +# +# This is a compatibility wrapper script to start gnome-volume-manager +# for users who previously used magicdev. This script will be invoked +# automatically by the session manager until the user saves his/her +# session. +exec gnome-volume-manager $* diff --git a/sources b/sources index e69de29..a09e098 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +25ca7bb27aee0d158e54fa034add395d gnome-volume-manager-0.9.3.cvs20040527.tar.gz