libntlm/libntlm.spec

49 lines
1.3 KiB
RPMSpec
Raw Normal View History

2021-09-12 17:16:01 +08:00
Name: libntlm
Version: 1.6
Release: 2
2021-09-12 17:16:01 +08:00
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
2021-09-12 17:16:01 +08:00
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
2021-09-12 17:16:01 +08:00
* Tue Sep 7 2021 zhengyaohui <zhengyaohui1@huawei.com> - 1.6-1
- package init