]> git.pld-linux.org Git - packages/yp-tools.git/blame - yp-tools.spec
drobiazg
[packages/yp-tools.git] / yp-tools.spec
CommitLineData
f074bf30
JR
1Summary: NIS (or YP) client programs.
2Name: yp-tools
3Version: 2.3
4Release: 1
5Copyright: GNU
6Group: System Environment/Base
1257f110 7Source: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/%{name}-%{version}.tar.gz
f074bf30
JR
8Url: http://www-vt.uni-paderborn.de/~kukuk/linux/nis.html
9Buildroot: /tmp/yp-tools-root
10Obsoletes: yppasswd, yp-clients
11Requires: ypbind
12
13%description
14The Network Information Service (NIS) is a system which provides network
15information (login names, passwords, home directories, group information)
16to all of the machines on a network. NIS can enable users to login on
17any machine on the network, as long as the machine has the NIS client
18programs running and the user's password is recorded in the NIS passwd
19database. NIS was formerly known as Sun Yellow Pages (YP).
20
21This package's NIS implementation is based on FreeBSD's YP and is a
22special port for glibc 2.x and libc versions 5.4.21 and later. This
23package only provides the NIS client programs. In order to use the
24clients, you'll need to already have an NIS server running on your
25network. An NIS server is provided in the ypserv package.
26
27Install the yp-tools package if you need NIS client programs for machines
28on your network. You will also need to install the ypbind package on
29every machine running NIS client programs. If you need an NIS server,
30you'll need to install the ypserv package on one machine on the network.
31
32%prep
33%setup -q
34
35%build
36%configure \
37 --disable-domainname
38make
39
40%install
41rm -rf $RPM_BUILD_ROOT
42make DESTDIR="$RPM_BUILD_ROOT" install
43
44gzip -9nf {AUTHORS,COPYING,README,ChangeLog,NEWS,etc/nsswitch.conf} \
45 {THANKS,TODO}
46
47%find_lang %{name}
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files -f %{name}.lang
53%defattr(644,root,root,755)
54%doc {AUTHORS,COPYING,README,ChangeLog,NEWS,etc/nsswitch.conf}.gz
55%doc {THANKS,TODO}.gz
56%attr(755, root, root) %{_bindir}/*
57%attr(755, root, root) %{_sbindir}/*
58%{_mandir}/man1/*
59%{_mandir}/man5/*
60%{_mandir}/man8/*
61/var/yp/nicknames
62
63%changelog
64