]> git.pld-linux.org Git - packages/upower.git/blame - upower.spec
- updated to 0.9.14
[packages/upower.git] / upower.spec
CommitLineData
d0951904
MB
1Summary: Power management service
2Summary(pl.UTF-8): Usługa zarządzania energią
dafd6455 3Name: upower
b22f6b21 4Version: 0.9.14
ef6fd72b 5Release: 1
d0951904
MB
6License: GPL v2+
7Group: Libraries
19b19e1c 8Source0: http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
b22f6b21 9# Source0-md5: 18803f82102d56aac90949d1e4251645
72851d35 10URL: http://upower.freedesktop.org/
7f03a8d5 11BuildRequires: autoconf >= 2.65
ef6fd72b 12BuildRequires: automake >= 1:1.11
2a28419b 13BuildRequires: dbus-devel >= 1.0.0
d0951904 14BuildRequires: dbus-glib-devel >= 0.76
c123b058 15BuildRequires: docbook-dtd412-xml
d0951904 16BuildRequires: gettext-devel
2a28419b 17BuildRequires: glib2-devel >= 1:2.22.0
0fd8623f 18BuildRequires: gobject-introspection-devel >= 0.10.0
ef6fd72b 19BuildRequires: gtk-doc >= 1.11
d0951904 20BuildRequires: intltool >= 0.40.0
cc36b8c0 21BuildRequires: libimobiledevice-devel >= 0.9.7
d0951904 22BuildRequires: libtool
3cf57ee9 23BuildRequires: libusb-devel
d0951904 24BuildRequires: pkgconfig
e055e067 25BuildRequires: polkit-devel >= 0.97
19b19e1c 26BuildRequires: tar >= 1:1.22
0fd8623f 27BuildRequires: udev-glib-devel >= 147
19b19e1c 28BuildRequires: xz
d0951904 29Requires: pm-utils
e055e067 30Requires: polkit >= 0.97
be7c1173 31Obsoletes: DeviceKit-power < 0.15
3ea6d0a8 32Obsoletes: UPower < 0.9.8-2
d0951904
MB
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
dafd6455 36upower provides a daemon, API and command line tools for managing
7f03a8d5 37power devices attached to the system.
d0951904
MB
38
39%description -l pl.UTF-8
3cf57ee9 40upower dostarcza demona, API i narzędzia linii poleceń do zarządzania
7f03a8d5 41urządzeniami energii dołączonymi do systemu.
d0951904
MB
42
43%package apidocs
7f03a8d5
MB
44Summary: UPower API documentation
45Summary(pl.UTF-8): Dokumentacja API UPower
d0951904
MB
46Group: Documentation
47Requires: gtk-doc-common
3ea6d0a8
ER
48Obsoletes: DeviceKit-power-apidocs
49Obsoletes: UPower-apidocs
d0951904
MB
50
51%description apidocs
7f03a8d5 52UPower API documentation.
d0951904
MB
53
54%description apidocs -l pl.UTF-8
7f03a8d5 55Dokumentacja API UPower.
d0951904 56
58850157 57%package devel
7f03a8d5
MB
58Summary: Header files for UPower library
59Summary(pl.UTF-8): Nagłówki biblioteki UPower
58850157
PZ
60Group: Development/Libraries
61Requires: %{name} = %{version}-%{release}
2a28419b
MB
62Requires: dbus-devel >= 1.0.0
63Requires: glib2-devel >= 1:2.22.0
3ea6d0a8
ER
64Obsoletes: DeviceKit-power-devel
65Obsoletes: UPower-devel
58850157
PZ
66
67%description devel
7f03a8d5 68Header files for UPower library.
58850157
PZ
69
70%description devel -l pl.UTF-8
7f03a8d5 71Nagłówki biblioteki UPower.
58850157 72
d0951904 73%prep
dafd6455 74%setup -q
d0951904
MB
75
76%build
09383712 77%{__gtkdocize}
d0951904
MB
78%{__intltoolize}
79%{__libtoolize}
80%{__aclocal}
81%{__autoconf}
82%{__autoheader}
83%{__automake}
84%configure \
72851d35 85 --disable-silent-rules \
6ecea951 86 --disable-static \
d0951904
MB
87 --enable-gtk-doc \
88 --with-html-dir=%{_gtkdocdir}
89
90%{__make}
91
92%install
93rm -rf $RPM_BUILD_ROOT
94
95%{__make} install \
96 DESTDIR=$RPM_BUILD_ROOT
97
9744188f 98%find_lang upower
7f03a8d5 99
d0951904
MB
100%clean
101rm -rf $RPM_BUILD_ROOT
102
58850157
PZ
103%post -p /sbin/ldconfig
104%postun -p /sbin/ldconfig
105
9744188f 106%files -f upower.lang
d0951904 107%defattr(644,root,root,755)
38abef6e 108%doc AUTHORS HACKING NEWS README
7f03a8d5 109%attr(755,root,root) %{_bindir}/upower
7f03a8d5 110%attr(755,root,root) %{_libdir}/upowerd
7f03a8d5
MB
111%attr(755,root,root) %{_libdir}/libupower-glib.so.*.*.*
112%attr(755,root,root) %ghost %{_libdir}/libupower-glib.so.1
113%{_libdir}/girepository-1.0/UPowerGlib-1.0.typelib
114%config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.freedesktop.UPower.conf
9744188f
MB
115%dir %{_sysconfdir}/UPower
116%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/UPower/UPower.conf
7f03a8d5
MB
117%{_datadir}/dbus-1/system-services/org.freedesktop.UPower.service
118%{_datadir}/polkit-1/actions/org.freedesktop.upower.policy
119%{_datadir}/polkit-1/actions/org.freedesktop.upower.qos.policy
120/lib/udev/rules.d/95-upower-battery-recall-dell.rules
121/lib/udev/rules.d/95-upower-battery-recall-fujitsu.rules
122/lib/udev/rules.d/95-upower-battery-recall-gateway.rules
123/lib/udev/rules.d/95-upower-battery-recall-ibm.rules
124/lib/udev/rules.d/95-upower-battery-recall-lenovo.rules
125/lib/udev/rules.d/95-upower-battery-recall-toshiba.rules
126/lib/udev/rules.d/95-upower-csr.rules
127/lib/udev/rules.d/95-upower-hid.rules
128/lib/udev/rules.d/95-upower-wup.rules
129%{_mandir}/man1/upower.1*
130%{_mandir}/man7/UPower.7*
131%{_mandir}/man8/upowerd.8*
cc36b8c0 132%dir /var/lib/upower
d0951904
MB
133
134%files apidocs
135%defattr(644,root,root,755)
7f03a8d5 136%{_gtkdocdir}/UPower
58850157
PZ
137
138%files devel
139%defattr(644,root,root,755)
7f03a8d5 140%attr(755,root,root) %{_libdir}/libupower-glib.so
7f03a8d5
MB
141%{_libdir}/libupower-glib.la
142%{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.Device.xml
3f2f1e01 143%{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.KbdBacklight.xml
7f03a8d5
MB
144%{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.QoS.xml
145%{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.Wakeups.xml
146%{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.xml
147%{_datadir}/gir-1.0/UPowerGlib-1.0.gir
7f03a8d5 148%{_includedir}/libupower-glib
7f03a8d5 149%{_pkgconfigdir}/upower-glib.pc
This page took 0.226671 seconds and 4 git commands to generate.