]> git.pld-linux.org Git - packages/ypbind-mt.git/blame - ypbind-mt.spec
- up to 1.37.1
[packages/ypbind-mt.git] / ypbind-mt.spec
CommitLineData
98b7a779 1Summary: The NIS daemon which binds NIS clients to an NIS domain
11c29969
ER
2Summary(es.UTF-8): Proceso de ligación NIS
3Summary(pl.UTF-8): Demon NIS przyłączający klientów NIS do domeny NIS
4Summary(pt_BR.UTF-8): Processo de ligação NIS
5Summary(zh_CN.UTF-8): NIS 服务器
c2fddba9 6Name: ypbind-mt
b67a60fb 7Version: 1.37.1
2d898179 8Release: 1
98b7a779 9License: GPL
b3ba7a75 10Group: Networking/Daemons
b67a60fb
JR
11Source0: http://www.linux-nis.org/download/ypbind-mt//%{name}-%{version}.tar.bz2
12# Source0-md5: 8af8d35e7b9a7fcc3a1576697a04bd82
f1927fc1
JR
13Source1: ypbind.init
14Source2: yp.conf
98b7a779 15Patch0: %{name}-pthread.patch
16Patch1: %{name}-broadcast.patch
2d898179 17Patch2: %{name}-dbus.patch
b67a60fb 18URL: http://www.linux-nis.org/
13d7d070
JB
19BuildRequires: autoconf
20BuildRequires: automake
21BuildRequires: bison
89387248 22BuildRequires: dbus-devel
2c893431 23BuildRequires: dbus-glib-devel
13d7d070 24BuildRequires: gettext-devel
37dacdcc 25BuildRequires: rpmbuild(macros) >= 1.268
13d7d070 26Requires(post,preun): /sbin/chkconfig
a52d5375 27Requires: nss_nis
f1927fc1 28Requires: portmap
e9398414 29Requires: rc-scripts >= 0.4.1.5
f1927fc1 30Requires: yp-tools
c2fddba9 31Provides: ypbind
98b7a779 32Obsoletes: ypbind
21cbc177 33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
98b7a779 34
35%define _sbindir /sbin
f1927fc1
JR
36
37%description
98b7a779 38The Network Information Service (NIS) is a system which provides
39network information (login names, passwords, home directories, group
40information) to all of the machines on a network. NIS can enable users
41to login on any machine on the network, as long as the machine has the
42NIS client programs running and the user's password is recorded in the
43NIS passwd database. NIS was formerly known as Sun Yellow Pages (YP).
44
45This package provides the ypbind daemon. The ypbind daemon binds NIS
46clients to an NIS domain. Ypbind must be running on any machines which
f1927fc1
JR
47are running NIS client programs.
48
98b7a779 49Install the ypbind package on any machines which are running NIS
50client programs (included in the yp-tools package). If you need an NIS
51server, you'll also need to install the ypserv package to a machine on
52your network.
f1927fc1 53
4f493417 54%description -l es.UTF-8
76a54dfd 55Este es un daemon que se ejecuta en clientes NIS/YP y los relaciona a
56un dominio NIS. Debe ejecutarse en sistemas basados en la glibc para
57funcionaren como clientes NIS.
58
4f493417
JR
59%description -l pl.UTF-8
60NIS (Network Information Service) to system dostarczający informacje
61sieciowe (nazwy użytkowników, hasła, katalogi domowe, informacje o
62grupach) wszystkim maszynom w sieci. NIS może pozwalać użytkownikom
63logować się na dowolnej maszynie w sieci pod warunkiem, że maszyna ma
64działające programy klienckie NIS i hasło użytkownika jest zapisane w
65bazie haseł NIS. NIS był wcześniej znany jako YP (Sun Yellow Pages).
23f9c839 66
4f493417
JR
67Ten pakiet zawiera demona ypbind. Demon ten przyłącza klientów NIS do
68domeny NIS. ypbind musi działać na każdej maszynie, na której działają
23f9c839
JB
69programy klienckie NIS.
70
4f493417
JR
71%description -l pt_BR.UTF-8
72Este é um daemon que roda em clientes NIS/YP e os relaciona a um
73domínio NIS. Ele deve estar rodando em sistemas baseados na glibc para
76a54dfd 74agirem como clientes NIS.
75
f1927fc1
JR
76%prep
77%setup -q
98b7a779 78%patch0 -p1
79%patch1 -p1
2d898179 80%patch2 -p1
f1927fc1 81
89387248
AM
82cat m4/jh_path_xml_catalog.m4 >> acinclude.m4
83rm -rf m4
6e245966
JB
84
85%build
905ea26c 86%{__gettextize}
13d7d070 87%{__aclocal}
8f12ccf3 88%{__autoconf}
89%{__automake}
02d69e86 90%configure \
91 --disable-slp
c1d0af38 92%{__make}
f1927fc1
JR
93
94%install
95rm -rf $RPM_BUILD_ROOT
98b7a779 96install -d $RPM_BUILD_ROOT/{etc/rc.d/init.d,var/yp/binding}
879417c2 97
29952560 98%{__make} install \
98b7a779 99 DESTDIR=$RPM_BUILD_ROOT
f1927fc1 100
f1927fc1 101install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ypbind
98b7a779 102install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/yp.conf
f1927fc1 103
98b7a779 104%find_lang %{name}
f1927fc1
JR
105
106%clean
107rm -rf $RPM_BUILD_ROOT
108
109%post
5a9df62f 110/sbin/chkconfig --add ypbind
37dacdcc 111%service ypbind restart
98b7a779 112
113%preun
5a9df62f 114if [ "$1" = "0" ]; then
37dacdcc 115 %service ypbind stop
5a9df62f 116 /sbin/chkconfig --del ypbind
117fi
f1927fc1 118
98b7a779 119%files -f %{name}.lang
f1927fc1 120%defattr(644,root,root,755)
76a54dfd 121%doc README
98b7a779 122%attr(755,root,root) %{_sbindir}/ypbind
123%attr(754,root,root) /etc/rc.d/init.d/*
124%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yp.conf
125%{_mandir}/man[58]/*
f1927fc1 126%dir /var/yp/binding
This page took 0.159919 seconds and 4 git commands to generate.