72 lines
1.8 KiB
RPMSpec
72 lines
1.8 KiB
RPMSpec
|
Name: libnsl
|
||
|
Version: 1.1.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/%{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
|
||
|
|
||
|
%build
|
||
|
./autogen.sh
|
||
|
%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
|
||
|
* Sun Sep 24 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
|
||
|
- package created using the webbuild interface
|