60 lines
1.7 KiB
RPMSpec
60 lines
1.7 KiB
RPMSpec
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
|