libnsl/libnsl.spec

82 lines
2.1 KiB
RPMSpec

Name: libnsl
Version: 2.0.0
Release: 1mamba
Summary: This library contains the public client interface for NIS(YP) and NIS+ in a IPv6 ready version
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/thkukuk/libnsl
Source: https://github.com/thkukuk/libnsl.git/v%{version}/libnsl-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
#libpthread.so.0()(64bit): /usr/lib64/libpthread.so: file not owned by any package
BuildRequires: glibc-devel
BuildRequires: libe2fs-devel
BuildRequires: libkrb5-devel
BuildRequires: libtirpc-devel
## AUTOBUILDREQ-END
%description
This library contains the public client interface for NIS(YP) and NIS+ in a IPv6 ready version.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
#%find_lang %{name} || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
#-f %{name}.lang
%defattr(-,root,root)
%{_libdir}/libnsl.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/rpcsvc
%{_includedir}/rpcsvc/*
%{_libdir}/libnsl.a
%{_libdir}/libnsl.la
%{_libdir}/libnsl.so
%{_libdir}/pkgconfig/libnsl.pc
%doc NEWS README
%changelog
* Mon Aug 23 2021 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- automatic version update by autodist
* Sat Aug 22 2020 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Sun Jul 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
- update to 1.2.0
* Sun Sep 24 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
- package created using the webbuild interface