]> git.pld-linux.org Git - packages/gnome-power-manager.git/blame_incremental - gnome-power-manager.spec
- updated to 2.18.0; merged changes from DEVEL
[packages/gnome-power-manager.git] / gnome-power-manager.spec
... / ...
CommitLineData
1Summary: GNOME Power Manager
2Summary(pl.UTF-8): Zarządca energii dla GNOME
3Name: gnome-power-manager
4Version: 2.18.0
5Release: 1
6License: GPL v2
7Group: X11/Applications
8Source0: ftp://ftp.gnome.org/pub/gnome/sources/gnome-power-manager/2.18/%{name}-%{version}.tar.bz2
9# Source0-md5: 089cfb86af712cacce16ac9617ab2b1c
10Patch0: %{name}-desktop.patch
11URL: http://www.gnome.org/projects/gnome-power-manager/
12BuildRequires: autoconf >= 2.52
13BuildRequires: automake
14BuildRequires: dbus-glib-devel >= 0.73
15BuildRequires: docbook-dtd41-sgml
16BuildRequires: docbook-utils
17BuildRequires: gnome-common >= 2.12.0
18BuildRequires: gnome-doc-utils
19BuildRequires: gnome-keyring-devel >= 0.8
20BuildRequires: gnome-panel-devel >= 2.18.0
21BuildRequires: gtk+2-devel >= 1:2.10.10
22BuildRequires: hal-devel >= 0.5.7.1
23BuildRequires: intltool >= 0.35.5
24BuildRequires: libglade2-devel >= 2.6.0
25BuildRequires: libgnomeui-devel >= 2.18.0
26BuildRequires: libnotify-devel >= 0.4.3
27BuildRequires: libtool
28BuildRequires: libwnck-devel >= 2.18.0
29BuildRequires: pkgconfig
30BuildRequires: rpmbuild(macros) >= 1.311
31BuildRequires: scrollkeeper
32Requires(post,preun): GConf2
33Requires(post,postun): gtk+2
34Requires(post,postun): hicolor-icon-theme
35Requires(post,postun): scrollkeeper
36Requires: gnome-session >= 2.18.0
37Requires: notification-daemon >= 0.3.5
38Obsoletes: gnome-power
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%description
42Uses of GNOME Power Manager infrastructure
43- A dialogue that warns the user when on UPS power, that automatically
44 begins a kind shutdown when the power gets critically low.
45- An icon that allows a user to dim the LCD screen with a slider, and
46 does do automatically when going from mains to battery power on a
47 laptop.
48- An icon, that when an additional battery is inserted, updates it's
49 display to show two batteries and recalculates how much time
50 remaining. Would work for wireless mouse and keyboards, UPS's and
51 PDA's.
52- A daemon that does a clean shutdown when the battery is critically
53 low or does a soft-suspend when you close the lid on your laptop (or
54 press the "suspend" button on your PC).
55- Tell Totem to use a codec that does low quality processing to
56 conserve battery power.
57- Postpone indexing of databases (e.g. up2date) or other heavy
58 operations until on mains power.
59- Presentation programs / movie players don't want the screensaver
60 starting or screen blanking.
61
62%description -l pl.UTF-8
63Zastosowania infrastruktury zarządcy energii GNOME:
64- okno dialogowe ostrzegające użytkownika o zasilaniu z UPS-a,
65 automatycznie rozpoczynające uprzejme zamykanie systemu, kiedy
66 zasilanie jest w stanie krytycznym
67- ikona umożliwiająca użytkownikowi przyciemnienie ekranu LCD przy
68 użyciu suwaka i robi to automatycznie przy przełączaniu z głównego
69 źródła zasilania na baterie w laptopie
70- ikona, która po dołożeniu dodatkowej baterii uaktualnia wskaźnik,
71 aby pokazywał dwie baterie i przelicza ilość pozostałego czasu;
72 powinna działać dla bezprzewodowych myszy i klawiatur, UPS-ów i PDA
73- demon wykonujący czyste zamknięcie systemu kiedy bateria jest w
74 stanie krytycznym i wykonujący zamrożenie systemu (soft-suspend)
75 przy zamykaniu pokrywy laptopa (albo naciśnięciu przycisku
76 "suspend")
77- informowanie Totema, aby używał kodeka o niższej jakości w celu
78 zaoszczędzenia energii baterii
79- wstrzymywanie indeksowania baz danych (np. up2date) i innych
80 ciężkich operacji do czasu podłączenia głównego źródła zasilania
81- zapobieganie uruchomienia screensaverów i wygaszaniu ekranu podczas
82 działania programów prezentacyjnych i odtwarzaczy filmów
83
84%prep
85%setup -q
86%patch0 -p1
87
88%build
89%{__libtoolize}
90%{__aclocal}
91%{__autoheader}
92%{__automake}
93%{__autoconf}
94%configure \
95 --disable-schemas-install \
96 --disable-scrollkeeper
97%{__make}
98
99%install
100rm -rf $RPM_BUILD_ROOT
101
102%{__make} install \
103 DESTDIR=$RPM_BUILD_ROOT \
104 autostartdir=%{_datadir}/gnome/autostart
105
106%find_lang %{name} --all-name --with-gnome
107
108%clean
109rm -rf $RPM_BUILD_ROOT
110
111%post
112%gconf_schema_install gnome-power-manager.schemas
113%scrollkeeper_update_post
114%update_icon_cache hicolor
115
116%preun
117%gconf_schema_uninstall gnome-power-manager.schemas
118
119%postun
120%scrollkeeper_update_postun
121%update_icon_cache hicolor
122
123%files -f %{name}.lang
124%defattr(644,root,root,755)
125%doc AUTHORS ChangeLog NEWS README TODO
126%attr(755,root,root) %{_bindir}/gnome-brightness-applet
127%attr(755,root,root) %{_bindir}/gnome-inhibit-applet
128%attr(755,root,root) %{_bindir}/gnome-power-bugreport.sh
129%attr(755,root,root) %{_bindir}/gnome-power-cmd.sh
130%attr(755,root,root) %{_bindir}/gnome-power-manager
131%attr(755,root,root) %{_bindir}/gnome-power-preferences
132%attr(755,root,root) %{_bindir}/gnome-power-statistics
133%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus-1/system.d/gnome-power-manager.conf
134%{_libdir}/bonobo/servers/GNOME_BrightnessApplet.server
135%{_libdir}/bonobo/servers/GNOME_InhibitApplet.server
136%{_datadir}/gnome/autostart/gnome-power-manager.desktop
137%{_datadir}/dbus-1/services/gnome-power-manager.service
138%{_datadir}/gnome-2.0/ui/GNOME_BrightnessApplet.xml
139%{_datadir}/gnome-2.0/ui/GNOME_InhibitApplet.xml
140%{_mandir}/man1/*.1*
141%{_datadir}/gnome-power-manager
142%{_desktopdir}/gnome-power-preferences.desktop
143%{_desktopdir}/gnome-power-statistics.desktop
144%{_iconsdir}/hicolor/*/*/*
145%dir %{_omf_dest_dir}/gnome-power-manager
146%{_omf_dest_dir}/gnome-power-manager/gnome-power-manager-C.omf
147%lang(es) %{_omf_dest_dir}/gnome-power-manager/gnome-power-manager-es.omf
148%lang(fr) %{_omf_dest_dir}/gnome-power-manager/gnome-power-manager-fr.omf
149%lang(hu) %{_omf_dest_dir}/gnome-power-manager/gnome-power-manager-hu.omf
150%lang(pa) %{_omf_dest_dir}/gnome-power-manager/gnome-power-manager-pa.omf
151%lang(ru) %{_omf_dest_dir}/gnome-power-manager/gnome-power-manager-ru.omf
152%lang(sv) %{_omf_dest_dir}/gnome-power-manager/gnome-power-manager-sv.omf
153%{_sysconfdir}/gconf/schemas/gnome-power-manager.schemas
This page took 0.335085 seconds and 4 git commands to generate.