File dsrmenu.spec of Package dsrmenu
Summary: Netware DSrepair alike frontend for NDSrepair on Linux
Name: dsrmenu
Version: 8
Release: 1
License: GPL
Group: Productivity/Networking/Novell
Packager: Leo Eraly <leo@unstable.be>
URL: http://www.novell.com/communities/node/2282/ndsrepair-unix-menu-wrapper
Source0: http://www.novell.com/communities/files/dsrmenu%{version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: unzip
Requires: NDSserv
%description
The NDSRepair for UNIX Menu Wrapper is a UNIX shell script providing a menu
for NDSRepair with a DSREPAIR.NLM look and feel.
NDSRepair is a UNIX command-line utility used to check and repair the NDS database.
%prep
%setup -c
%build
%{__tar} -xvf dsrmenu%{version}.tar
%install
%{__mkdir} -p %{buildroot}/%{_sbindir}
%{__install} dsrmenu.sh %{buildroot}/%{_sbindir}/dsrmenu.sh
%{__ln_s} ../../%{_sbindir}/dsrmenu.sh $RPM_BUILD_ROOT/usr/sbin/dsrepair
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc dsrmenu.txt
%{_sbindir}/dsr*
%changelog
* Wed Jun 11 2008 Leo Eraly <leo@unstable.be> - 8-1
- Initial package