libnsl/libnsl.spec

79 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: libnsl
Version: 1.3.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.git
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
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 ChangeLog NEWS README
%changelog
* 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