2011-11-25 09:37:31 +01:00
|
|
|
#
|
|
|
|
# spec file for package libntlm
|
|
|
|
#
|
2015-10-27 17:24:35 +01:00
|
|
|
# Copyright (c) 2015 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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-06-19 12:04:45 +02:00
|
|
|
|
|
|
|
Name: libntlm
|
2011-11-25 09:37:31 +01:00
|
|
|
%define lname libntlm0
|
2013-07-18 01:41:26 +02:00
|
|
|
Version: 1.4
|
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
|
2012-06-19 12:04:45 +02:00
|
|
|
License: LGPL-2.1+
|
|
|
|
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
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
2013-07-18 01:41:26 +02:00
|
|
|
%{?gpg_verify: %gpg_verify %{S:2}}
|
2011-11-25 09:37:31 +01:00
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags};
|
|
|
|
|
|
|
|
%install
|
2012-06-19 12:04:45 +02:00
|
|
|
make install DESTDIR="%buildroot";
|
2011-11-25 09:37:31 +01:00
|
|
|
rm -f "%buildroot/%_libdir"/*.la;
|
|
|
|
|
2015-10-27 17:24:35 +01:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
2011-11-25 09:37:31 +01:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %lname
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS ChangeLog COPYING THANKS
|
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)
|
|
|
|
%doc NEWS README
|
|
|
|
%_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
|