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