Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:polter
samsung-tools
_service:download_url:samsung-tools.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_url:samsung-tools.spec of Package samsung-tools
# # spec file for package samsung-tools (Version 2.1) # # Copyright 2008 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. Name: samsung-tools Version: 2.1 Release: 1 Summary: Tools for Samsung laptops License: GPLv2+ Group: Hardware/Other URL: https://launchpad.net/samsung-tools Source0: http://launchpad.net/samsung-tools/trunk/%{version}/+download/%{name}-%{version}.tar.gz Source1: samsung-tools.service Source2: samsung-tools-rpmlintrc BuildArch: noarch BuildRequires: glibc-locale BuildRequires: pm-utils BuildRequires: systemd-devel Requires: pm-utils Requires: dbus-1-python Requires: python-gtk Requires: python-notify Requires: rfkill Requires: xbindkeys %systemd_requires %description Samsung Tools is the successor of Samsung Scripts provided by the Linux On My Samsung project. It allows the complete configuration and the control in a friendly way of devices found on Samsung netbooks (bluetooth, wireless, webcam, backlight, CPU fan, special keys) and the control of various aspects related to power management, like the CPU undervolting (when a PHC-enabled kernel is available). %prep %setup -q #fix rights chmod 644 ChangeLog #for some reason dbus can't launch the service if the shebang is '#!/usr/bin/env python' sed -i -e 's,#!%{_bindir}/.*,#!%{_bindir}/python2,' session-service.py system-service.py %build #nothing %install LC_ALL=en_US.UTF-8 %makeinstall %{__install} -Dm 644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service %find_lang %{name} %pre %service_add_pre %{name}.service %post %service_add_post %{name}.service %preun %service_del_preun %{name}.service %postun %service_del_postun %{name}.service %files -f %{name}.lang %doc ChangeLog README %{_bindir}/%{name} %{_bindir}/%{name}-preferences %dir %{_sysconfdir}/%{name}/ %dir %{_sysconfdir}/%{name}/scripts/ %config(noreplace) %{_sysconfdir}/%{name}/session.conf %config(noreplace) %{_sysconfdir}/%{name}/system.conf %config(noreplace) %{_sysconfdir}/%{name}/scripts/* %{_sysconfdir}/dbus-1/system.d/org.voria.SamsungTools.System.conf %{_sysconfdir}/pm/power.d/%{name}* %{_sysconfdir}/pm/sleep.d/20_%{name} %{_sysconfdir}/xdg/autostart/%{name}-session-service.desktop %{_datadir}/applications/%{name}-preferences.desktop %{_datadir}/dbus-1/*/org.voria.SamsungTools.*.service %{_unitdir}/%{name}.service %{_prefix}/lib/%{name}
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