libnss_nis/libnss_nis.spec

67 lines
1.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: libnss_nis
Version: 1.3
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/libnss_nis-%{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
* Sun Sep 24 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1mamba
- package created using the webbuild interface