]> git.pld-linux.org Git - packages/gnome-power-manager.git/blobdiff - gnome-power-manager.spec
- updated to 3.6.0
[packages/gnome-power-manager.git] / gnome-power-manager.spec
index e14ba2b9a7ae6e57359471d54550a89e8a7b82ea..ddd1ccfb9cb987059dcce0890b1f9b4b6b24f629 100644 (file)
@@ -1,46 +1,39 @@
 Summary:       GNOME Power Manager
 Summary(pl.UTF-8):     Zarządca energii dla GNOME
 Name:          gnome-power-manager
-Version:       2.28.2
+Version:       3.6.0
 Release:       1
 License:       GPL v2+
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-power-manager/2.28/%{name}-%{version}.tar.bz2
-# Source0-md5: 76c00e82ba3ab1cd748dd981dc7af2eb
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-power-manager/3.6/%{name}-%{version}.tar.xz
+# Source0-md5: 3bc0f6bf7040d3f4916def26359f20ee
 URL:           http://www.gnome.org/projects/gnome-power-manager/
-BuildRequires: DeviceKit-power-devel >= 008
-BuildRequires: GConf2-devel >= 2.26.0
-BuildRequires: autoconf >= 2.60
-BuildRequires: automake
-BuildRequires: dbus-glib-devel >= 0.74
+BuildRequires: autoconf >= 2.65
+BuildRequires: automake >= 1:1.11
+BuildRequires: cairo-devel >= 1.0.0
 BuildRequires: docbook-dtd41-sgml
 BuildRequires: docbook-dtd43-xml
 BuildRequires: docbook-utils
 BuildRequires: gettext-devel
+BuildRequires: glib2-devel >= 1:2.31.10
 BuildRequires: gnome-common >= 2.24.0
 BuildRequires: gnome-doc-utils >= 0.14.0
-BuildRequires: gnome-keyring-devel >= 2.26.0
-BuildRequires: gnome-panel-devel >= 2.26.0
-BuildRequires: gtk+2-devel >= 2:2.18.0
-BuildRequires: hal-devel >= 0.5.10
+BuildRequires: gtk+3-devel >= 3.3.8
 BuildRequires: intltool >= 0.40.0
-BuildRequires: libcanberra-gtk-devel >= 0.10
-BuildRequires: libnotify-devel >= 0.4.4
 BuildRequires: libtool
-BuildRequires: libunique-devel >= 0.9.4
-BuildRequires: libwnck-devel >= 2.26.0
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(find_lang) >= 1.23
-BuildRequires: rpmbuild(macros) >= 1.311
-BuildRequires: scrollkeeper
-BuildRequires: udev-glib-devel
-Requires(post,postun): gtk+2
-Requires(post,postun): scrollkeeper
-Requires(post,preun):  GConf2
-Requires:      DeviceKit-power >= 008
-Requires:      dbus(org.freedesktop.Notifications)
-Requires:      gnome-session >= 2.22.0
+BuildRequires: rpmbuild(macros) >= 1.601
+BuildRequires: tar >= 1:1.22
+BuildRequires: upower-devel >= 0.9.1
+BuildRequires: xz
+Requires(post,postun): glib2 >= 1:2.26.0
+Requires:      glib2 >= 1:2.31.10
+Requires:      gnome-icon-theme
+Requires:      gnome-session >= 3.0.0
+Requires:      gtk-update-icon-cache
 Requires:      hicolor-icon-theme
+Requires:      upower >= 0.9.1
 Obsoletes:     gnome-power
 # sr@Latn vs. sr@latin
 Conflicts:     glibc-misc < 6:2.7
@@ -53,7 +46,7 @@ Uses of GNOME Power Manager infrastructure
 - An icon that allows a user to dim the LCD screen with a slider, and
   does do automatically when going from mains to battery power on a
   laptop.
-- An icon, that when an additional battery is inserted, updates it's
+- An icon, that when an additional battery is inserted, updates its
   display to show two batteries and recalculates how much time
   remaining. Would work for wireless mouse and keyboards, UPS's and
   PDA's.
@@ -73,20 +66,21 @@ Zastosowania infrastruktury zarządcy energii GNOME:
   automatycznie rozpoczynające uprzejme zamykanie systemu, kiedy
   zasilanie jest w stanie krytycznym
 - ikona umożliwiająca użytkownikowi przyciemnienie ekranu LCD przy
-  użyciu suwaka i robi to automatycznie przy przełączaniu z głównego
+  użyciu suwaka i robiąca to automatycznie przy przełączaniu z głównego
   źródła zasilania na baterie w laptopie
 - ikona, która po dołożeniu dodatkowej baterii uaktualnia wskaźnik,
   aby pokazywał dwie baterie i przelicza ilość pozostałego czasu;
   powinna działać dla bezprzewodowych myszy i klawiatur, UPS-ów i PDA
-- demon wykonujący czyste zamknięcie systemu kiedy bateria jest w
+- demon wykonujący czyste zamknięcie systemu, kiedy bateria jest w
   stanie krytycznym i wykonujący zamrożenie systemu (soft-suspend) przy
   zamykaniu pokrywy laptopa (albo naciśnięciu przycisku "suspend")
 - informowanie Totema, aby używał kodeka o niższej jakości w celu
   zaoszczędzenia energii baterii
 - wstrzymywanie indeksowania baz danych (np. up2date) i innych
   ciężkich operacji do czasu podłączenia głównego źródła zasilania
-- zapobieganie uruchomienia screensaverów i wygaszaniu ekranu podczas
-  działania programów prezentacyjnych i odtwarzaczy filmów
+- zapobieganie uruchomieniu wygaszacza ekranu i samemu wygaszaniu
+  ekranu podczas działania programów prezentacyjnych i odtwarzaczy
+  filmów
 
 %prep
 %setup -q
@@ -99,9 +93,7 @@ Zastosowania infrastruktury zarządcy energii GNOME:
 %{__autoheader}
 %{__autoconf}
 %configure \
-       --disable-schemas-install \
-       --enable-policykit \
-       --disable-scrollkeeper
+       --disable-silent-rules
 %{__make}
 
 %install
@@ -110,41 +102,27 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-%find_lang %{name} --with-gnome --with-omf --all-name
+%find_lang %{name} --with-gnome --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%gconf_schema_install gnome-power-manager.schemas
-%scrollkeeper_update_post
 %update_icon_cache hicolor
-
-%preun
-%gconf_schema_uninstall gnome-power-manager.schemas
+%update_icon_cache gnome
+%glib_compile_schemas
 
 %postun
-%scrollkeeper_update_postun
 %update_icon_cache hicolor
+%update_icon_cache gnome
+%glib_compile_schemas
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/gnome-power-bugreport.sh
-%attr(755,root,root) %{_bindir}/gnome-power-manager
-%attr(755,root,root) %{_bindir}/gnome-power-preferences
+%doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/gnome-power-statistics
-%attr(755,root,root) %{_libdir}/gnome-brightness-applet
-%attr(755,root,root) %{_libdir}/gnome-inhibit-applet
-%{_libdir}/bonobo/servers/GNOME_BrightnessApplet.server
-%{_libdir}/bonobo/servers/GNOME_InhibitApplet.server
-%{_sysconfdir}/xdg/autostart/gnome-power-manager.desktop
-%{_datadir}/dbus-1/services/gnome-power-manager.service
-%{_datadir}/gnome-2.0/ui/GNOME_BrightnessApplet.xml
-%{_datadir}/gnome-2.0/ui/GNOME_InhibitApplet.xml
 %{_mandir}/man1/*.1*
+%{_datadir}/glib-2.0/schemas/org.gnome.power-manager.gschema.xml
 %{_datadir}/gnome-power-manager
-%{_desktopdir}/gnome-power-preferences.desktop
 %{_desktopdir}/gnome-power-statistics.desktop
 %{_iconsdir}/hicolor/*/*/*
-%{_sysconfdir}/gconf/schemas/gnome-power-manager.schemas
This page took 0.125285 seconds and 4 git commands to generate.