]> git.pld-linux.org Git - SPECS.git/blob - nss_nis.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / nss_nis.spec
1 Summary:        NIS(YP) NSS glibc module
2 Summary(es.UTF-8):      Módulo NIS(YP) NSS de glibc
3 Summary(pl.UTF-8):      Moduł NIS(YP) NSS glibc
4 Name:           nss_nis
5 Version:        3.1
6 Release:        1
7 Epoch:          6
8 License:        LGPL v2.1+
9 Group:          Base
10 #Source0Download: https://github.com/thkukuk/libnss_nis/releases
11 Source0:        https://github.com/thkukuk/libnss_nis/releases/download/v%{version}/libnss_nis-%{version}.tar.xz
12 # Source0-md5:  2a96c9df26f19f7d61710621700a9996
13 URL:            https://github.com/thkukuk/libnss_nis
14 BuildRequires:  libnsl-devel
15 BuildRequires:  libtirpc-devel
16 BuildRequires:  pkgconfig
17 BuildRequires:  tar >= 1:1.22
18 BuildRequires:  xz
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
23
24 %description -l es.UTF-8
25 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
26
27 %description -l pl.UTF-8
28 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS(YP).
29
30 %prep
31 %setup -q -n libnss_nis-%{version}
32
33 %build
34 %configure \
35         --libdir=/%{_lib} \
36         --disable-static
37
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %{__rm} $RPM_BUILD_ROOT/%{_lib}/libnss_nis.{la,so}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %post   -p /sbin/ldconfig
52 %postun -p /sbin/ldconfig
53
54 %files
55 %defattr(644,root,root,755)
56 %doc ChangeLog NEWS README
57 %attr(755,root,root) /%{_lib}/libnss_nis.so.*.*.*
58 %attr(755,root,root) %ghost /%{_lib}/libnss_nis.so.2
This page took 0.974626 seconds and 3 git commands to generate.