1 Summary: GNOME Power Manager
2 Summary(pl.UTF-8): Zarządca energii dla GNOME
3 Name: gnome-power-manager
7 Group: X11/Applications
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-power-manager/3.22/%{name}-%{version}.tar.xz
9 # Source0-md5: da7f9dda4b26d2e7a38f7a844b80298b
10 URL: http://www.gnome.org/projects/gnome-power-manager/
11 BuildRequires: appdata-tools
12 BuildRequires: autoconf >= 2.65
13 BuildRequires: automake >= 1:1.11
14 BuildRequires: cairo-devel >= 1.0.0
15 BuildRequires: docbook-dtd41-sgml
16 BuildRequires: docbook-dtd43-xml
17 BuildRequires: docbook-utils
18 BuildRequires: gettext-tools
19 BuildRequires: glib2-devel >= 1:2.46.0
20 BuildRequires: gnome-common >= 2.24.0
21 BuildRequires: gnome-doc-utils >= 0.14.0
22 BuildRequires: gtk+3-devel >= 3.3.8
23 BuildRequires: intltool >= 0.50.0
24 BuildRequires: libtool
25 BuildRequires: pkgconfig
26 BuildRequires: rpmbuild(find_lang) >= 1.23
27 BuildRequires: rpmbuild(macros) >= 1.601
28 BuildRequires: tar >= 1:1.22
29 BuildRequires: upower-devel >= 0.9.1
31 Requires(post,postun): glib2 >= 1:2.46.0
32 Requires(post,postun): gtk-update-icon-cache
33 Requires: glib2 >= 1:2.46.0
34 Requires: gnome-icon-theme
35 Requires: gnome-session >= 3.0.0
36 Requires: gnome-themes-standard
37 Requires: hicolor-icon-theme
38 Requires: upower >= 0.9.1
39 Obsoletes: gnome-power
40 # sr@Latn vs. sr@latin
41 Conflicts: glibc-misc < 6:2.7
42 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45 Uses of GNOME Power Manager infrastructure
46 - A dialogue that warns the user when on UPS power, that automatically
47 begins a kind shutdown when the power gets critically low.
48 - An icon that allows a user to dim the LCD screen with a slider, and
49 does do automatically when going from mains to battery power on a
51 - An icon, that when an additional battery is inserted, updates its
52 display to show two batteries and recalculates how much time
53 remaining. Would work for wireless mouse and keyboards, UPS's and
55 - A daemon that does a clean shutdown when the battery is critically
56 low or does a soft-suspend when you close the lid on your laptop (or
57 press the "suspend" button on your PC).
58 - Tell Totem to use a codec that does low quality processing to
59 conserve battery power.
60 - Postpone indexing of databases (e.g. up2date) or other heavy
61 operations until on mains power.
62 - Presentation programs / movie players don't want the screensaver
63 starting or screen blanking.
65 %description -l pl.UTF-8
66 Zastosowania infrastruktury zarządcy energii GNOME:
67 - okno dialogowe ostrzegające użytkownika o zasilaniu z UPS-a,
68 automatycznie rozpoczynające uprzejme zamykanie systemu, kiedy
69 zasilanie jest w stanie krytycznym
70 - ikona umożliwiająca użytkownikowi przyciemnienie ekranu LCD przy
71 użyciu suwaka i robiąca to automatycznie przy przełączaniu z głównego
72 źródła zasilania na baterie w laptopie
73 - ikona, która po dołożeniu dodatkowej baterii uaktualnia wskaźnik,
74 aby pokazywał dwie baterie i przelicza ilość pozostałego czasu;
75 powinna działać dla bezprzewodowych myszy i klawiatur, UPS-ów i PDA
76 - demon wykonujący czyste zamknięcie systemu, kiedy bateria jest w
77 stanie krytycznym i wykonujący zamrożenie systemu (soft-suspend) przy
78 zamykaniu pokrywy laptopa (albo naciśnięciu przycisku "suspend")
79 - informowanie Totema, aby używał kodeka o niższej jakości w celu
80 zaoszczędzenia energii baterii
81 - wstrzymywanie indeksowania baz danych (np. up2date) i innych
82 ciężkich operacji do czasu podłączenia głównego źródła zasilania
83 - zapobieganie uruchomieniu wygaszacza ekranu i samemu wygaszaniu
84 ekranu podczas działania programów prezentacyjnych i odtwarzaczy
98 --disable-silent-rules
102 rm -rf $RPM_BUILD_ROOT
105 DESTDIR=$RPM_BUILD_ROOT
107 %find_lang %{name} --with-gnome --all-name
110 rm -rf $RPM_BUILD_ROOT
113 %update_icon_cache hicolor
114 %glib_compile_schemas
117 %update_icon_cache hicolor
118 %glib_compile_schemas
120 %files -f %{name}.lang
121 %defattr(644,root,root,755)
122 %doc AUTHORS ChangeLog NEWS README
123 %attr(755,root,root) %{_bindir}/gnome-power-statistics
125 %{_datadir}/appdata/org.gnome.PowerStats.appdata.xml
126 %{_datadir}/glib-2.0/schemas/org.gnome.power-manager.gschema.xml
127 %{_desktopdir}/org.gnome.PowerStats.desktop
128 %{_iconsdir}/hicolor/*/*/*