Group :: System/Servers
RPM: had
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: had
Version: 1.0.8
Release: alt1
Summary: High Aviability Daemon
License: BSD
Group: System/Servers
Packager: Eugene Prokopiev <enp at altlinux.ru>
PreReq: chkconfig
Source0: %name-%version.tar.bz2
BuildRequires: service
Requires: service
%description
High Aviability Daemon
%prep
%setup
%build
cd src
%make_build
%install
%__mkdir_p %buildroot/%_sbindir
%__mkdir_p %buildroot/%_initdir
%__mkdir_p %buildroot/%_sysconfdir/%name/hasrv
%__install -m 0755 src/%name %buildroot/%_sbindir/%name
%__install -m 0755 %name.init %buildroot/%_initdir/%name
%__install -m 0755 conf/hasrv/* %buildroot/%_sysconfdir/%name/hasrv/
%__install -m 0644 conf/*.conf %buildroot/%_sysconfdir/%name/
%post
%post_service %name
%preun
%preun_service %name
%files
%_sbindir/*
%_initdir/*
%config(noreplace) %_sysconfdir/%name/hasrv/*
%config(noreplace) %_sysconfdir/%name/*.conf
%doc docs
%changelog
…
Full changelog you can see here
Version: 1.0.8
Release: alt1
Summary: High Aviability Daemon
License: BSD
Group: System/Servers
Packager: Eugene Prokopiev <enp at altlinux.ru>
PreReq: chkconfig
Source0: %name-%version.tar.bz2
BuildRequires: service
Requires: service
%description
High Aviability Daemon
%prep
%setup
%build
cd src
%make_build
%install
%__mkdir_p %buildroot/%_sbindir
%__mkdir_p %buildroot/%_initdir
%__mkdir_p %buildroot/%_sysconfdir/%name/hasrv
%__install -m 0755 src/%name %buildroot/%_sbindir/%name
%__install -m 0755 %name.init %buildroot/%_initdir/%name
%__install -m 0755 conf/hasrv/* %buildroot/%_sysconfdir/%name/hasrv/
%__install -m 0644 conf/*.conf %buildroot/%_sysconfdir/%name/
%post
%post_service %name
%preun
%preun_service %name
%files
%_sbindir/*
%_initdir/*
%config(noreplace) %_sysconfdir/%name/hasrv/*
%config(noreplace) %_sysconfdir/%name/*.conf
%doc docs
%changelog
…
Full changelog you can see here