File dsh.spec of Package dsh
Summary: Distributed shell
Name: dsh
Version: 0.22.0
Release: 1
License: GPL
Group: Applications/Internet
URL: http://www.netfort.gr.jp/~dancer/software/downloads/list.cgi
Source: %{name}-%{version}.tar.gz
Patch0: %{name}-conf.diff
BuildRoot: /var/tmp/%{name}-buildroot
Packager: Carsten Schoene <cs@linux-administrator.com>
Vendor: linux-administrator.com
BuildRequires: glibc-devel libgcc gcc gcc-c++ libdshconfig libdshconfig-devel
%description
Distributed shell. Runs command through rsh or ssh on a cluster of machines.
Requires libdshconfig to be already installed on the system.
%prep
%setup -q
%patch0 -p1
%build
%configure --sysconfdir=%{_sysconfdir}/dsh
%__make
%install
rm -rf "$RPM_BUILD_ROOT"
%__make DESTDIR="$RPM_BUILD_ROOT" install
%__mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
%__mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/dsh
cp -p dsh.conf $RPM_BUILD_ROOT/%{_sysconfdir}/dsh/
%files
%defattr(-,root,root)
%attr(0755,root,root) %{_bindir}/dsh
%{_prefix}/share/locale/ja/LC_MESSAGES/dsh.mo
%{_mandir}/man1/dsh.1*
%config(noreplace) %{_sysconfdir}/dsh/dsh.conf
%doc AUTHORS COPYING ChangeLog README
%changelog
* Wed Jul 23 2008 Carsten Schoene <cs@linux-administrator.com>
- moved configurations to /etc/dsh
* Mon Jun 25 2007 Carsten Schoene <cs@linux-administrator.com>
- initial spec file for dsh on openSUSE buildservice