Группа :: Разработка/Прочее
Пакет: ldap-user-tools
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _ldapconfdir %_sysconfdir/openldap
%define _hooksdir %_sysconfdir/hooks/hostname.d
Name: ldap-user-tools
Version: 0.9.5
Release: alt1
Summary: Utilities to work with LDAP users
Group: Development/Other
License: GPL
Source: %name-%version.tar
BuildArch: noarch
BuildRequires: gettext-tools
Requires: ruby-ldap openldap-servers perl-Crypt-SmbHash alterator-kdc
Requires: alterator-openldap-functions >= 0.3
%description
Utilities to work with LDAP users
%prep
%setup
%build
make -C po
%install
for i in scripts/*; do
install -Dpm755 "$i" "%buildroot%_sbindir/${i##*/}"
done
install -Dpm640 data/slapd-hdb-template.conf %buildroot/%_ldapconfdir/slapd-hdb-template.conf
install -Dpm640 data/slapd-mdb-template.conf %buildroot/%_ldapconfdir/slapd-mdb-template.conf
install -Dpm444 schema/kerberos.schema %buildroot/%_ldapconfdir/schema/kerberos.schema
install -Dpm755 bin/mkntpasswd %buildroot/%_sbindir/mkntpasswd
install -Dpm755 hooks/ldap-domain %buildroot/%_hooksdir/21-ldap-domain
install -pm755 -d %buildroot/%_sysconfdir/alterator/openldap
%makeinstall_std -C po
%find_lang %name
%files -f %name.lang
%_sbindir/ldap-*
%_sbindir/mkntpasswd
%_ldapconfdir/slapd-hdb-template.conf
%_ldapconfdir/slapd-mdb-template.conf
%_ldapconfdir/schema/kerberos.schema
%_hooksdir/21-ldap-domain
%dir %_sysconfdir/alterator/openldap
%changelog
…
Полный changelog можно просмотреть здесь
%define _hooksdir %_sysconfdir/hooks/hostname.d
Name: ldap-user-tools
Version: 0.9.5
Release: alt1
Summary: Utilities to work with LDAP users
Group: Development/Other
License: GPL
Source: %name-%version.tar
BuildArch: noarch
BuildRequires: gettext-tools
Requires: ruby-ldap openldap-servers perl-Crypt-SmbHash alterator-kdc
Requires: alterator-openldap-functions >= 0.3
%description
Utilities to work with LDAP users
%prep
%setup
%build
make -C po
%install
for i in scripts/*; do
install -Dpm755 "$i" "%buildroot%_sbindir/${i##*/}"
done
install -Dpm640 data/slapd-hdb-template.conf %buildroot/%_ldapconfdir/slapd-hdb-template.conf
install -Dpm640 data/slapd-mdb-template.conf %buildroot/%_ldapconfdir/slapd-mdb-template.conf
install -Dpm444 schema/kerberos.schema %buildroot/%_ldapconfdir/schema/kerberos.schema
install -Dpm755 bin/mkntpasswd %buildroot/%_sbindir/mkntpasswd
install -Dpm755 hooks/ldap-domain %buildroot/%_hooksdir/21-ldap-domain
install -pm755 -d %buildroot/%_sysconfdir/alterator/openldap
%makeinstall_std -C po
%find_lang %name
%files -f %name.lang
%_sbindir/ldap-*
%_sbindir/mkntpasswd
%_ldapconfdir/slapd-hdb-template.conf
%_ldapconfdir/slapd-mdb-template.conf
%_ldapconfdir/schema/kerberos.schema
%_hooksdir/21-ldap-domain
%dir %_sysconfdir/alterator/openldap
%changelog
…
Полный changelog можно просмотреть здесь