]> git.pld-linux.org Git - packages/nss_nisplus.git/blame - nss_nisplus.spec
- new, now separated from glibc
[packages/nss_nisplus.git] / nss_nisplus.spec
CommitLineData
7f148e72
JB
1Summary: NIS+ NSS glibc module (DEPRECATED)
2Summary(es.UTF-8): Módulo NIS+ NSS de glibc
3Summary(pl.UTF-8): Moduł glibc NSS NIS+ (PRZESTARZAŁY)
4Name: nss_nisplus
5Version: 1.3
6Release: 1
7Epoch: 7
8License: LGPL v2.1+
9Group: Base
10#Source0Download: https://github.com/thkukuk/libnss_nisplus/releases
11Source0: https://github.com/thkukuk/libnss_nisplus/archive/libnss_nisplus-%{version}.tar.gz
12# Source0-md5: 8e86cde0cb0abcd1387fd24aa8421698
13Patch0: %{name}-update.patch
14URL: https://github.com/thkukuk/libnss_nisplus
15BuildRequires: autoconf >= 2.50
16BuildRequires: automake >= 1:1.9
17BuildRequires: libnsl-devel
18BuildRequires: libtirpc-devel
19BuildRequires: libtool >= 2:2
20BuildRequires: pkgconfig
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24glibc NSS (Name Service Switch) module for NIS+ databases access.
25
26This code was formerly part of glibc, but is now standalone to be able
27to link against TI-RPC for IPv6 support.
28
29Note: the NIS+ stuff is deprecated and shouldn't be used anymore.
30
31%description -l es.UTF-8
32Módulo NSS de glibc para acceder las bases de datos NIS+.
33
34%description -l pl.UTF-8
35Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS+.
36
37Ten kod wcześniej był częścią glibc, ale został wydzielony, aby mógł
38używać TI-RPC w celu obsługi IPv6.
39
40Uwaga: kod NIS+ jest przestarzały i nie powinien być już używany.
41
42%prep
43%setup -q -n libnss_nisplus-libnss_nisplus-%{version}
44%patch0 -p1
45
46%build
47%{__libtoolize}
48%{__aclocal} -I m4
49%{__autoconf}
50%{__autoheader}
51%{__automake}
52%configure \
53 --libdir=/%{_lib} \
54 --disable-static
55
56%{__make}
57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61%{__make} install \
62 DESTDIR=$RPM_BUILD_ROOT
63
64%{__rm} $RPM_BUILD_ROOT/%{_lib}/libnss_nisplus.{la,so}
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%post -p /sbin/ldconfig
70%postun -p /sbin/ldconfig
71
72%files
73%defattr(644,root,root,755)
74%doc ChangeLog NEWS README
75%attr(755,root,root) /%{_lib}/libnss_nisplus.so.*.*.*
76%attr(755,root,root) %ghost /%{_lib}/libnss_nisplus.so.2
This page took 1.811713 seconds and 4 git commands to generate.