source: projects/specs/trunk/lib/libn/libnsl2/libnsl2-vl.spec @ 12356

Revision 12356, 1.9 KB checked in by tomop, 4 years ago (diff)

updated 8 packages

device-mapper-multipath-0.8.2-1

dmraid-1.0.0.rc16-4

jansson-2.12-2

libbsd-0.10.0-1

libedit-3.1-4.20191231

libnsl2-1.2.0-2

libxcrypt-4.4.15-1

sgpio-1.2.1-1

Line 
1Name:         libnsl2
2Version:      1.2.0
3Release:      2%{?_dist_release}
4Summary:      Public client interface library for NIS(YP) and NIS+
5Group:        System Environment/Libraries
6
7Vendor:       Project Vine
8Distribution: Vine Linux
9
10License:      BSD and LGPLv2+
11URL:          https://github.com/thkukuk/libnsl
12Source0:      https://github.com/thkukuk/libnsl/archive/v%{version}.tar.gz#/libnsl-%{version}.tar.gz
13
14Patch1:       0001-Don-t-include-ltmain.sh-since-this-would-require-the.patch
15Patch2:       0002-Remove-outdated-download-url-issue-4.patch
16Patch3:       0003-Detect-recursive-lock-between-yp_all-and-do_ypcall.patch
17Patch4:       0004-Detect-recursive-NIS-calls.patch
18
19Patch100:     libnsl2-1.0.5-include_stdint.patch
20
21BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel
22
23%description
24This package contains the libnsl library. This library contains
25the public client interface for NIS(YP) and NIS+.
26This code was formerly part of glibc, but is now standalone to
27be able to link against TI-RPC for IPv6 support.
28
29%package devel
30Summary: Development files for libnsl
31Group: Development/Libraries
32Requires: %{name}%{?_isa} = %{version}-%{release}
33Requires: glibc-devel >= 2.28
34
35%description devel
36Development files for libnsl2
37
38
39%prep
40%autosetup -n libnsl-%{version} -p1
41
42%build
43export CFLAGS="%{optflags}"
44autoreconf -fiv
45%configure\
46    --libdir=%{_libdir}\
47    --includedir=%{_includedir}
48
49%make_build
50
51
52%install
53rm -rf %{buildroot}
54%make_install
55
56rm %{buildroot}/%{_libdir}/libnsl.a
57rm %{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
Note: See TracBrowser for help on using the repository browser.