Commit db77ca3e authored by Vitaly Lipatov's avatar Vitaly Lipatov

spec fixes

parent 4c3897ad
Name: settingsd Name: settingsd
Version: 0.1 Version: 0.1
Release: alt3 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 Group: System/Servers
License: GPL License: GPL
URL: http://etersoft.ru URL: http://etersoft.ru
#Git: git.eter:/people/mdevaev/packages/settingsd.git
Packager: Devaev Maxim <mdevaev@etersoft.ru> Packager: Devaev Maxim <mdevaev@etersoft.ru>
#Git: git.eter:/people/mdevaev/packages/settingsd.git
Source: %name-%version.tar Source: %name-%version.tar
BuildArch: noarch BuildArch: noarch
BuildRequires: rpm-build-compat
BuildRequires: python-dev BuildRequires: python-dev
Requires: python-module-dbus Requires: python-module-dbus
Requires: chkconfig, service, SysVinit, pm-utils Requires: chkconfig, service, SysVinit, pm-utils
Requires: lsb-release Requires: lsb-release
%description
%summary
%description
Extensible service to control the operating system via D-Bus.
%prep %prep
%setup %setup
%build %build
%python_build %python_build
%install %install
%python_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 %files
%_bindir/settingsd-server.py %_bindir/settingsd-server.py
%dir %_sysconfdir/%name %dir %_sysconfdir/%name/
%config(noreplace) %_sysconfdir/%name/*.conf %config(noreplace) %_sysconfdir/%name/*.conf
%_sysconfdir/init.d/%name %_initddir/%name
%_sysconfdir/dbus-1/system.d/*.conf %_sysconfdir/dbus-1/system.d/*.conf
%_datadir/%name %_datadir/%name/
%python_sitelibdir/%name %python_sitelibdir/%name/
%python_sitelibdir/*.egg-info %python_sitelibdir/*.egg-info
......
...@@ -16,7 +16,7 @@ scripts_list = ["settingsd-server.py"] ...@@ -16,7 +16,7 @@ scripts_list = ["settingsd-server.py"]
data_files_list = [ data_files_list = [
("/etc/dbus-1/system.d", ["configs/dbus/org.etersoft.settingsd.conf"]), ("/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"), for maps_list_item in ( ("share/settingsd/functions", "plugins/functions"),
("share/settingsd/actions", "plugins/actions"), ("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