Commit db77ca3e authored by Vitaly Lipatov's avatar Vitaly Lipatov

spec fixes

parent 4c3897ad
Name: settingsd
Version: 0.1
Release: alt3
Summary: Settingsd - extensible service to control the operating system
Summary: Settingsd - extensible service to control the operating system via D-Bus
Group: System/Servers
License: GPL
URL: http://etersoft.ru
#Git: git.eter:/people/mdevaev/packages/settingsd.git
Packager: Devaev Maxim <mdevaev@etersoft.ru>
#Git: git.eter:/people/mdevaev/packages/settingsd.git
Source: %name-%version.tar
BuildArch: noarch
BuildRequires: rpm-build-compat
BuildRequires: python-dev
Requires: python-module-dbus
Requires: chkconfig, service, SysVinit, pm-utils
Requires: lsb-release
%description
%summary
%description
Extensible service to control the operating system via D-Bus.
%prep
%setup
%build
%python_build
%install
%python_install
%__sed -i -e 's|%buildroot||g' %buildroot%python_sitelibdir/%name/const.py
# FIXME: hack to drop out buildroot
%__subst 's|%buildroot||g' %buildroot%python_sitelibdir/%name/const.py
%files
%_bindir/settingsd-server.py
%dir %_sysconfdir/%name
%dir %_sysconfdir/%name/
%config(noreplace) %_sysconfdir/%name/*.conf
%_sysconfdir/init.d/%name
%_initddir/%name
%_sysconfdir/dbus-1/system.d/*.conf
%_datadir/%name
%python_sitelibdir/%name
%_datadir/%name/
%python_sitelibdir/%name/
%python_sitelibdir/*.egg-info
......
......@@ -16,7 +16,7 @@ scripts_list = ["settingsd-server.py"]
data_files_list = [
("/etc/dbus-1/system.d", ["configs/dbus/org.etersoft.settingsd.conf"]),
("/etc/init.d/settingsd", ["init/settingsd"])
("/etc/init.d", ["init/settingsd"])
]
for maps_list_item in ( ("share/settingsd/functions", "plugins/functions"),
("share/settingsd/actions", "plugins/actions"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment