Summary(tr): NIS (YP) istemcileri
Name: yp-tools
Version: 2.4
-Release: 2
+Release: 7
License: GPL
Group: Networking/Utilities
+Group(de): Netzwerkwesen/Werkzeuge
Group(pl): Sieciowe/Narzêdzia
Source0: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/%{name}-%{version}.tar.gz
-Url: http://www-vt.uni-paderborn.de/~kukuk/linux/nis.html
+Patch0: yp-tools-defaults.patch
+Patch1: yp-tools-passwd.patch
+Patch2: yp-tools.patch
+URL: http://www-vt.uni-paderborn.de/~kukuk/linux/nis.html
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Obsoletes: yppasswd, yp-clients
Requires: ypbind
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
%build
-LDFLAGS="-s"; export LDFLAGS
%configure \
--disable-domainname
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install DESTDIR="$RPM_BUILD_ROOT"
-gzip -9nf {AUTHORS,README,ChangeLog,NEWS,etc/nsswitch.conf} \
- {THANKS,TODO} $RPM_BUILD_ROOT/%{_mandir}/*/*
+gzip -9nf AUTHORS README ChangeLog NEWS THANKS TODO etc/nsswitch.conf
%find_lang %{name}