/[packages]/cauldron/mate-power-manager/current/SPECS/mate-power-manager.spec
ViewVC logotype

Contents of /cauldron/mate-power-manager/current/SPECS/mate-power-manager.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 587858 - (show annotations) (download)
Mon Feb 10 00:36:07 2014 UTC (10 years, 2 months ago) by tarakbumba
File size: 2719 byte(s)
SILENT: - Add mate-power-manager-1.6.3-fdo-upower.patch to fix upower build errors.

1 %define url_ver %(echo %{version}|cut -d. -f1,2)
2 Name: mate-power-manager
3 Version: 1.6.3
4 Release: %mkrel 2
5 Summary: MATE Power Manager
6 License: GPLv2+
7 Group: Graphical desktop/MATE
8 URL: http://pub.mate-desktop.org
9 Source0: http://pub.mate-desktop.org/releases/%{url_ver}/%{name}-%{version}.tar.xz
10 # (upstream) This patch adds more backlight interfaces to whitelist:
11 Patch0: 001-mate-power-manager-1.6.2-add_more_backlight_interfaces.patch
12 # Fix upower build errors(Fedora):
13 Patch1: mate-power-manager-1.6.3-fdo-upower.patch
14
15 BuildRequires: intltool
16 BuildRequires: mate-common
17 BuildRequires: rarian
18 BuildRequires: xmlto
19 BuildRequires: pkgconfig(cairo)
20 BuildRequires: pkgconfig(gtk+-2.0)
21 BuildRequires: pkgconfig(libcanberra-gtk)
22 BuildRequires: pkgconfig(libnotify)
23 BuildRequires: pkgconfig(libmatepanelapplet-4.0)
24 BuildRequires: pkgconfig(libwnck-1.0)
25 BuildRequires: pkgconfig(mate-doc-utils)
26 BuildRequires: pkgconfig(mate-keyring-1)
27 BuildRequires: pkgconfig(unique-1.0)
28 BuildRequires: pkgconfig(upower-glib)
29 BuildRequires: pkgconfig(systemd)
30
31 Requires: mate-icon-theme
32 Requires: upower
33
34 %description
35 MATE Power Manager uses the information and facilities provided by UPower
36 displaying icons and handling user callbacks in an interactive MATE session.
37
38 %prep
39 %setup -q
40 %apply_patches
41
42 %build
43 %configure2_5x \
44 --enable-unique \
45 --with-systemdinhibit \
46 --with-gtk=2.0 \
47 --disable-scrollkeeper \
48 --enable-docbook-docs \
49 --enable-applets \
50
51 %make
52
53 %install
54 %makeinstall_std
55
56 rm -f %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache
57 rm -fr %{buildroot}%{_datadir}/MateConf
58
59 %find_lang %name
60
61 %files -f %{name}.lang
62 %doc AUTHORS COPYING README
63 %{_mandir}/man1/*
64 %{_bindir}/mate-power-bugreport.sh
65 %{_bindir}/mate-power-manager
66 %{_bindir}/mate-power-preferences
67 %{_bindir}/mate-power-statistics
68 %{_sbindir}/mate-power-backlight-helper
69 %{_datadir}/omf/mate-power-manager/
70 %{_datadir}/applications/mate-*.desktop
71 %dir %{_datadir}/dbus-1/services
72 %{_datadir}/dbus-1/services/*.service
73 %{_datadir}/mate-power-manager/
74 %{_datadir}/icons/hicolor/*/apps/mate-*.*
75 %{_datadir}/polkit-1/actions/org.mate.power.policy
76 %{_datadir}/mate/help/mate-power-manager/
77 %{_datadir}/mate-2.0/ui/brightness-applet-menu.xml
78 %{_datadir}/mate-2.0/ui/inhibit-applet-menu.xml
79 %{_datadir}/mate-panel/applets/org.mate.BrightnessApplet.mate-panel-applet
80 %{_datadir}/mate-panel/applets/org.mate.InhibitApplet.mate-panel-applet
81 %{_datadir}/glib-2.0/schemas/org.mate.power-manager.gschema.xml
82 %{_sysconfdir}/xdg/autostart/mate-power-manager.desktop
83 %{_libexecdir}/mate-brightness-applet
84 %{_libexecdir}/mate-inhibit-applet
85

  ViewVC Help
Powered by ViewVC 1.1.30