Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37562125
en ru br
ALT Linux repos
S:1.5-alt1
5.0: 1.0-alt1
4.1: 1.0-alt1
4.0: 0.4.1-alt1
3.0: 0.3.6-alt1

Group :: System/Libraries
RPM: libntlm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable static
%undefine __libtoolize

Name: libntlm
Version: 1.2
Release: alt2

Group: System/Libraries
Summary: Library for Microsoft NTLM authentication
Url: http://josefsson.org/libntlm/
License: LGPL

Source: %name-%version.tar.gz


# Automatically added by buildreq on Wed Feb 09 2005 (-bi)

#BuildRequires: gcc-c++ gcc-g77 libstdc++-devel python-base python-modules-compiler python-modules-encodings rpm-build-python
BuildRequires: gcc-c++ glibc-devel
%if_enabled static
glibc-devel-static
%endif

%description
This library provides routines to manipulate the structures
used for the client end of Microsoft NTLM authentication.


%package devel
Summary: Development files for programs which will use the %name library
Group: Development/C
Requires: %name = %version-%release
Provides: %name-devel = %version-%release

%description devel
The %name-devel package includes the header files
necessary for developing programs using the %name library.

If you are going to develop programs which will use the %name library
you should install %name-devel.

%prep
%setup -q
#autoreconf

%build
%configure \
%if_enabled static
   --enable-static \
%else
   --disable-static \
%endif
   --enable-shared
   
%make_build

%install
%make DESTDIR=%buildroot install


%files
%doc ChangeLog AUTHORS NEWS THANKS
%_libdir/*.so.*

%files devel
%doc README
%_libdir/pkgconfig/%name.pc
%_includedir/*.h
%_libdir/*.so

%if_enabled static
%files devel-static
%_libdir/*.la
%_libdir/*.a
%endif

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin