Sisyphus repository
Last update: 2018-07-16 14:06:04 +0400 | SRPMs: 18595 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 0.34.3-alt1
p8: 0.34.3-alt0.M80P.1

Group :: System/Servers
Source RPM: oddjob

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Raw spec file

Name: oddjob
Version: 0.34.3
Release: alt1
Summary: A D-Bus service which runs odd jobs on behalf of client applications

Group: System/Servers
License: %bsdstyle

Source: %name-%version.tar
Source1: oddjobd.init
Patch: %name-%version-%release.patch


BuildRequires: libdbus-devel libxml2-devel libpam0-devel libselinux-devel libsasl2-devel
BuildRequires: libkrb5-devel libcom_err-devel libsystemd-devel libldap-devel
BuildRequires: xmlto

%define _unpackaged_files_terminate_build 1

oddjob is a D-Bus service which performs particular tasks for clients
which connect to it and issue requests using the system-wide message

%package mkhomedir
Summary: An oddjob helper which creates and populates home directories
Group: System/Servers
Requires: %name = %version-%release

%description mkhomedir
This package contains the oddjob helper which can be used by the
pam_oddjob_mkhomedir module to create a home directory for a user
at login-time.

%package sample
Summary: A sample oddjob service
Group: System/Servers
Requires: %name = %version-%release

%description sample
This package contains a trivial sample oddjob service.

%patch -p1

%configure \
                --disable-static \
                --enable-pie \
                --enable-now \
                --with-selinux-acls \
                --with-selinux-labels \
                --without-python \
                --enable-xml-docs \
                --enable-systemd \
                --disable-sysvinit \


# Make sure we don't needlessly make these docs executable.

chmod -x src/reload src/mkhomedirfor src/mkmyhomedir

# Install initscript

install -Dm0755 %SOURCE1 %buildroot%_initdir/oddjobd

# Sample

install -m644 sample/oddjobd-sample.conf        %buildroot/%_sysconfdir/%{name}d.conf.d/
install -m644 sample/oddjob-sample.conf                %buildroot/%_sysconfdir/dbus-1/system.d/
install -m755 sample/                %buildroot/%_libexecdir/%name/

%doc *.dtd COPYING NEWS QUICKSTART doc/oddjob.html src/reload
%config(noreplace) %_sysconfdir/dbus-*/system.d/oddjob.conf
%config(noreplace) %_sysconfdir/oddjobd.conf
%dir %_sysconfdir/oddjobd.conf.d
%config(noreplace) %_sysconfdir/oddjobd.conf.d/oddjobd-introspection.conf
%dir %_sysconfdir/%name
%dir %_libexecdir/%name

%files mkhomedir
%doc src/mkhomedirfor src/mkmyhomedir
%config(noreplace) %_sysconfdir/dbus-*/system.d/oddjob-mkhomedir.conf
%config(noreplace) %_sysconfdir/oddjobd.conf.d/oddjobd-mkhomedir.conf

%exclude %_libdir/security/

%files sample
%config %_sysconfdir/dbus-*/system.d/oddjob-sample.conf
%config %_sysconfdir/oddjobd.conf.d/oddjobd-sample.conf

%post_service oddjobd

%preun_service oddjobd

* Mon Jun 27 2016 Mikhail Efremov <sem at> 0.34.3-alt1
- Initial build.

© 2009–2018 Igor Zubkov