%define url_ver %(echo %{version} | cut -d. -f1,2) Summary: A removable volume manager for Thunar Name: thunar-volman Version: 0.9.5 Release: %mkrel 1 License: GPLv2+ Group: Graphical desktop/Xfce URL: https://goodies.xfce.org/projects/thunar-plugins/%{name} Source0: https://archive.xfce.org/src/apps/%{name}/%{url_ver}/%{name}-%{version}.tar.bz2 BuildRequires: intltool BuildRequires: pkgconfig(exo-1) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libxfce4ui-2) BuildRequires: pkgconfig(libxfce4util-1.0) BuildRequires: pkgconfig(libxfconf-0) Requires: thunar >= 1.7.0 Requires: dbus >= 0.34 Requires: gvfs %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. %prep %setup -q %apply_patches %build %configure2_5x \ --enable-notifications %make_build %install %make_install %find_lang %{name} %files -f %{name}.lang %doc AUTHORS ChangeLog NEWS README THANKS %{_bindir}/thunar-volman %{_bindir}/thunar-volman-settings %{_iconsdir}/hicolor/*/apps/*.png %{_iconsdir}/hicolor/scalable/apps/*.svg %{_datadir}/applications/thunar-volman-settings.desktop