Группа :: Система/Ядро и оборудование
Пакет: ipvsadm
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Summary: Utility to administer the Linux Virtual Server
Name: ipvsadm
Version: 1.29
Release: alt1
License: GPL
Url: http://www.LinuxVirtualServer.org/
Group: System/Kernel and hardware
Provides: %name-%version
Source0: %name-%version.tar
Source1: %name.init.alt
Source2: %name.service
# Automatically added by buildreq on Sat May 16 2009
BuildRequires: libnl-devel libpopt-devel
%description
ipvsadm is a utility to administer the IP Virtual Server services
offered by the Linux kernel.
%prep
%setup -n %name-%version
%build
%make POPT_LIB="-lpopt"
%install
mkdir -p %buildroot/{sbin,%_man8dir,%_initrddir,%_sysconfdir/sysconfig}
%makeinstall BUILD_ROOT=%buildroot MANDIR=%_mandir
install -pD -m755 %SOURCE1 %buildroot%_initrddir/%name
install -pD -m644 %SOURCE2 %buildroot%_unitdir/%name.service
install -pD -m644 /dev/null %buildroot%_sysconfdir/sysconfig/%name
%files
%doc README
%config(noreplace) %verify(not md5 mtime size) %_sysconfdir/sysconfig/%name
%config %_initrddir/ipvsadm
/sbin/ipvsadm*
%_man8dir/ipvsadm*
%_unitdir/%name.service
%post
%post_service ipvsadm
%preun
%preun_service ipvsadm
%changelog
…
Полный changelog можно просмотреть здесь
Name: ipvsadm
Version: 1.29
Release: alt1
License: GPL
Url: http://www.LinuxVirtualServer.org/
Group: System/Kernel and hardware
Provides: %name-%version
Source0: %name-%version.tar
Source1: %name.init.alt
Source2: %name.service
# Automatically added by buildreq on Sat May 16 2009
BuildRequires: libnl-devel libpopt-devel
%description
ipvsadm is a utility to administer the IP Virtual Server services
offered by the Linux kernel.
%prep
%setup -n %name-%version
%build
%make POPT_LIB="-lpopt"
%install
mkdir -p %buildroot/{sbin,%_man8dir,%_initrddir,%_sysconfdir/sysconfig}
%makeinstall BUILD_ROOT=%buildroot MANDIR=%_mandir
install -pD -m755 %SOURCE1 %buildroot%_initrddir/%name
install -pD -m644 %SOURCE2 %buildroot%_unitdir/%name.service
install -pD -m644 /dev/null %buildroot%_sysconfdir/sysconfig/%name
%files
%doc README
%config(noreplace) %verify(not md5 mtime size) %_sysconfdir/sysconfig/%name
%config %_initrddir/ipvsadm
/sbin/ipvsadm*
%_man8dir/ipvsadm*
%_unitdir/%name.service
%post
%post_service ipvsadm
%preun
%preun_service ipvsadm
%changelog
…
Полный changelog можно просмотреть здесь