File thunar-volman.spec of Package thunar-volman
#
# spec file for package thunar-volman (Version 0.3.80)
#
# 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: thunar-volman
Version: 0.3.80
Release: 1
License: GPL v2 or later
Group: System/GUI/XFCE
Summary: Thunar Volume Manager
Url: http://foo-projects.org/~benny/projects/thunar-volman/
Source: %{name}-%{version}.tar.bz2
Patch0: %{name}-%{version}-fix-icon.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: dbus-1-glib-devel exo-devel thunar-devel
BuildRequires: perl-XML-Parser update-desktop-files
%description
The Thunar Volume Manager is an extension for the Thunar file manager,
which enables automatic management of removable drives and media. For
example, if thunar-volman is installed and configured properly, and you
plug in your digital camera, it will automatically launch your
preferred photo application and import the new pictures from the camera
into your photo collection.
Authors:
--------
Benedikt Meurer <benny@xfce.org>
%prep
%setup -q
%patch0
%build
%configure
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%suse_update_desktop_file -i thunar-volman-settings Settings DesktopSettings
%find_lang %{name}
%clean
rm -rf "$RPM_BUILD_ROOT"
%files -f %name.lang
%defattr(-,root,root)
%{_bindir}/thunar-volman
%{_libexecdir}/thunar-volman-settings
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/*/*
%changelog
* Fri Feb 27 2009 prusnak@suse.cz
- updated to 0.3.80
* Tue Dec 04 2007 prusnak@suse.cz
- fixed desktop file
- use %%find_lang macro
* Tue Dec 04 2007 bwalle@suse.de
- update to 0.2.0
o Properly ignore case looking for VCD, VIDEO_TS and DCIM folders
o Do not try to automount if the volume does not contain a
filesystem
o Install a .desktop file for the thunar-volman preferences
o Updated and new translations
* Sat Jun 23 2007 bwalle@suse.de
- replaced group 'System/GUI/Other' by 'System/GUI/XFCE'
* Thu Feb 08 2007 prusnak@suse.cz
- initial version from BuildService