Init package

This commit is contained in:
dillon chen 2020-07-09 19:24:48 +08:00
parent 4d1f2d6f44
commit b10c8a5283
2 changed files with 66 additions and 0 deletions

BIN
thunar-volman-0.9.5.tar.bz2 Normal file

Binary file not shown.

66
thunar-volman.spec Normal file
View File

@ -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 <dillon.chen@turbolinux.com.cn> - 0.9.5-1
- Init package