xfce4-mount-plugin/xfce4-mount-plugin.spec
2021-06-25 12:18:31 +08:00

56 lines
1.5 KiB
RPMSpec

%global minorversion 1.1
%global xfceversion 4.16
%global _hardened_build 1
Name: xfce4-mount-plugin
Version: 1.1.5
Release: 1
Summary: Mount/unmount utility for the Xfce panel
License: GPLv2+
URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc-c++
BuildRequires: libxfce4ui-devel >= %{xfceversion}
BuildRequires: xfce4-panel-devel >= %{xfceversion}
BuildRequires: gettext
BuildRequires: intltool
Requires: xfce4-panel >= %{xfceversion}
%description
This plugin displays a list of the various devices available, giving the opportunity to mount/umount them.
%prep
%autosetup
%build
%configure --disable-static
%make_build
%install
%make_install
# remove la file
find %{buildroot} -name '*.la' -exec rm -f {} ';'
# make sure debuginfo is generated properly
chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
%find_lang %{name}
%files -f %{name}.lang
%doc AUTHORS ChangeLog TODO
%license COPYING
%{_libdir}/xfce4/panel/plugins/*.so
%{_datadir}/xfce4/panel/plugins/*.desktop
%{_datadir}/icons/hicolor/*/apps/xfce-mount.svg
%changelog
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.1.5-1
- Update to 1.1.5
* Wed Jul 15 2020 <dillon.chen@turbolinux.com.cn> - 1.1.3-1
- Init package