Compare commits

..

No commits in common. "f6fe6bc4fa3e8574c74a5abc2b5c6960c7c9425c" and "d1e1e7418db9d3957b2a470f33cf86be31625b35" have entirely different histories.

5 changed files with 73 additions and 68 deletions

36
README.en.md Normal file
View File

@ -0,0 +1,36 @@
# xfce4-cpufreq-plugin
#### Description
CPU frequency scaling plugin for the Xfce4 panel
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

37
README.md Normal file
View File

@ -0,0 +1,37 @@
# xfce4-cpufreq-plugin
#### 介绍
CPU frequency scaling plugin for the Xfce4 panel
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

Binary file not shown.

View File

@ -1,64 +0,0 @@
%global minorversion 1.2
%global _hardened_build 1
Name: xfce4-cpufreq-plugin
Version: 1.2.8
Release: 1
Summary: CPU frequency scaling plugin for the Xfce4 panel
License: GPLv2+
URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin
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
BuildRequires: xfce4-panel-devel
BuildRequires: intltool
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
%autosetup
%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
%doc AUTHORS ChangeLog NEWS
%license COPYING
%{_libdir}/xfce4/panel/plugins/libcpufreq.so
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/xfce4/panel/plugins/cpufreq.desktop
%changelog
* Wed Jan 04 2023 misaka00251 <liuxin@iscas.ac.cn> - 1.2.8-1
- Update to 1.2.8
* Mon Jun 20 2022 zhanglin <lin.zhang@turbolinux.com.cn> - 1.2.7-1
- Update to 1.2.7
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.2.5-1
- Update to 1.2.5
* Tue Jul 14 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.2.1-1
- Init package

View File

@ -1,4 +0,0 @@
version_control: git
src_repo: https://gitlab.xfce.org/panel-plugins/xfce4-cpufreq-plugin.git
tag_prefix: "xfce4-cpufreq-plugin-"
seperator: "."