Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:wbem:builddeps
upower
upower.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File upower.spec of Package upower
# # spec file for package upower (Version 0.9.8) # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: upower Summary: Power Device Enumeration Framework Version: 0.9.8 Release: 1 License: GPL-2.0+ Url: http://upower.freedesktop.org/ Group: System/Daemons Source: %{name}-%{version}.tar.bz2 Source1: %{name}-rpmlintrc BuildRequires: dbus-1-glib-devel BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc BuildRequires: intltool BuildRequires: libgudev-1_0-devel %if 0%{?suse_version} != 1110 BuildRequires: libimobiledevice-devel %endif BuildRequires: polkit-devel BuildRequires: libusb-1_0-devel BuildRequires: udev Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %description UPower is an abstraction for enumerating power devices, listening to device events and querying history and statistics. Any application or service on the system can access the org.freedesktop. UPower service via the system message bus. Some operations (such as suspending the system) are restricted using PolicyKit. %package -n libupower-glib1 License: GPL-2.0+ Summary: Power Device Enumeration Framework - Library Group: System/Daemons Recommends: %{name} %description -n libupower-glib1 UPower is an abstraction for enumerating power devices, listening to device events and querying history and statistics. Any application or service on the system can access the org.freedesktop.UPower service via the system message bus. Some operations (such as suspending the system) are restricted using PolicyKit. %package -n libupower-glib-devel License: GPL-2.0+ Summary: Power Device Enumeration Framework - Development Files Group: Development/Libraries/Other Requires: libupower-glib1 = %{version} Requires: glib2-devel Provides: %{name}-devel = %{version} %description -n libupower-glib-devel UPower is an abstraction for enumerating power devices, listening to device events and querying history and statistics. Any application or service on the system can access the org.freedesktop.UPower service via the system message bus. Some operations (such as suspending the system) are restricted using PolicyKit. %package -n DeviceKit-power License: GPL-2.0+ Summary: Power Device Enumeration Framework Group: System/Daemons # we only have symlinks in this package, so we need the real upower package Requires: %{name} = %{version} %description -n DeviceKit-power UPower is an abstraction for enumerating power devices, listening to device events and querying history and statistics. Any application or service on the system can access the org.freedesktop.UPower service via the system message bus. Some operations (such as suspending the system) are restricted using PolicyKit. This package provides a compatibily layer between upower and DeviceKit-power. %lang_package %prep %setup -q %build export V=1 %configure\ --disable-static \ --libexecdir=%{_libexecdir}/upower \ --enable-gtk-doc make %{?_smp_mflags} %install %makeinstall rm -f %{buildroot}%{_libdir}/*.la %find_lang %{name} %clean rm -rf %{buildroot} %post -n libupower-glib1 -p /sbin/ldconfig %postun -n libupower-glib1 -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README %config %{_sysconfdir}/UPower/ %{_bindir}/upower %dir %{_libexecdir}/upower %{_libexecdir}/upower/upowerd /lib/udev/rules.d/*.rules %config %{_sysconfdir}/dbus-1/system.d/*.conf %{_datadir}/dbus-1/system-services/*.service %{_datadir}/polkit-1/actions/org.freedesktop.upower*.policy %doc %{_mandir}/man?/*.* %dir %{_localstatedir}/lib/upower %files -n libupower-glib1 %defattr(-,root,root,-) %{_libdir}/libupower-glib.so.* %if 0%{?suse_version} != 1110 %{_libdir}/girepository-1.0/UPowerGlib-1.0.typelib %endif %files -n libupower-glib-devel %defattr(-,root,root,-) %{_datadir}/dbus-1/interfaces/*.xml %doc %{_datadir}/gtk-doc/html/UPower/ %{_includedir}/libupower-glib/ %{_libdir}/pkgconfig/upower-glib.pc %{_libdir}/libupower-glib.so %if 0%{?suse_version} != 1110 %{_datadir}/gir-1.0/UPowerGlib-1.0.gir %endif %files -n DeviceKit-power %defattr(-,root,root,-) %{_bindir}/devkit-power %{_libexecdir}/upower/devkit-power-daemon %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor