Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > 7cca590e1251fb9d1261d68aa8487cc6 > files > 2

libntlm-1.3-1.mga2.src.rpm

%define major 0
%define libname %mklibname ntlm %{major}
%define develname %mklibname ntlm -d

Summary:	Microsoft WinNT domain authentication library
Name:		libntlm
Version:	1.3
Release:	%mkrel 1
Group:		System/Libraries
License:	LGPLv2+
URL:		http://www.nongnu.org/libntlm/
Source0:	http://www.nongnu.org/libntlm/releases/%{name}-%{version}.tar.gz
%ifnarch %arm %mips
BuildRequires:	valgrind
%endif
BuildRoot:	%{_tmppath}/root-%{name}-%{version}

%description
A library for authenticating with Microsoft NTLM challenge-response, 
derived from Samba sources.

%package -n %{libname}
Summary:	Microsoft WinNT domain authentication library
Group:		System/Libraries

%description -n %{libname}
A library for authenticating with Microsoft NTLM challenge-response, 
derived from Samba sources.

%package -n %{develname}
Summary:	Microsoft WinNT domain authentication library for development
Group:		Development/C++
Requires:	%{libname} = %{version}-%{release}
Provides:	%{name}-devel = %{version}-%{release}

%description -n %{develname}
Development files needed for compiling against libntlm.

%prep
%setup -q

%build
%configure2_5x
%make

%check
make check

%install
rm -rf %{buildroot}
%makeinstall_std

%clean
rm -rf %{buildroot}

%files -n %{libname}
%defattr(-,root,root)
%{_libdir}/*.so.%{major}*

%files -n %{develname}
%defattr(-,root,root)
%doc AUTHORS README ChangeLog THANKS
%{_includedir}/ntlm.h
%{_libdir}/*.so
%{_libdir}/libntlm.a
%{_libdir}/libntlm.la
%{_libdir}/pkgconfig/libntlm.pc




%changelog

* Thu Sep 08 2011 tv <tv> 1.3-1.mga2
+ Revision: 141198
- new release
- new URLs

* Thu Feb 24 2011 ennael <ennael> 1.2-2.mga1
+ Revision: 59061
- clean spec file
- imported package libntlm