]>
Commit | Line | Data |
---|---|---|
f074bf30 JR |
1 | Summary: NIS (or YP) client programs. |
2 | Name: yp-tools | |
3 | Version: 2.3 | |
4 | Release: 1 | |
5 | Copyright: GNU | |
6 | Group: System Environment/Base | |
1257f110 | 7 | Source: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/%{name}-%{version}.tar.gz |
f074bf30 JR |
8 | Url: http://www-vt.uni-paderborn.de/~kukuk/linux/nis.html |
9 | Buildroot: /tmp/yp-tools-root | |
10 | Obsoletes: yppasswd, yp-clients | |
11 | Requires: ypbind | |
12 | ||
13 | %description | |
14 | The Network Information Service (NIS) is a system which provides network | |
15 | information (login names, passwords, home directories, group information) | |
16 | to all of the machines on a network. NIS can enable users to login on | |
17 | any machine on the network, as long as the machine has the NIS client | |
18 | programs running and the user's password is recorded in the NIS passwd | |
19 | database. NIS was formerly known as Sun Yellow Pages (YP). | |
20 | ||
21 | This package's NIS implementation is based on FreeBSD's YP and is a | |
22 | special port for glibc 2.x and libc versions 5.4.21 and later. This | |
23 | package only provides the NIS client programs. In order to use the | |
24 | clients, you'll need to already have an NIS server running on your | |
25 | network. An NIS server is provided in the ypserv package. | |
26 | ||
27 | Install the yp-tools package if you need NIS client programs for machines | |
28 | on your network. You will also need to install the ypbind package on | |
29 | every machine running NIS client programs. If you need an NIS server, | |
30 | you'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 | |
38 | make | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | make DESTDIR="$RPM_BUILD_ROOT" install | |
43 | ||
44 | gzip -9nf {AUTHORS,COPYING,README,ChangeLog,NEWS,etc/nsswitch.conf} \ | |
45 | {THANKS,TODO} | |
46 | ||
47 | %find_lang %{name} | |
48 | ||
49 | %clean | |
50 | rm -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 |