Package init
(cherry picked from commit 4a117653236e72878e7d3e443b53d3c433a680ba)
This commit is contained in:
parent
790a1ae558
commit
44b4b8bd5a
BIN
xfce4-power-manager-1.6.6.tar.bz2
Normal file
BIN
xfce4-power-manager-1.6.6.tar.bz2
Normal file
Binary file not shown.
@ -1,42 +1,39 @@
|
|||||||
%global xfceversion 4.16
|
%global xfceversion 4.14
|
||||||
|
|
||||||
Name: xfce4-power-manager
|
Name: xfce4-power-manager
|
||||||
Version: 1.7.1
|
Version: 1.6.6
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Power management for the Xfce desktop environment
|
Summary: A power manager for the Xfce desktop
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
|
#Group: Development/Libraries
|
||||||
URL: http://goodies.xfce.org/projects/applications/%{name}
|
URL: http://goodies.xfce.org/projects/applications/%{name}
|
||||||
#VCS: git:git://git.xfce.org/xfce/xfce4-power-manager
|
Source0: http://archive.xfce.org/src/xfce/%{name}/1.6/%{name}-%{version}.tar.bz2
|
||||||
Source0: http://archive.xfce.org/src/xfce/%{name}/1.7/%{name}-%{version}.tar.bz2
|
|
||||||
Source1: %{name}.xml
|
Source1: %{name}.xml
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: make
|
#BuildArch: noarch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkgconfig(libxfconf-0) >= %{xfceversion}
|
BuildRequires: pkgconfig(libxfconf-0) >= %{xfceversion}
|
||||||
BuildRequires: pkgconfig(libxfce4ui-2) >= %{xfceversion}
|
BuildRequires: pkgconfig(libxfce4ui-2) >= %{xfceversion}
|
||||||
BuildRequires: pkgconfig(libxfce4panel-2.0) >= %{xfceversion}
|
BuildRequires: pkgconfig(libxfce4panel-1.0) >= %{xfceversion}
|
||||||
BuildRequires: pkgconfig(dbus-1) >= 0.60
|
BuildRequires: pkgconfig(dbus-1) >= 0.60
|
||||||
BuildRequires: pkgconfig(dbus-glib-1) >= 0.70
|
BuildRequires: pkgconfig(dbus-glib-1) >= 0.70
|
||||||
BuildRequires: pkgconfig(libnotify) >= 0.4.1
|
BuildRequires: pkgconfig(libnotify) >= 0.4.1
|
||||||
BuildRequires: pkgconfig(xrandr) >= 1.2.0
|
BuildRequires: pkgconfig(xrandr) >= 1.2.0
|
||||||
BuildRequires: xorg-x11-proto-devel >= 1.0.0
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
BuildRequires: upower-devel
|
|
||||||
BuildRequires: libappstream-glib
|
BuildRequires: libappstream-glib
|
||||||
|
BuildRequires: upower-devel
|
||||||
|
BuildRequires: xorg-x11-proto-devel >= 1.0.0
|
||||||
Requires: xfce4-panel >= %{xfceversion}
|
Requires: xfce4-panel >= %{xfceversion}
|
||||||
Requires: polkit
|
Requires: polkit
|
||||||
Requires: upower >= 0.99
|
Requires: upower >= 0.99
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Xfce Power Manager uses the information and facilities provided by HAL to
|
Xfce4 Power Manager manages the power sources of the computer and connected devices
|
||||||
display icons and handle user callbacks in an interactive Xfce session.
|
(wireless mice, keyboards, media players etc.). It also allows users to control
|
||||||
Xfce Power Preferences allows authorised users to set policy and change
|
the display backlight brightness and set power-saving modes for displays and monitors.
|
||||||
preferences.
|
In addition, xfce4-power-manager provides a set of freedesktop-compliant DBus interfaces to
|
||||||
|
inform other applications about current power level so that they can adjust their power consumption.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -61,7 +58,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS ChangeLog NEWS TODO
|
%doc AUTHORS ChangeLog NEWS README TODO
|
||||||
%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/%{name}.xml
|
%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/%{name}.xml
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_bindir}/%{name}-settings
|
%{_bindir}/%{name}-settings
|
||||||
@ -79,8 +76,5 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|||||||
%{_mandir}/man1/%{name}.1.*
|
%{_mandir}/man1/%{name}.1.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.7.1-1
|
|
||||||
- Update to 1.7.1
|
|
||||||
|
|
||||||
* Sun Jul 12 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.6.6-1
|
* Sun Jul 12 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.6.6-1
|
||||||
- Init package
|
- Init package
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user