Группа :: Система/Серверы
Пакет: ichatsrvd
Главная Изменения Спек Патчи Загрузить Bugs and FR
Name: ichatsrvd
Version: 0.24
Release: alt0.M24.4
License: free
Group: System/Servers
Source0: %name-%version.tar.bz2
Summary: Intranet Chat server
Summary(ru_RU.CP1251): вЮР-ЯЕПБЕП хМРПЮМЕР
Url: http://vaulter.narod.ru
Packager: Motsyo Gennadi <drool at altlinux.ru>
Source1: ichatsrtvd_killproc.patch
# Automatically added by buildreq on Sun Oct 08 2006
BuildRequires: libssl-devel
%description
Intranet Chat server
%description -l ru_RU.CP1251
вЮР-ЯЕПБЕП хМРПЮМЕР
%prep
%setup -q
%__patch ichatsrv %SOURCE1
%build
%__subst 's|-march=i686|$(RPM_OPT_FLAGS)|g' Makefile
%__subst 's|/usr/local/ssl/include|%_includedir/openssl|g' Makefile
%__subst 's|/ichatsrvd.log|/%name/%name.log|g' ichatserv.h
%__subst 's|/home/test4/ichat|/var/log/%name|g' devastator.c
%__subst 's|/etc/ichat_banlist|/etc/%name/ichat_banlist|g' ichatsrv.conf
%__subst 's|/etc/ichatsrv.conf|/etc/%name/%name.conf|g' ichatserv.h
%__subst 's|logfile /var/log/ichatsrvd.log|logfile /var/log/%name/%name.log|g' ichatsrv.conf
%make RELEASE=1 DEF_CONFFILE=%_sysconfdir/%name/%name.conf DEVASTATOR=1 BAN_LIST=%_sysconfdir/%name/ichat_banlist BINDIR=%_bindir
%install
%__mkdir -p %buildroot%_logdir/%name
%__install -Dp -c -m0755 %name %buildroot%_bindir/%name.bin
%__install -Dp -m0755 ichatsrv %buildroot%_initdir/%name
%__install -Dp -m0644 ichatsrv.conf %buildroot%_sysconfdir/%name/%name.conf
%post
%post_service %name
service %name start
%preun
service %name stop
%files
%doc README
%_bindir/*
%_initdir/%name
%_sysconfdir/%name
%_logdir/%name
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.24
Release: alt0.M24.4
License: free
Group: System/Servers
Source0: %name-%version.tar.bz2
Summary: Intranet Chat server
Summary(ru_RU.CP1251): вЮР-ЯЕПБЕП хМРПЮМЕР
Url: http://vaulter.narod.ru
Packager: Motsyo Gennadi <drool at altlinux.ru>
Source1: ichatsrtvd_killproc.patch
# Automatically added by buildreq on Sun Oct 08 2006
BuildRequires: libssl-devel
%description
Intranet Chat server
%description -l ru_RU.CP1251
вЮР-ЯЕПБЕП хМРПЮМЕР
%prep
%setup -q
%__patch ichatsrv %SOURCE1
%build
%__subst 's|-march=i686|$(RPM_OPT_FLAGS)|g' Makefile
%__subst 's|/usr/local/ssl/include|%_includedir/openssl|g' Makefile
%__subst 's|/ichatsrvd.log|/%name/%name.log|g' ichatserv.h
%__subst 's|/home/test4/ichat|/var/log/%name|g' devastator.c
%__subst 's|/etc/ichat_banlist|/etc/%name/ichat_banlist|g' ichatsrv.conf
%__subst 's|/etc/ichatsrv.conf|/etc/%name/%name.conf|g' ichatserv.h
%__subst 's|logfile /var/log/ichatsrvd.log|logfile /var/log/%name/%name.log|g' ichatsrv.conf
%make RELEASE=1 DEF_CONFFILE=%_sysconfdir/%name/%name.conf DEVASTATOR=1 BAN_LIST=%_sysconfdir/%name/ichat_banlist BINDIR=%_bindir
%install
%__mkdir -p %buildroot%_logdir/%name
%__install -Dp -c -m0755 %name %buildroot%_bindir/%name.bin
%__install -Dp -m0755 ichatsrv %buildroot%_initdir/%name
%__install -Dp -m0644 ichatsrv.conf %buildroot%_sysconfdir/%name/%name.conf
%post
%post_service %name
service %name start
%preun
service %name stop
%files
%doc README
%_bindir/*
%_initdir/%name
%_sysconfdir/%name
%_logdir/%name
%changelog
…
Полный changelog можно просмотреть здесь