diff --git a/cyrus-sasl-bdb.spec b/cyrus-sasl-bdb.spec index e24ba40..e9e5730 100644 --- a/cyrus-sasl-bdb.spec +++ b/cyrus-sasl-bdb.spec @@ -17,7 +17,7 @@ Name: cyrus-sasl-bdb -%define lname libsasl2-3 +%define lname libsasl2-3-bdb Version: 2.1.27 Release: 0 URL: http://asg.web.cmu.edu/sasl/ @@ -52,49 +52,49 @@ Conflicts: cyrus-sasl %package gssapi Summary: Plugin for the GSSAPI SASL mechanism Group: Productivity/Networking/Other -Requires: cyrus-sasl = %{version} +Requires: cyrus-sasl-bdb = %{version} Conflicts: cyrus-sasl-gssapi %package crammd5 Summary: Plugin for the CRAMMD5 SASL mechanism Group: Productivity/Networking/Other -Requires: cyrus-sasl = %{version} +Requires: cyrus-sasl-bdb = %{version} Conflicts: cyrus-sasl-crammd5 %package digestmd5 Summary: Plugin for the DIGESTMD5 SASL mechanism Group: Productivity/Networking/Other -Requires: cyrus-sasl = %{version} +Requires: cyrus-sasl-bdb = %{version} Conflicts: cyrus-sasl-digestmd5 %package otp Summary: Plugin for the OTP SASL mechanism Group: Productivity/Networking/Other -Requires: cyrus-sasl = %{version} +Requires: cyrus-sasl-bdb = %{version} Conflicts: cyrus-sasl-otp %package plain Summary: Plugin for the PLAIN SASL mechanism Group: Productivity/Networking/Other -Requires: cyrus-sasl = %{version} +Requires: cyrus-sasl-bdb = %{version} Conflicts: cyrus-sasl-plain %package ntlm Summary: Plugin for the NTLM SASL mechanism Group: Productivity/Networking/Other -Requires: cyrus-sasl = %{version} +Requires: cyrus-sasl-bdb = %{version} Conflicts: cyrus-sasl-ntlm %package gs2 Summary: Plugin for the GS2 SASL mechanism Group: Productivity/Networking/Other -Requires: cyrus-sasl = %{version} +Requires: cyrus-sasl-bdb = %{version} Conflicts: cyrus-sasl-gs2 %package scram Summary: Plugin for the SCRAM SASL mechanism Group: Productivity/Networking/Other -Requires: cyrus-sasl = %{version} +Requires: cyrus-sasl-bdb = %{version} Conflicts: cyrus-sasl-scram %package devel @@ -109,6 +109,11 @@ Requires: %lname = %version Requires: glibc-devel Conflicts: cyrus-sasl-devel +%package -n %lname +Summary: Simple Authentication and Security Layer (SASL) library +Group: System/Libraries +Conflicts: libsasl2-3 + %description This is the Cyrus SASL API. It can be used on the client or server side to provide authentication. See RFC 2222 for more information. @@ -156,6 +161,14 @@ This is the Cyrus SASL API implementation. It can be used on the client or server side to provide authentication. See RFC 5802 for more information. +%description -n %lname +Simple Authentication and Security Layer (SASL) is a framework for +authentication and data security in Internet protocols. + +This is the Cyrus SASL API implementation. It can be used on the client +or server side to provide authentication. See RFC 2222 for more +information. + %prep %setup -q -n cyrus-sasl-%{version} -a 1 if [ -e %{_builddir}/cyrus-sasl-%{version}/dlcompat-*/ ] @@ -202,6 +215,10 @@ rm -f $RPM_BUILD_ROOT/usr/sbin/testsaslauthd rm -r $RPM_BUILD_ROOT%{_libdir}/libsasl2.so.3* find "%buildroot" -type f -name "*.la" -print -delete +%files -n %lname +%defattr(-,root,root) +%{_libdir}/libsasl2.so.3* + %files %defattr(-,root,root) %dir %{_libdir}/sasl2