xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.spec

62 lines
1.6 KiB
RPMSpec
Raw Normal View History

2021-06-25 15:03:45 +08:00
%global minorversion 1.2
2020-07-14 18:28:03 +08:00
%global _hardened_build 1
Name: xfce4-cpufreq-plugin
2022-06-23 16:19:00 +08:00
Version: 1.2.7
2020-07-14 18:28:03 +08:00
Release: 1
Summary: CPU frequency scaling plugin for the Xfce4 panel
License: GPLv2+
URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin
2021-06-25 15:03:45 +08:00
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
2020-07-14 18:28:03 +08:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc-c++
BuildRequires: libxfce4ui-devel
BuildRequires: xfce4-panel-devel
2021-06-25 15:03:45 +08:00
BuildRequires: intltool
2020-07-14 18:28:03 +08:00
Requires: xfce4-panel
%description
This plugin shows in the Xfce Panel the following information:
current CPU frequency
current used governor
In a separate dialog it provides you following information:
all available CPU frequencies
all available governors
used driver for the CPU
%prep
2021-06-25 15:03:45 +08:00
%autosetup
2020-07-14 18:28:03 +08:00
%build
%configure
%make_build
%install
%make_install
%find_lang %{name}
find %{buildroot} -name \*.la -exec rm {} \;
chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
%files -f %{name}.lang
2022-06-23 16:19:00 +08:00
%doc AUTHORS ChangeLog NEWS
2020-07-14 18:28:03 +08:00
%license COPYING
%{_libdir}/xfce4/panel/plugins/libcpufreq.so
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/xfce4/panel/plugins/cpufreq.desktop
%changelog
2022-06-23 16:19:00 +08:00
* Mon Jun 20 2022 zhanglin <lin.zhang@turbolinux.com.cn> - 1.2.7-1
- Update to 1.2.7
2021-06-25 15:03:45 +08:00
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.2.5-1
- Update to 1.2.5
2020-07-14 18:28:03 +08:00
* Tue Jul 14 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.2.1-1
- Init package