3 %bcond_without gss # without GSSAPI mechanism
4 %bcond_without krbv5 # without KERBEROS_V5 mechanism
5 %bcond_without ntlm # without NTLM mechanism
7 Summary: GNU SASL - implementation of the Simple Authentication and Security Layer
8 Summary(pl): GNU SASL - implementacja Simple Authentication and Security Layer
14 Source0: http://josefsson.org/gsasl/releases/%{name}-%{version}.tar.gz
15 # Source0-md5: 5e527147cea5cc776240f6d7a6820955
16 Patch0: %{name}-info.patch
17 Patch1: %{name}-pl.po-update.patch
18 URL: http://www.gnu.org/software/gsasl/
19 BuildRequires: autoconf >= 2.59
20 BuildRequires: automake >= 1:1.9
21 BuildRequires: gettext-devel >= 0.14.1
22 %{?with_gss:BuildRequires: gss-devel >= 0.0.0}
23 BuildRequires: gtk-doc >= 1.1
24 BuildRequires: libgcrypt-devel >= 1.1.42
25 BuildRequires: libidn-devel >= 0.1.0
26 %{?with_ntlm:BuildRequires: libntlm-devel >= 0.3.5}
27 BuildRequires: libtool >= 2:1.5
28 # alternatively, krb5 or heimdal could be used for GSSAPI and KERBEROS_V5
29 %{?with_krbv5:BuildRequires: shishi-devel >= 0.0.0}
30 BuildRequires: texinfo
31 Requires(post,postun): /sbin/ldconfig
32 %{?with_ntlm:Requires: libntlm >= 0.3.5}
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 GNU SASL is an implementation of the Simple Authentication and
38 Security Layer framework and a few common SASL mechanisms. SASL is
39 used by network servers (e.g., IMAP, SMTP) to request authentication
40 from clients, and in clients to authenticate against servers.
42 GNU SASL contains a library (`libgsasl'), a command line utility
43 (`gsasl') to access the library from the shell, and a manual. The
44 library includes support for the SASL framework (with authentication
45 functions and application data privacy and integrity functions) and at
46 least partial support for the CRAM-MD5, EXTERNAL, GSSAPI, ANONYMOUS,
47 PLAIN, SECURID, DIGEST-MD5, LOGIN, NTLM and KERBEROS_V5 mechanisms.
49 The library is portable because it does not do network communication
50 by itself, but rather leaves it up to the calling application. The
51 library is flexible with regards to the authorization infrastructure
52 used, as it utilizes callbacks into the application to decide whether
53 an user is authorized or not.
56 GNU SASL to implementacja szkieletu Simple Authentication and Security
57 Layer (prostej warstwy uwierzytelniania i bezpieczeñstwa) oraz kilku
58 popularnych mechanizmów SASL. SASL jest u¿ywane przez serwery sieciowe
59 (np. IMAP i SMTP) do ¿±dania uwierzytelnienia od klientów oraz w
60 klientach do uwierzytelniania wzglêdem serwerów.
62 GNU SASL zawiera bibliotekê (libgsasl), narzêdzie dzia³aj±ce z linii
63 poleceñ (gsasl) pozwalaj±ce na korzystanie z biblioteki z poziomu
64 pow³oki oraz dokumentacjê. Biblioteka ma obs³ugê szkieletu SASL (z
65 funkcjami uwierzytelniaj±cymi oraz zapewniaj±cymi prywatno¶æ i
66 spójno¶æ danych aplikacji) oraz przynajmniej czê¶ciow± obs³ugê
67 mechanizmów CRAM-MD5, EXTERNAL, GSSAPI, ANONYMOUS, PLAIN, SECURID,
68 DIGEST-MD5, LOGIN, NTLM oraz KERBEROS_V5.
70 Biblioteka jest przeno¶na, poniewa¿ sama nie korzysta z komunikacji
71 sieciowej, pozostawiaj±c to wywo³uj±cej j± aplikacji. Biblioteka jest
72 elastyczna ze wzglêdu na u¿ywan± infrastrukturê uwierzytelniania,
73 poniewa¿ korzysta z callbacków w aplikacji przy decydowaniu, czy
74 u¿ytkownik jest autoryzowany.
77 Summary: Header files for GNU SASL library
78 Summary(pl): Pliki nag³ówkowe biblioteki GNU SASL
79 Group: Development/Libraries
80 Requires: %{name} = %{version}-%{release}
81 %{?with_gss:Requires: gss-devel >= 0.0.0}
82 Requires: libgcrypt-devel >= 1.1.42
83 Requires: libidn-devel >= 0.1.0
84 %{?with_ntlm:Requires: libntlm-devel >= 0.3.5}
85 %{?with_krbv5:Requires: shishi-devel >= 0.0.0}
86 Obsoletes: libgsasl-devel
89 Header files for GNU SASL library.
91 %description devel -l pl
92 Pliki nag³ówkowe biblioteki GNU SASL.
95 Summary: Static GNU SASL library
96 Summary(pl): Statyczna biblioteka GNU SASL
97 Group: Development/Libraries
98 Requires: %{name}-devel = %{version}-%{release}
99 Obsoletes: libgsasl-static
102 Static GNU SASL library.
104 %description static -l pl
105 Statyczna biblioteka GNU SASL.
112 rm -f lib/po/stamp-po
117 %{__aclocal} -I m4 -I gl/m4
123 %{!?with_gss:--disable-gssapi} \
124 %{!?with_krbv5:--disable-kerberos_v5} \
125 %{!?with_ntlm:--disable-ntlm} \
126 --with-html-dir=%{_gtkdocdir} \
132 rm -rf $RPM_BUILD_ROOT
135 DESTDIR=$RPM_BUILD_ROOT
137 # libgsasl for lib, gsasl for app
138 %find_lang %{name} --all-name
141 rm -rf $RPM_BUILD_ROOT
145 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
149 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
151 %files -f %{name}.lang
152 %defattr(644,root,root,755)
153 %doc AUTHORS ChangeLog NEWS README* THANKS
154 %attr(755,root,root) %{_bindir}/gsasl
155 %attr(755,root,root) %{_libdir}/libgsasl.so.*.*.*
156 %{_mandir}/man1/gsasl.1*
160 %defattr(644,root,root,755)
161 %attr(755,root,root) %{_libdir}/libgsasl.so
162 %{_libdir}/libgsasl.la
163 %{_includedir}/gsasl*.h
164 %{_pkgconfigdir}/libgsasl.pc
169 %defattr(644,root,root,755)
170 %{_libdir}/libgsasl.a