From fbd489c4f7f8b6062fa3251d57e4bfce9cb17760 Mon Sep 17 00:00:00 2001 From: Nikolay Vladimirov Date: Jun 26 2007 02:12:33 +0000 Subject: *** empty log message *** --- diff --git a/.cvsignore b/.cvsignore index e69de29..15712e2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libgsasl-0.2.18.tar.gz diff --git a/libgsasl.spec b/libgsasl.spec new file mode 100644 index 0000000..d96b5a2 --- /dev/null +++ b/libgsasl.spec @@ -0,0 +1,82 @@ +Name: libgsasl +Version: 0.2.18 +Release: 3%{?dist} +Summary: GNU SASL library + +Group: System Environment/Libraries +License: LGPL +URL: http://www.gnu.org/software/gsasl/ +Source0: http://josefsson.org/gsasl/releases/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libidn-devel +BuildRequires: krb5-devel +BuildRequires: libntlm-devel + +BuildRequires: pkgconfig + +%description +The library includes support for the SASL framework +and at least partial support for the CRAM-MD5, EXTERNAL, +GSSAPI, ANONYMOUS, PLAIN, SECURID, DIGEST-MD5, LOGIN, +and NTLM mechanisms. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +%configure --disable-static --disable-rpath +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +%find_lang %{name} + + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING NEWS README THANKS +%{_libdir}/libgsasl.so.* + +%files devel +%defattr(-,root,root,-) +%doc COPYING +%{_includedir}/gsasl* +%{_libdir}/libgsasl.so +%{_libdir}/pkgconfig/libgsasl.pc + + +%changelog +* Tue Jun 26 2007 Nikolay Vladimirov - 0.2.18-3 +- added NTLM support +* Fri Jun 22 2007 Nikolay Vladimirov - 0.2.18-2 +- fixed mixed-use-of-spaces-and-tabs +- fixed timestamps for header files +- edited summary +* Thu Jun 21 2007 Nikolay Vladimirov - 0.2.18-1 +- initial release + diff --git a/sources b/sources index e69de29..df15ce5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d118c5a5a9333411ec3d6cb7973b314a libgsasl-0.2.18.tar.gz