- Initial release
OBS-URL: https://build.opensuse.org/package/show/network:NIS/libnsl?expand=0&rev=1
This commit is contained in:
commit
2c46989f5b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
||||
libnsl2
|
3
libnsl-1.0.1.tar.bz2
Normal file
3
libnsl-1.0.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1f14e2057c7f994f49ac6fb62079c20ea9af913683b12cbf7bcca27432941767
|
||||
size 374556
|
5
libnsl.changes
Normal file
5
libnsl.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 26 17:38:37 UTC 2015 - kukuk@suse.com
|
||||
|
||||
- Initial release
|
||||
|
100
libnsl.spec
Normal file
100
libnsl.spec
Normal file
@ -0,0 +1,100 @@
|
||||
#
|
||||
# spec file for package libnsl
|
||||
#
|
||||
# Copyright (c) 2015 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: libnsl
|
||||
Version: 1.0.1
|
||||
Release: 0
|
||||
Summary: Network Support Library (NIS/NIS+)
|
||||
License: LGPL-2.1
|
||||
Group: System/Libraries
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: libtirpc-devel >= 1.0
|
||||
Url: http://github.com/thkukuk/libnsl
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%define debug_package_requires libnsl1 = %{version}-%{release}
|
||||
|
||||
%description
|
||||
The Network Support Library for NIS/NIS+ was formerly part of glibc and
|
||||
is now a standalone library. The big difference is, that this library
|
||||
has support for IPv6.
|
||||
|
||||
%package -n libnsl2
|
||||
Summary: Network Support Library (NIS/NIS+)
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libnsl2
|
||||
The Network Support Library for NIS/NIS+ was formerly part of glibc and
|
||||
is now a standalone library. The big difference is, that this library
|
||||
has support for IPv6.
|
||||
|
||||
%package devel
|
||||
Summary: Development package for Network Support Library (NIS/NIS+)
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libnsl2 = %{version}
|
||||
|
||||
%description devel
|
||||
The Network Support Library for NIS/NIS+ was formerly part of glibc and
|
||||
is now a standalone library. The big difference is, that this library
|
||||
has support for IPv6.
|
||||
This package contains all files to develop and link against libnsl.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --libdir=/%{_libdir}/nsl --includedir=%{_includedir}/nsl
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
# Don't strip .symtab to allow debugging
|
||||
export STRIP_KEEP_SYMTAB=libnsl*.so*
|
||||
# NO_BRP_CHECK_ROOTFS is for SLES11 only, but does not harm for Factory
|
||||
export NO_BRP_CHECK_ROOTFS=true
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
# move library to /lib
|
||||
%{__mkdir} -p $RPM_BUILD_ROOT/%{_lib}
|
||||
%{__mv} -v $RPM_BUILD_ROOT/%{_libdir}/nsl/%{name}.so.2* $RPM_BUILD_ROOT/%{_lib}/
|
||||
# Adjust devel so link
|
||||
%{__rm} -v %{buildroot}/%{_libdir}/nsl/%{name}.{a,la,so}
|
||||
%{__ln_s} -v /%{_lib}/%{name}.so.2 %{buildroot}%{_libdir}/nsl/%{name}.so
|
||||
%{__mv} -v $RPM_BUILD_ROOT/%{_libdir}/nsl/pkgconfig $RPM_BUILD_ROOT/%{_libdir}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -n libnsl2 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libnsl2 -p /sbin/ldconfig
|
||||
|
||||
%files -n libnsl2
|
||||
%defattr(-,root,root)
|
||||
/%{_lib}/libnsl.so.2*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/nsl/
|
||||
%{_libdir}/nsl/libnsl.so
|
||||
%dir /usr/include/nsl/
|
||||
/usr/include/nsl/*
|
||||
/usr/%{_lib}/pkgconfig/*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user