diff --git a/README.md b/README.md index edb9b21..ba4fd28 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libntlm +libntlm is a library that implement Microsoft's NTLM authentication. + diff --git a/libntlm.spec b/libntlm.spec new file mode 100644 index 0000000..00515f7 --- /dev/null +++ b/libntlm.spec @@ -0,0 +1,63 @@ +Name: libntlm +Version: 1.2 +Release: 1mamba +Summary: A library that implements Microsoft's NTLM authentication +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://josefsson.org/libntlm/ +Source: http://josefsson.org/libntlm/releases/libntlm-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libntlm is a library that implement Microsoft's NTLM authentication. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +libntlm is a library that implement Microsoft's NTLM authentication. +This package contains static libraries and header files need for development. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/libntlm.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir} +%{_includedir}/*.h +%{_libdir}/libntlm.a +%{_libdir}/libntlm.la +%{_libdir}/libntlm.so +%{_libdir}/pkgconfig/*.pc +%doc ChangeLog NEWS README THANKS + +%changelog +* Sun Nov 28 2010 Silvan Calarco 1.2-1mamba +- package created by autospec