!1 Init package

Merge pull request !1 from 陈棋德/master
This commit is contained in:
openeuler-ci-bot 2020-08-03 07:30:20 +08:00 committed by Gitee
commit d2da9aa4b8
2 changed files with 51 additions and 0 deletions

Binary file not shown.

51
xfce4-mount-plugin.spec Normal file
View File

@ -0,0 +1,51 @@
%global xfceversion 4.14
%global _hardened_build 1
Name: xfce4-mount-plugin
Version: 1.1.3
Release: 1
Summary: Mount/unmount utility for the Xfce panel
License: GPLv2+
#Group: Development/Libraries
URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/1.1/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
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 README TODO
%license COPYING
%{_libdir}/xfce4/panel/plugins/*.so
%{_datadir}/xfce4/panel/plugins/*.desktop
%{_datadir}/icons/hicolor/*/*/*
%changelog
* Wed Jul 15 2020 <dillon.chen@turbolinux.com.cn> - 1.1.3-1
- Init package