2011-11-25 09:37:31 +01:00
|
|
|
#
|
|
|
|
# spec file for package libntlm
|
|
|
|
#
|
2019-08-22 08:33:45 +02:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-11-25 09:37:31 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-08-22 08:33:45 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-11-25 09:37:31 +01:00
|
|
|
#
|
|
|
|
|
2012-06-19 12:04:45 +02:00
|
|
|
|
|
|
|
Name: libntlm
|
2011-11-25 09:37:31 +01:00
|
|
|
%define lname libntlm0
|
2019-08-22 08:33:45 +02:00
|
|
|
Version: 1.5
|
2012-06-19 12:04:45 +02:00
|
|
|
Release: 0
|
2013-07-18 01:41:26 +02:00
|
|
|
Summary: Implementation of Microsoft's NTLMv1 authentication
|
2019-08-22 08:33:45 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2012-06-19 12:04:45 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Url: http://www.nongnu.org/libntlm/
|
2011-11-25 09:37:31 +01:00
|
|
|
|
2013-07-18 01:41:26 +02:00
|
|
|
#Git-Clone: git://git.savannah.nongnu.org/libntlm
|
2011-11-25 09:37:31 +01:00
|
|
|
#DL-URL: http://www.nongnu.org/libntlm/releases/
|
2013-07-18 01:41:26 +02:00
|
|
|
Source: http://www.nongnu.org/libntlm/releases/%name-%version.tar.gz
|
|
|
|
Source2: http://www.nongnu.org/libntlm/releases/%name-%version.tar.gz.sig
|
|
|
|
Source3: %name.keyring
|
2012-06-19 12:04:45 +02:00
|
|
|
BuildRequires: pkgconfig
|
2011-11-25 09:37:31 +01:00
|
|
|
|
|
|
|
%description
|
2013-07-18 01:41:26 +02:00
|
|
|
Libntlm provides routines to manipulate the structures used for the
|
|
|
|
client end of Microsoft NTLMv1 authentication.
|
2011-11-25 09:37:31 +01:00
|
|
|
|
|
|
|
%package -n %lname
|
2013-07-18 01:41:26 +02:00
|
|
|
Summary: Implementation of Microsoft's NTLMv1 authentication
|
2012-06-19 12:04:45 +02:00
|
|
|
Group: System/Libraries
|
2011-11-25 09:37:31 +01:00
|
|
|
|
|
|
|
%description -n %lname
|
2013-07-18 01:41:26 +02:00
|
|
|
Libntlm provides routines to manipulate the structures used for the
|
|
|
|
client end of Microsoft NTLMv1 authentication.
|
2011-11-25 09:37:31 +01:00
|
|
|
|
|
|
|
%package devel
|
2013-07-18 01:41:26 +02:00
|
|
|
Summary: Development files for libntlm, an NTLMv1 authentication library
|
2012-06-19 12:04:45 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %lname = %version
|
2011-11-25 09:37:31 +01:00
|
|
|
|
|
|
|
%description devel
|
2013-07-18 01:41:26 +02:00
|
|
|
Libntlm provides routines to manipulate the structures used for the
|
|
|
|
client end of Microsoft NTLMv1 authentication.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libntlm.
|
2011-11-25 09:37:31 +01:00
|
|
|
|
|
|
|
%prep
|
2019-08-22 08:33:45 +02:00
|
|
|
%autosetup -p1
|
2011-11-25 09:37:31 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
2019-08-22 08:33:45 +02:00
|
|
|
make %{?_smp_mflags}
|
2011-11-25 09:37:31 +01:00
|
|
|
|
|
|
|
%install
|
2019-08-22 08:33:45 +02:00
|
|
|
%make_install
|
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
2011-11-25 09:37:31 +01:00
|
|
|
|
2015-10-27 17:24:35 +01:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
2019-08-22 08:33:45 +02:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
2011-11-25 09:37:31 +01:00
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %lname
|
|
|
|
%defattr(-,root,root)
|
2019-08-22 08:33:45 +02:00
|
|
|
%license COPYING
|
2013-07-18 01:41:26 +02:00
|
|
|
%_libdir/libntlm.so.0*
|
2011-11-25 09:37:31 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2019-08-22 08:33:45 +02:00
|
|
|
%doc ChangeLog NEWS README
|
2011-11-25 09:37:31 +01:00
|
|
|
%_includedir/ntlm.h
|
2013-07-18 01:41:26 +02:00
|
|
|
%_libdir/libntlm.so
|
|
|
|
%_libdir/pkgconfig/libntlm.pc
|
2012-01-07 08:00:03 +01:00
|
|
|
|
|
|
|
%changelog
|