libntlm/libntlm.spec
wk333 1603c97def Change source url
(cherry picked from commit 711cee427e48882167b6e0bf7915d93b4a122d88)
2022-11-16 11:30:09 +08:00

49 lines
1.3 KiB
RPMSpec

Name: libntlm
Version: 1.6
Release: 2
Summary: NTLMv1 authentication library
License: LGPLv2+
URL: https://savannah.nongnu.org/projects/libntlm
Source0: https://download.savannah.nongnu.org/releases/libntlm/%{name}-%{version}.tar.gz
BuildRequires: pkgconfig gcc make
Provides: bundled(gnulib)
%description
A library for authenticating with Microsoft NTLMV1 challenge-response,
derived from Samba sources.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
sed -i 's|$(install_sh) -c|$(install_sh) -pc|g' Makefile
%install
make install DESTDIR=%{buildroot}
find %{buildroot} -name '*.la' -delete
%files
%doc AUTHORS ChangeLog COPYING README THANKS
%{_libdir}/%{name}.so.*
%files devel
%doc COPYING
%{_includedir}/ntlm.h
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Wed Nov 16 2022 wangkai <wangkai385@h-partners.com> - 1.6-2
- Change source url
* Tue Sep 7 2021 zhengyaohui <zhengyaohui1@huawei.com> - 1.6-1
- package init