Adapt spec to build
OBS-URL: https://build.opensuse.org/package/show/network/cyrus-sasl?expand=0&rev=86
This commit is contained in:
parent
c57fcb38e7
commit
ecc5a2adde
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cyrus-sasl-bdb
|
Name: cyrus-sasl-bdb
|
||||||
%define lname libsasl2-3
|
%define lname libsasl2-3-bdb
|
||||||
Version: 2.1.27
|
Version: 2.1.27
|
||||||
Release: 0
|
Release: 0
|
||||||
URL: http://asg.web.cmu.edu/sasl/
|
URL: http://asg.web.cmu.edu/sasl/
|
||||||
@ -52,49 +52,49 @@ Conflicts: cyrus-sasl
|
|||||||
%package gssapi
|
%package gssapi
|
||||||
Summary: Plugin for the GSSAPI SASL mechanism
|
Summary: Plugin for the GSSAPI SASL mechanism
|
||||||
Group: Productivity/Networking/Other
|
Group: Productivity/Networking/Other
|
||||||
Requires: cyrus-sasl = %{version}
|
Requires: cyrus-sasl-bdb = %{version}
|
||||||
Conflicts: cyrus-sasl-gssapi
|
Conflicts: cyrus-sasl-gssapi
|
||||||
|
|
||||||
%package crammd5
|
%package crammd5
|
||||||
Summary: Plugin for the CRAMMD5 SASL mechanism
|
Summary: Plugin for the CRAMMD5 SASL mechanism
|
||||||
Group: Productivity/Networking/Other
|
Group: Productivity/Networking/Other
|
||||||
Requires: cyrus-sasl = %{version}
|
Requires: cyrus-sasl-bdb = %{version}
|
||||||
Conflicts: cyrus-sasl-crammd5
|
Conflicts: cyrus-sasl-crammd5
|
||||||
|
|
||||||
%package digestmd5
|
%package digestmd5
|
||||||
Summary: Plugin for the DIGESTMD5 SASL mechanism
|
Summary: Plugin for the DIGESTMD5 SASL mechanism
|
||||||
Group: Productivity/Networking/Other
|
Group: Productivity/Networking/Other
|
||||||
Requires: cyrus-sasl = %{version}
|
Requires: cyrus-sasl-bdb = %{version}
|
||||||
Conflicts: cyrus-sasl-digestmd5
|
Conflicts: cyrus-sasl-digestmd5
|
||||||
|
|
||||||
%package otp
|
%package otp
|
||||||
Summary: Plugin for the OTP SASL mechanism
|
Summary: Plugin for the OTP SASL mechanism
|
||||||
Group: Productivity/Networking/Other
|
Group: Productivity/Networking/Other
|
||||||
Requires: cyrus-sasl = %{version}
|
Requires: cyrus-sasl-bdb = %{version}
|
||||||
Conflicts: cyrus-sasl-otp
|
Conflicts: cyrus-sasl-otp
|
||||||
|
|
||||||
%package plain
|
%package plain
|
||||||
Summary: Plugin for the PLAIN SASL mechanism
|
Summary: Plugin for the PLAIN SASL mechanism
|
||||||
Group: Productivity/Networking/Other
|
Group: Productivity/Networking/Other
|
||||||
Requires: cyrus-sasl = %{version}
|
Requires: cyrus-sasl-bdb = %{version}
|
||||||
Conflicts: cyrus-sasl-plain
|
Conflicts: cyrus-sasl-plain
|
||||||
|
|
||||||
%package ntlm
|
%package ntlm
|
||||||
Summary: Plugin for the NTLM SASL mechanism
|
Summary: Plugin for the NTLM SASL mechanism
|
||||||
Group: Productivity/Networking/Other
|
Group: Productivity/Networking/Other
|
||||||
Requires: cyrus-sasl = %{version}
|
Requires: cyrus-sasl-bdb = %{version}
|
||||||
Conflicts: cyrus-sasl-ntlm
|
Conflicts: cyrus-sasl-ntlm
|
||||||
|
|
||||||
%package gs2
|
%package gs2
|
||||||
Summary: Plugin for the GS2 SASL mechanism
|
Summary: Plugin for the GS2 SASL mechanism
|
||||||
Group: Productivity/Networking/Other
|
Group: Productivity/Networking/Other
|
||||||
Requires: cyrus-sasl = %{version}
|
Requires: cyrus-sasl-bdb = %{version}
|
||||||
Conflicts: cyrus-sasl-gs2
|
Conflicts: cyrus-sasl-gs2
|
||||||
|
|
||||||
%package scram
|
%package scram
|
||||||
Summary: Plugin for the SCRAM SASL mechanism
|
Summary: Plugin for the SCRAM SASL mechanism
|
||||||
Group: Productivity/Networking/Other
|
Group: Productivity/Networking/Other
|
||||||
Requires: cyrus-sasl = %{version}
|
Requires: cyrus-sasl-bdb = %{version}
|
||||||
Conflicts: cyrus-sasl-scram
|
Conflicts: cyrus-sasl-scram
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
@ -109,6 +109,11 @@ Requires: %lname = %version
|
|||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Conflicts: cyrus-sasl-devel
|
Conflicts: cyrus-sasl-devel
|
||||||
|
|
||||||
|
%package -n %lname
|
||||||
|
Summary: Simple Authentication and Security Layer (SASL) library
|
||||||
|
Group: System/Libraries
|
||||||
|
Conflicts: libsasl2-3
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is the Cyrus SASL API. It can be used on the client or server side
|
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.
|
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
|
or server side to provide authentication. See RFC 5802 for more
|
||||||
information.
|
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
|
%prep
|
||||||
%setup -q -n cyrus-sasl-%{version} -a 1
|
%setup -q -n cyrus-sasl-%{version} -a 1
|
||||||
if [ -e %{_builddir}/cyrus-sasl-%{version}/dlcompat-*/ ]
|
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*
|
rm -r $RPM_BUILD_ROOT%{_libdir}/libsasl2.so.3*
|
||||||
find "%buildroot" -type f -name "*.la" -print -delete
|
find "%buildroot" -type f -name "*.la" -print -delete
|
||||||
|
|
||||||
|
%files -n %lname
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libsasl2.so.3*
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_libdir}/sasl2
|
%dir %{_libdir}/sasl2
|
||||||
|
Loading…
Reference in New Issue
Block a user