1 | Name: libnsl2 |
---|
2 | Version: 1.2.0 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Public client interface library for NIS(YP) and NIS+ |
---|
5 | Group: System Environment/Libraries |
---|
6 | |
---|
7 | Vendor: Project Vine |
---|
8 | Distribution: Vine Linux |
---|
9 | |
---|
10 | License: BSD and LGPLv2+ |
---|
11 | URL: https://github.com/thkukuk/libnsl |
---|
12 | Source0: https://github.com/thkukuk/libnsl/archive/v%{version}.tar.gz#/libnsl-%{version}.tar.gz |
---|
13 | |
---|
14 | Patch1: 0001-Don-t-include-ltmain.sh-since-this-would-require-the.patch |
---|
15 | Patch2: 0002-Remove-outdated-download-url-issue-4.patch |
---|
16 | Patch3: 0003-Detect-recursive-lock-between-yp_all-and-do_ypcall.patch |
---|
17 | Patch4: 0004-Detect-recursive-NIS-calls.patch |
---|
18 | |
---|
19 | Patch100: libnsl2-1.0.5-include_stdint.patch |
---|
20 | |
---|
21 | BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel |
---|
22 | |
---|
23 | %description |
---|
24 | This package contains the libnsl library. This library contains |
---|
25 | the public client interface for NIS(YP) and NIS+. |
---|
26 | This code was formerly part of glibc, but is now standalone to |
---|
27 | be able to link against TI-RPC for IPv6 support. |
---|
28 | |
---|
29 | %package devel |
---|
30 | Summary: Development files for libnsl |
---|
31 | Group: Development/Libraries |
---|
32 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
33 | Requires: glibc-devel >= 2.28 |
---|
34 | |
---|
35 | %description devel |
---|
36 | Development files for libnsl2 |
---|
37 | |
---|
38 | |
---|
39 | %prep |
---|
40 | %autosetup -n libnsl-%{version} -p1 |
---|
41 | |
---|
42 | %build |
---|
43 | export CFLAGS="%{optflags}" |
---|
44 | autoreconf -fiv |
---|
45 | %configure\ |
---|
46 | --libdir=%{_libdir}\ |
---|
47 | --includedir=%{_includedir} |
---|
48 | |
---|
49 | %make_build |
---|
50 | |
---|
51 | |
---|
52 | %install |
---|
53 | rm -rf %{buildroot} |
---|
54 | %make_install |
---|
55 | |
---|
56 | rm %{buildroot}/%{_libdir}/libnsl.a |
---|
57 | rm %{buildroot}/%{_libdir}/libnsl.la |
---|
58 | |
---|
59 | %files |
---|
60 | %license COPYING |
---|
61 | %{_libdir}/libnsl.so.2 |
---|
62 | %{_libdir}/libnsl.so.2.0.0 |
---|
63 | |
---|
64 | %files devel |
---|
65 | %{_libdir}/libnsl.so |
---|
66 | %{_includedir}/* |
---|
67 | %{_libdir}/pkgconfig/libnsl.pc |
---|
68 | |
---|
69 | %changelog |
---|
70 | * Sat Mar 28 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-2 |
---|
71 | - rebuilt with current environment. |
---|
72 | |
---|
73 | * Fri Jan 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-1 |
---|
74 | - initial build for Vine Linux. |
---|
75 | |
---|