!1 Init package

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

Binary file not shown.

59
xfce4-taskmanager.spec Normal file
View File

@ -0,0 +1,59 @@
Name: xfce4-taskmanager
Version: 1.2.3
Release: 1
Summary: Taskmanager for the Xfce desktop environment
License: GPLv2+
#Group: Development/Libraries
URL: http://goodies.xfce.org/projects/applications/%{name}
Source0: http://archive.xfce.org/src/apps/%{name}/1.2/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
BuildRequires: gcc-c++
BuildRequires: libxfce4ui-devel
BuildRequires: libXmu-devel
BuildRequires: gettext
BuildRequires: desktop-file-utils
BuildRequires: intltool
%description
A GUI application for monitoring and controlling running processes,
written for Xfce. Its features include:
* support for Linux, OpenBSD, FreeBSD and OpenSolaris
* monitors the CPU and memory usage
* tree view columns can be reordered
* display window icons/names.
%prep
%setup -q
%build
%configure --enable-gtk3
%make_build
%install
%make_install
%find_lang %{name}
desktop-file-install \
--delete-original \
--add-category GTK \
--add-category Monitor \
--add-category X-Xfce \
--remove-category Utility \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/%{name}.desktop
%files -f %{name}.lang
%license COPYING
%doc AUTHORS ChangeLog NEWS README THANKS
%{_bindir}/%{name}
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/icons/hicolor/16x16/actions/xc_crosshair.png
%{_datadir}/icons/hicolor/24x24/actions/xc_crosshair.png
%{_datadir}/icons/hicolor/scalable/actions/xc_crosshair.svg
%changelog
* Fri Jul 17 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.2.3-1
- Init package