!1 Package init
From: @zhengyaohui Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
c0485eb4bb
BIN
libntlm-1.6.tar.gz
Normal file
BIN
libntlm-1.6.tar.gz
Normal file
Binary file not shown.
45
libntlm.spec
Normal file
45
libntlm.spec
Normal file
@ -0,0 +1,45 @@
|
||||
Name: libntlm
|
||||
Version: 1.6
|
||||
Release: 1
|
||||
Summary: NTLMv1 authentication library
|
||||
License: LGPLv2+
|
||||
URL: http://nongnu.org/libntlm
|
||||
Source0: http://nongnu.org/libntlm/releases/%{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
|
||||
* Tue Sep 7 2021 zhengyaohui <zhengyaohui1@huawei.com> - 1.6-1
|
||||
- package init
|
||||
Loading…
x
Reference in New Issue
Block a user