File gnome-mount.spec of Package gnome-mount

# spec file for package gnome-mount (Version 0.8)
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           gnome-mount
BuildRequires:  fdupes
BuildRequires:  gconf2-devel
BuildRequires:  gnome-keyring-devel
BuildRequires:  hal-devel
BuildRequires:  intltool
BuildRequires:  libglade2-devel
BuildRequires:  libnotify-devel
BuildRequires:  nautilus-devel
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
Version:        0.8
Release:        8
Group:          System/GUI/GNOME
License:        GPL v2 or later
Summary:        The GNOME Mount Program
# PATCH-FIX-OPENSUSE gnome-mount-old-hal.patch -- only for 10.2 and older
Patch:          gnome-mount-old-hal.patch
# PATCH-FIX-UPSTREAM gnome-mount-default-mount-options.patch bnc334591 bgo487547
Patch2:         gnome-mount-default-mount-options.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       %{name}-lang = %{version}
Provides:       %{name}-devel = %{version}-%{release}

The GNOME Volume Manager monitors volume-related events and responds
using a user-specified policy.	The GNOME Volume Manager can automount
hotplugged 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 userspace and without polling.

The GNOME Volume 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.

    David Zeuthen <>

%setup -q
%if %suse_version < 1020

autoreconf -f -i
# FIXME: Build as root modifies system!
#   gnome-mount-0.5: --disable-schemas-install is not implemented.
%configure --disable-static --with-pic
%__make %{?jobs:-j%jobs}

%find_lang %{name}
cat %{name}.schemas_list >%{name}.lst
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} + 


%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%files -f %{name}.lst
%defattr (-, root, root)
%doc %{_mandir}/man1/gnome-mount*.*

%files lang -f %{name}.lang

* Wed Apr 15 2009
- use --disable-static instead of removing "*.a"
* Mon Mar 16 2009
- Added support for translation-update-upstream (FATE#301344).
* Mon Feb 23 2009
- Remove BuildRequires: eel-devel, perl-XML-Parser
- Add BuildRequires: gconf2-devel, gnome-keyring-devel, hal-devel
* Thu Sep 11 2008
- Update to version 0.8:
  * Get rid of libgnomeui dependency
  * Don't show lock dialogs if underlying device is locked in HAL
  * Mention partition number for the unlock dialog
  * Make eject work on the main block device
  * Translations
- Remove gnome-mount-svn-until-0.8.patch, it was a diff of
  unreleased upstream (which is now released)
* Thu Feb 28 2008
- Add gnome-mount-svn-until-0.8.patch to build the nautilus
  extension correctly (#358451)
* Wed Feb 06 2008
- Install relevant files to %%{_libdir}/nautilus/extensions-2.0
- Add gnome-mount-nautilus-paths.patch to make that possible.
* Wed Nov 21 2007
- Default to 'utf8' option for vfat devices (#337615)
* Thu Oct 18 2007
- Update to 0.7
- Support for PolicyKit if HAL supports PolicyKit
- Minor bug fixes
- Translations
- Default to 'flush' for vfat devices (#334591)
* Wed Aug 08 2007
- Use %%fdupes
- Split off a -lang subpackage.
* Wed Aug 01 2007
- Update to 0.6
- Default to shortname=lower for vfat (BGO #390201)
- Better handling of NTFS (BGO #394947)
- Get rid of libgnomeui dependency
- Reduce build requires
- Remove upstreamed patch
* Tue Jul 24 2007
- Accept hal-storage version 0.5.8_git200704021230 in factory.
* Thu Jul 19 2007
- Patched for builds with older HAL version.
* Tue Dec 19 2006
- Prefix changed to /usr.
- Spec file cleanup.
* Tue Nov 21 2006
- Reduce BuildRequires.
- Fix build warnings.
* Tue Nov 21 2006
-update to 0.5:
  -use mount(1) for volumes mentioned in /etc/fstab (#215392, #222627)
  -fixes for Solaris (Artem Kachitchkine)
  -read mount point and settings from gconf
  -man page for the terminal obsessive
  -extension for Nautilus
  -notifications for volumes taking a long time to unmount
  -translation updates
* Mon Sep 04 2006
- fix one place with a function missing a return value
* Thu Aug 31 2006
- New package
openSUSE Build Service is sponsored by