Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37597168
en ru br
Репозитории ALT
S:2.0.12-alt1
5.1: 1.3.4-alt1
4.1: 1.3.0-alt1
4.0: 1.3.0-alt1
3.0: 1.2.2-alt1
+backports:1.2.9-alt1.M30.1
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: hasher-priv

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# $Id: hasher-priv.spec,v 1.35 2005/10/08 22:19:46 ldv Exp $

Name: hasher-priv
Version: 1.2.2
Release: alt1

Summary: A privileged helper for the hasher project
License: GPL
Group: Development/Other
Packager: Dmitry V. Levin <ldv at altlinux.org>

Source: %name-%version.tar.bz2

%define _libexecdir %_prefix/libexec
%define helperdir %_libexecdir/%name
%define configdir %_sysconfdir/%name

Provides: %helperdir
PreReq: coreutils, shadow-utils, glibc-utils
Obsoletes: pkg-build-priv

# Due to libexec hell.

Conflicts: hasher < 0:1.0.9-alt0.M24.1

BuildPreReq: help2man, sisyphus_check >= 0:0.7.11

%description
This package provides helpers for executing privileged operations
required by hasher utilities.

%prep
%setup -q

%build
%make_build CFLAGS="$RPM_OPT_FLAGS" libexecdir=%_libexecdir

%install
%makeinstall

%pre
if getent group pkg-build >/dev/null; then
groupmod -n hashman pkg-build
fi
if [ -d %_sysconfdir/pkg-build-priv -a ! -d %configdir ]; then
%__mv %_sysconfdir/pkg-build-priv %configdir
fi
/usr/sbin/groupadd -r -f hashman

%files
%_sbindir/hasher-useradd
%_mandir/man?/*
# config
%attr(710,root,hashman) %dir %configdir
%attr(710,root,hashman) %dir %configdir/user.d
%attr(640,root,hashman) %config(noreplace) %configdir/fstab
%attr(640,root,hashman) %config(noreplace) %configdir/system
# helpers
%attr(750,root,hashman) %dir %helperdir
%attr(6710,root,hashman) %helperdir/%name
%attr(755,root,root) %helperdir/*.sh

%doc DESIGN

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin