1 Summary: Power management service
2 Summary(pl.UTF-8): Usługa zarządzania energią
8 Source0: http://upower.freedesktop.org/releases/upower-%{version}.tar.bz2
9 # Source0-md5: 1c0e5f45345c17fc945dfb365847b587
10 URL: http://upower.freedesktop.org/
11 BuildRequires: autoconf >= 2.65
12 BuildRequires: automake >= 1:1.9
13 BuildRequires: dbus-devel >= 1.0.0
14 BuildRequires: dbus-glib-devel >= 0.76
15 BuildRequires: docbook-dtd412-xml
16 BuildRequires: gettext-devel
17 BuildRequires: glib2-devel >= 1:2.22.0
18 BuildRequires: gobject-introspection-devel >= 0.6.7
19 BuildRequires: gtk-doc >= 1.9
20 BuildRequires: intltool >= 0.40.0
21 BuildRequires: libimobiledevice-devel >= 0.9.7
22 BuildRequires: libtool
23 BuildRequires: libusb-compat-devel
24 BuildRequires: pkgconfig
25 BuildRequires: polkit-devel >= 0.91
26 BuildRequires: udev-glib-devel
28 Requires: polkit >= 0.91
29 Provides: DeviceKit-power
30 Obsoletes: DeviceKit-power
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 UPower provides a daemon, API and command line tools for managing
35 power devices attached to the system.
37 %description -l pl.UTF-8
38 UPower dostarcza demona, API i narzędzia linii poleceń do zarządzania
39 urządzeniami energii dołączonymi do systemu.
42 Summary: UPower API documentation
43 Summary(pl.UTF-8): Dokumentacja API UPower
45 Requires: gtk-doc-common
46 Provides: DeviceKit-power-apidocs
47 Obsoletes: DeviceKit-power-apidocs
50 UPower API documentation.
52 %description apidocs -l pl.UTF-8
53 Dokumentacja API UPower.
56 Summary: Header files for UPower library
57 Summary(pl.UTF-8): Nagłówki biblioteki UPower
58 Group: Development/Libraries
59 Requires: %{name} = %{version}-%{release}
60 Requires: dbus-devel >= 1.0.0
61 Requires: glib2-devel >= 1:2.22.0
62 Provides: DeviceKit-power-devel
63 Obsoletes: DeviceKit-power-devel
66 Header files for UPower library.
68 %description devel -l pl.UTF-8
69 Nagłówki biblioteki UPower.
72 %setup -q -n upower-%{version}
83 --disable-silent-rules \
86 --with-html-dir=%{_gtkdocdir}
91 rm -rf $RPM_BUILD_ROOT
94 DESTDIR=$RPM_BUILD_ROOT
99 rm -rf $RPM_BUILD_ROOT
101 %post -p /sbin/ldconfig
102 %postun -p /sbin/ldconfig
104 %files -f upower.lang
105 %defattr(644,root,root,755)
106 %doc AUTHORS ChangeLog HACKING NEWS README
107 %attr(755,root,root) %{_bindir}/devkit-power
108 %attr(755,root,root) %{_bindir}/upower
109 %attr(755,root,root) %{_libdir}/devkit-power-daemon
110 %attr(755,root,root) %{_libdir}/upowerd
111 %attr(755,root,root) %{_libdir}/libdevkit-power-gobject.so.*.*.*
112 %attr(755,root,root) %ghost %{_libdir}/libdevkit-power-gobject.so.1
113 %attr(755,root,root) %{_libdir}/libupower-glib.so.*.*.*
114 %attr(755,root,root) %ghost %{_libdir}/libupower-glib.so.1
115 %{_libdir}/girepository-1.0/UPowerGlib-1.0.typelib
116 %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.freedesktop.UPower.conf
117 %dir %{_sysconfdir}/UPower
118 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/UPower/UPower.conf
119 %{_datadir}/dbus-1/system-services/org.freedesktop.UPower.service
120 %{_datadir}/polkit-1/actions/org.freedesktop.upower.policy
121 %{_datadir}/polkit-1/actions/org.freedesktop.upower.qos.policy
122 /lib/udev/rules.d/95-upower-battery-recall-dell.rules
123 /lib/udev/rules.d/95-upower-battery-recall-fujitsu.rules
124 /lib/udev/rules.d/95-upower-battery-recall-gateway.rules
125 /lib/udev/rules.d/95-upower-battery-recall-ibm.rules
126 /lib/udev/rules.d/95-upower-battery-recall-lenovo.rules
127 /lib/udev/rules.d/95-upower-battery-recall-toshiba.rules
128 /lib/udev/rules.d/95-upower-csr.rules
129 /lib/udev/rules.d/95-upower-hid.rules
130 /lib/udev/rules.d/95-upower-wup.rules
131 %{_mandir}/man1/upower.1*
132 %{_mandir}/man7/UPower.7*
133 %{_mandir}/man8/upowerd.8*
137 %defattr(644,root,root,755)
141 %defattr(644,root,root,755)
142 %attr(755,root,root) %{_libdir}/libdevkit-power-gobject.so
143 %attr(755,root,root) %{_libdir}/libupower-glib.so
144 %{_libdir}/libdevkit-power-gobject.la
145 %{_libdir}/libupower-glib.la
146 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.Device.xml
147 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.QoS.xml
148 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.Wakeups.xml
149 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.xml
150 %{_datadir}/gir-1.0/UPowerGlib-1.0.gir
151 %{_includedir}/DeviceKit-power
152 %{_includedir}/libupower-glib
153 %{_pkgconfigdir}/devkit-power-gobject.pc
154 %{_pkgconfigdir}/upower-glib.pc