libnsl2/libnsl2.spec

81 lines
2.0 KiB
RPMSpec
Raw Normal View History

Name: libnsl2
Version: 1.3.0
Release: 2mamba
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
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 -n libnsl-%{version}
./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 ChangeLog NEWS README
%changelog
* Tue Aug 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
- legacy package
* 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