73 lines
1.8 KiB
RPMSpec
73 lines
1.8 KiB
RPMSpec
Name: libnss_nis
|
|
Version: 3.1
|
|
Release: 1mamba
|
|
Summary: NSS module for glibc, to provide NIS support for glibc
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/thkukuk/libnss_nis.git
|
|
Source: https://github.com/thkukuk/libnss_nis.git/v%{version}/libnss_nis-%{version}.tar.bz2
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libe2fs-devel
|
|
BuildRequires: libkrb5-devel
|
|
BuildRequires: libnsl-devel
|
|
BuildRequires: libtirpc-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
NSS module for glibc, to provide NIS support for glibc.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%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
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libnss_nis.so.*
|
|
%doc COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libnss_nis.a
|
|
%{_libdir}/libnss_nis.la
|
|
%{_libdir}/libnss_nis.so
|
|
%doc ChangeLog NEWS README
|
|
|
|
%changelog
|
|
* Mon Aug 05 2019 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jul 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0-1mamba
|
|
- update to 3.0
|
|
|
|
* Sun Sep 24 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1mamba
|
|
- package created using the webbuild interface
|