forked from F1ash/CPUFreqUtility
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CPUFreqUtility.spec
95 lines (75 loc) · 2.47 KB
/
CPUFreqUtility.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
%global cmake_build_dir build-cmake
Name: CPUFreqUtility
Version: 1.4.5
Release: 1%{?dist}
Summary: CPU Frequence Utility
Summary(ru): Утилита для управления режимом работы процессора
License: GPLv2+
Source0: https://github.com/F1ash/%{name}/archive/%{version}.tar.gz
URL: https://github.com/F1ash/%{name}
Requires: qt5-qtbase
Requires: kf5-kauth
Requires: kf5-knotifications
Requires: dbus
Requires: systemd
Requires: polkit
BuildRequires: desktop-file-utils
BuildRequires: qt5-qtbase-devel
BuildRequires: kf5-kauth-devel
BuildRequires: kf5-knotifications-devel
BuildRequires: extra-cmake-modules
%description
CPUFreqUtility
KDE Utility is managed the CPU work mode
%description -l ru
CPUFreqUtility
KDE Утилита для управления режимом работы процессора
%prep
%setup -q
%build
mkdir %{cmake_build_dir}
pushd %{cmake_build_dir}
%cmake ..
%{make_build}
popd
%install
pushd %{cmake_build_dir}
%{make_install}
popd
%check
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%files
%license COPYING
%doc README.md Changelog
%{_bindir}/%{name}
%{_libexecdir}/kf5/kauth/cpu_freq_helper
%{_datadir}/applications/%{name}.desktop
%{_datadir}/dbus-1/system-services/org.freedesktop.auth.cpufrequtility.service
%{_datadir}/polkit-1/actions/org.freedesktop.auth.cpufrequtility.policy
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.auth.cpufrequtility.conf
%{_datadir}/knotifications5/%{name}.notifyrc
%changelog
* Mon Nov 7 2016 Fl@sh <[email protected]> - 1.4.5-1
- version updated;
* Fri Oct 30 2015 Fl@sh <[email protected]> - 1.4.4-1
- version updated;
* Sun Oct 11 2015 Fl@sh <[email protected]> - 1.4.3-2
- fixed for %%license, %%global;
- erased Group field;
- fixed License field;
- added dbus, systemd, polkit R for the files own;
- release updated;
* Wed Jul 1 2015 Fl@sh <[email protected]> - 1.4.3-1
- version updated;
* Sun Jun 21 2015 Fl@sh <[email protected]> - 1.2.2-1
- version updated;
* Sun Jun 14 2015 Fl@sh <[email protected]> - 1.1.2-2
- package renamed;
* Sat Jun 13 2015 Fl@sh <[email protected]> - 1.1.2-1
- version updated;
* Fri Jun 12 2015 Fl@sh <[email protected]> - 1.1.1-1
- version updated;
* Wed Jun 10 2015 Fl@sh <[email protected]> - 1.1-1
- added kf5-knotifications R, BR, %%files;
* Tue Jun 9 2015 Fl@sh <[email protected]> - 1.0-1
- Initial build