diff --git a/thunar-volman-0.9.5.tar.bz2 b/thunar-volman-0.9.5.tar.bz2 new file mode 100644 index 0000000..36ccc95 Binary files /dev/null and b/thunar-volman-0.9.5.tar.bz2 differ diff --git a/thunar-volman.spec b/thunar-volman.spec new file mode 100644 index 0000000..ac76818 --- /dev/null +++ b/thunar-volman.spec @@ -0,0 +1,66 @@ +%global _hardened_build 1 +%global xfceversion 4.14 + +Name: thunar-volman +Version: 0.9.5 +Release: 1%{?dist} +Summary: Automatic management of removable drives and media for Thunar +License: GPLv2+ +#Group: Development/Libraries +URL: http://goodies.xfce.org/projects/thunar-plugins/%{name} +Source0: http://archive.xfce.org/src/xfce/%{name}/0.9/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +#BuildArch: noarch +BuildRequires: gcc-c++ +BuildRequires: exo-devel >= 0.6.0 +BuildRequires: xfconf >= %{xfceversion} +BuildRequires: libxfce4ui-devel >= %{xfceversion} +BuildRequires: libgudev1-devel >= 145 +BuildRequires: libnotify-devel >= 0.4.0 +BuildRequires: gettext +BuildRequires: intltool +BuildRequires: desktop-file-utils +Requires: Thunar + +%description +thunar-volman 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 +digitcal camera, it will automatically spawn your preferred photo application +and import the new pictures from your camera. + + +%prep +%setup + +sed -i 's/XFCE;//' thunar-volman-settings/thunar-volman-settings.desktop.in.in + + +%build +%configure +%make_build + + +%install +%make_install + +%find_lang %{name} + +desktop-file-install \ + --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ + --add-only-show-in=XFCE \ + --delete-original \ + ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}-settings.desktop + + +%files -f %{name}.lang +%doc AUTHORS ChangeLog NEWS README THANKS +%license COPYING +%{_bindir}/thunar-volman +%{_bindir}/thunar-volman-settings +%{_datadir}/icons/*/*/*/* +%{_datadir}/applications/*thunar-volman-settings.desktop + +%changelog +* Thu Jul 9 2020 Dillon Chen - 0.9.5-1 +- Init package