libntlm/libntlm.spec

76 lines
2.0 KiB
RPMSpec

#
# spec file for package libntlm
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
Name: libntlm
%define lname libntlm0
Version: 1.3
Release: 0
License: LGPL-2.1+
Summary: Implementation of Microsoft's NTLM authentication
URL: http://www.nongnu.org/libntlm/
Group: Development/Libraries/C and C++
#DL-URL: http://www.nongnu.org/libntlm/releases/
Source: %name-%version.tar.xz
BuildRequires: pkgconfig, xz
BuildRoot: %_tmppath/%name-%version-build
%description
Libntlm is a library that implements Microsoft's NTLM authentication.
%package -n %lname
Summary: Implementation of Microsoft's NTLM authentication
Group: System/Libraries
%description -n %lname
Libntlm is a library that implements Microsoft's NTLM authentication.
%package devel
Summary: Development files for Libntlm
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
Libntlm is a library that implements Microsoft's NTLM authentication.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags};
%install
%make_install
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