2011-11-25 09:37:31 +01:00
|
|
|
#
|
|
|
|
# spec file for package libntlm
|
|
|
|
#
|
2012-06-19 12:04:45 +02:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products 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
|
2012-06-19 12:04:45 +02:00
|
|
|
Version: 1.3
|
|
|
|
Release: 0
|
|
|
|
Summary: Implementation of Microsoft's NTLM authentication
|
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Url: http://www.nongnu.org/libntlm/
|
2011-11-25 09:37:31 +01:00
|
|
|
|
|
|
|
#DL-URL: http://www.nongnu.org/libntlm/releases/
|
2012-06-19 12:04:45 +02:00
|
|
|
Source: %name-%version.tar.xz
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: xz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-11-25 09:37:31 +01:00
|
|
|
|
|
|
|
%description
|
2012-06-19 12:04:45 +02:00
|
|
|
libntlm is a library that implements Microsoft's NTLM authentication.
|
2011-11-25 09:37:31 +01:00
|
|
|
|
|
|
|
%package -n %lname
|
2012-06-19 12:04:45 +02:00
|
|
|
Summary: Implementation of Microsoft's NTLM authentication
|
|
|
|
Group: System/Libraries
|
2011-11-25 09:37:31 +01:00
|
|
|
|
|
|
|
%description -n %lname
|
2012-06-19 12:04:45 +02:00
|
|
|
libntlm is a library that implements Microsoft's NTLM authentication.
|
2011-11-25 09:37:31 +01:00
|
|
|
|
|
|
|
%package devel
|
2012-06-19 12:04:45 +02:00
|
|
|
Summary: Development files for Libntlm
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %lname = %version
|
2011-11-25 09:37:31 +01:00
|
|
|
|
|
|
|
%description devel
|
2012-06-19 12:04:45 +02:00
|
|
|
libntlm is a library that implements Microsoft's NTLM authentication.
|
2011-11-25 09:37:31 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%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;
|
|
|
|
|
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %lname
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS ChangeLog COPYING THANKS
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc NEWS README
|
|
|
|
%_includedir/ntlm.h
|
|
|
|
%_libdir/*.so
|
|
|
|
%_libdir/pkgconfig/*.pc
|
2012-01-07 08:00:03 +01:00
|
|
|
|
|
|
|
%changelog
|