Search
SailfishOS Open Build Service
>
Projects
>
home:kimmoli
:
onyx_test2
>
mce
> _service:tar_git:mce.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:mce.spec of Package mce
Name: mce Summary: Mode Control Entity for Nokia mobile computers Version: 1.79.5+hack_onyx_volkey_probe.20160502054756.1.g5638452 Release: 1 Group: System/System Control License: LGPLv2 URL: https://github.com/nemomobile/mce Source0: %{name}-%{version}.tar.bz2 # Patches auto-generated by git-buildpackage: Requires: dsme Requires: systemd Requires(preun): systemd Requires(post): systemd Requires(postun): systemd Conflicts: mce-plugin-libhybris < 1.3.0 Conflicts: lipstick-qt5 < 0.24.7 BuildRequires: pkgconfig(dbus-1) >= 1.0.2 BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(dsme) >= 0.58 BuildRequires: pkgconfig(libiphb) BuildRequires: pkgconfig(glib-2.0) >= 2.36.0 BuildRequires: pkgconfig(mce) >= 1.18.0 BuildRequires: pkgconfig(libngf0) >= 0.24 BuildRequires: pkgconfig(libsystemd-daemon) BuildRequires: kernel-headers >= 2.6.32 BuildRequires: systemd # systemd has /etc/rpm/macros.systemd # Automatically genereted libglib-2.0.so.0 dependency is not enough Requires: glib2 >= 2.36.0 %description This package contains the Mode Control Entity which provides mode management features. This is a daemon that is the backend for many features on Nokia's mobile computers. %package tools Summary: Tools for interacting with mce Group: Development/Tools Requires: %{name} = %{version}-%{release} # Automatically genereted libglib-2.0.so.0 dependency is not enough Requires: glib2 >= 2.36.0 %description tools This package contains tools that can be used to interact with the Mode Control Entity and to get mode information. %package tests Summary: Test suite for mce Group: System/System Control BuildRequires: pkgconfig(check) # Automatically genereted libglib-2.0.so.0 dependency is not enough Requires: glib2 >= 2.36.0 %description tests This package contains test suite for mce %package config-legacy Summary: Config files for mce (legacy hw) Group: System/System Control %description config-legacy This package contains mce configuration files for legacy hw Potentially useful for using Nemomobile version of mce with Nokia N770, N800, N810, N900, N9 and N950 devices. %prep %setup -q -n %{name}-%{version} %build ./verify_version make %{?jobs:-j%jobs} %{!?qa_stage_devel:ENABLE_DEVEL_LOGGING=n} %install rm -rf %{buildroot} # FIXME: we need a configure script ... for now pass dirs in make install make install DESTDIR=%{buildroot} _UNITDIR=%{_unitdir} %preun if [ "$1" -eq 0 ]; then systemctl stop %{name}.service || : fi %post systemctl daemon-reload || : systemctl reload-or-try-restart %{name}.service || : %postun systemctl daemon-reload || : %files %defattr(-,root,root,-) %doc COPYING debian/changelog debian/copyright # binaries %{_sbindir}/%{name} %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/modules %{_libdir}/%{name}/modules/*.so # config %dir %config %{_sysconfdir}/%{name} %config %{_sysconfdir}/%{name}/10mce.ini %config %{_sysconfdir}/%{name}/20mce-radio-states.ini %config %{_sysconfdir}/%{name}/20hybris-led.ini %config %{_sysconfdir}/%{name}/20debug-led.ini %config %{_sysconfdir}/%{name}/20als-defaults.ini # empty /var/lib/mce -> rpm %dir %{_localstatedir}/lib/%{name}/ # NB empty /var/run/mce -> handled by systemd tmpfiles.d/mce.conf # manpages %{_mandir}/man8/%{name}.8.gz # dbus %config %{_sysconfdir}/dbus-1/system.d/mce.conf # systemd %config %{_sysconfdir}/tmpfiles.d/mce.conf /lib/systemd/system/%{name}.service /lib/systemd/system/multi-user.target.wants/%{name}.service %files tools %defattr(-,root,root,-) %doc COPYING debian/copyright %{_sbindir}/mcetool %{_sbindir}/evdev_trace %{_mandir}/man8/mcetool.8.gz %files tests %defattr(-,root,root,-) ## QUARANTINE /opt/tests/mce/* %files config-legacy %defattr(-,root,root,-) %config %{_sysconfdir}/%{name}/11legacy.ini