Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1576555
 поиск   регистрация   авторизация 
 
Группа :: Система/Серверы
Пакет: ngircd

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

Name: ngircd
Version: 0.10.1
Release: alt0.M24.1
License: GPL
Group: System/Servers
Source0: %name-%version.tar.gz
Source1: daemon
Summary: Next Generation IRC Server
Url: http://ngircd.barton.de/
Packager: Motsyo Gennadi <drool at altlinux.ru>
Patch1: ngircd-0.10.0_default_config.patch
Patch2: ngircd-0.10.0_man_page_paths.patch

# Automatically added by buildreq on Tue Dec 19 2006

BuildRequires: hostinfo zlib-devel libident-devel

%description
Next Generation IRC Server

%prep
%setup -q
%patch1 -p0
%patch2 -p0

%build
%__subst 's|docdir = $(datadir)/doc/$(PACKAGE)|docdir = %_docdir/%name-%version|g' doc/Makefile.in
%configure --with-ident --enable-sniffer --enable-strict-rfc --without-epoll
%make_build

%install
%make DESTDIR=%buildroot install
%__install -Dp -m 0755 %SOURCE1 %buildroot%_initdir/ngirc
%__mkdir -p %buildroot/var/lib/%name
touch %buildroot%_sysconfdir/%name.motd

%pre
groupadd -r %name &>/dev/null ||:
useradd -o -g %name -s /bin/false -r -c "%name irc server" -d /home/%name %name &>/dev/null ||:

%post
%post_service %name
service ngirc start

%preun
service ngirc stop
userdel %name

%files
%config(noreplace)        %attr(0640,root,ngircd) %_sysconfdir/%name.conf
%ghost %config(noreplace) %attr(0640,root,ngircd) %_sysconfdir/%name.motd
%_docdir/%name-%version
%_sbindir/*
%_initdir/*
%_man5dir/*
%_man8dir/*

%changelog

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005