Browse Source

new: libnsl2, rpcsvc-proto

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12025 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 5 years ago
parent
commit
bfbb7e88cb
2 changed files with 172 additions and 0 deletions
  1. 74 0
      lib/libnsl2/libnsl2-vl.spec
  2. 98 0
      r/rpcsvc-proto/rpcsvc-proto-vl.spec

+ 74 - 0
lib/libnsl2/libnsl2-vl.spec

@@ -0,0 +1,74 @@
+Name:         libnsl2
+Version:      1.2.0
+Release:      1%{?_dist_release}
+Summary:      Public client interface library for NIS(YP) and NIS+
+
+Vendor:       Project Vine
+Distribution: Vine Linux
+
+License:      BSD and LGPLv2+
+Group:        System Environment/Libraries
+URL:          https://github.com/thkukuk/libnsl
+
+
+Source0:      https://github.com/thkukuk/libnsl/archive/v%{version}.tar.gz#/libnsl-%{version}.tar.gz
+
+Patch1:       0001-Don-t-include-ltmain.sh-since-this-would-require-the.patch
+Patch2:       0002-Remove-outdated-download-url-issue-4.patch
+Patch3:       0003-Detect-recursive-lock-between-yp_all-and-do_ypcall.patch
+Patch4:       0004-Detect-recursive-NIS-calls.patch
+
+Patch100:     libnsl2-1.0.5-include_stdint.patch
+
+BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel
+
+%description
+This package contains the libnsl library. This library contains
+the public client interface for NIS(YP) and NIS+.
+This code was formerly part of glibc, but is now standalone to
+be able to link against TI-RPC for IPv6 support.
+
+%package devel
+Summary: Development files for libnsl
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: glibc-devel >= 2.28
+
+%description devel
+Development files for libnsl2
+
+
+%prep
+%autosetup -n libnsl-%{version} -p1
+
+%build
+export CFLAGS="%{optflags}"
+autoreconf -fiv
+%configure\
+    --libdir=%{_libdir}\
+    --includedir=%{_includedir}
+
+%make_build
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+rm %{buildroot}/%{_libdir}/libnsl.a
+rm %{buildroot}/%{_libdir}/libnsl.la
+
+%files
+%license COPYING
+%{_libdir}/libnsl.so.2
+%{_libdir}/libnsl.so.2.0.0
+
+%files devel
+%{_libdir}/libnsl.so
+%{_includedir}/*
+%{_libdir}/pkgconfig/libnsl.pc
+
+%changelog
+* Fri Jan 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-1
+- initial build for Vine Linux.
+

+ 98 - 0
r/rpcsvc-proto/rpcsvc-proto-vl.spec

@@ -0,0 +1,98 @@
+#
+# spec file for package rpcsvc-proto
+#
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+
+Name:           rpcsvc-proto
+Version:        1.4
+Release:        2%{?_dist_release}
+Summary:        RPC protocol definitions
+License:        BSD and LGPLv2+
+Url:            https://github.com/thkukuk/rpcsvc-proto
+Source0:        https://github.com/thkukuk/rpcsvc-proto/releases/v%{version}/%{name}-%{version}.tar.xz
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+Requires:       glibc-common >= 2.28
+
+BuildRequires:  gcc
+BuildRequires:  automake, autoconf
+
+%description
+The rpcsvc-proto package includes several rpcsvc header files
+and RPC protocol definitions from SunRPC sources (as shipped with
+glibc).
+
+%package devel
+Summary:        RPC protocol definitions
+
+%description devel
+The rpcsvc-proto package includes several rpcsvc header files
+and RPC protocol definitions from SunRPC sources (as shipped with
+glibc).
+
+%package -n rpcgen
+Summary:        RPC protocol compiler
+Provides:       rpcgen
+
+%description -n rpcgen
+rpcgen is a tool that generates C code to implement an RPC protocol.
+The input to rpcgen is a language similar to C known as RPC Language
+(Remote Procedure Call Language).
+
+%prep
+%autosetup -p 1
+
+%build
+%configure
+%make_build
+
+%install
+%make_install
+
+# rquota.x and rquota.h are provided by quota
+rm -f $RPM_BUILD_ROOT%{_prefix}/include/rpcsvc/rquota.[hx]
+
+%files devel
+%license COPYING
+%{_includedir}/rpcsvc/
+
+%files -n rpcgen
+%{_bindir}/rpcgen
+%{_mandir}/man1/rpcgen.1*
+
+%changelog
+* Fri Jan 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.4-2
+- initial build for Vine Linux.
+
+* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Tue May 29 2018 Steve Dickson <steved@redhat.com>  1.4-0
+- Updated to the latest upstream release: v1.4 (bz 1559181)
+
+* Tue Mar 27 2018 Björn Esser <besser82@fedoraproject.org> - 1.3.1-4
+- Enable MT code as libtirpc supports it
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Tue Jan 23 2018 Steve Dickson <steved@redhat.com>  1.3.1-2
+- Remove rquota.[hx] headers which are provided by quota (bz 1537133)
+
+* Wed Jan  17 2018 Steve Dickson <steved@redhat.com>  1.3.1-1
+- Initial commit (bz 1532364)