3 %bcond_without static_libs # don't build static libraries
5 Summary: Implementation of General Security Service API
6 Summary(pl.UTF-8): Implementacja GSS API (General Security Service API)
12 Source0: http://ftp.gnu.org/gnu/gss/%{name}-%{version}.tar.gz
13 # Source0-md5: 441859b30bed73010d426c087c71aac5
14 Patch0: %{name}-info.patch
15 URL: http://josefsson.org/gss/
16 BuildRequires: autoconf >= 2.61
17 BuildRequires: automake >= 1:1.10
18 BuildRequires: docbook-dtd412-xml
19 BuildRequires: gettext-tools >= 0.19.2
20 BuildRequires: gtk-doc >= 1.1
21 BuildRequires: help2man
22 BuildRequires: libtool >= 2:2
23 BuildRequires: pkgconfig
24 BuildRequires: rpmbuild(macros) >= 1.98
25 BuildRequires: shishi-devel >= 0.0.18
26 BuildRequires: texinfo
27 Requires: shishi >= 0.0.18
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 GSS is an implementation of the Generic Security Service Application
32 Program Interface (GSS-API). GSS-API is used by network servers to
33 provide security services, e.g., to authenticate SMTP/IMAP clients
34 against SMTP/IMAP servers.
36 %description -l pl.UTF-8
37 GSS to implementacja GSS-API (Generic Security Service Application
38 Program Interface - ogólnego API usług bezpieczeństwa). GSS-API jest
39 używane przez serwery sieciowe do udostępniania usług bezpieczeństwa,
40 na przykład uwierzytelniania klientów SMTP/IMAP dla serwerów
44 Summary: Header files for GSS library
45 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GSS
46 Group: Development/Libraries
47 Requires: %{name} = %{version}-%{release}
48 Requires: gtk-doc-common
49 Requires: shishi-devel >= 0.0.18
50 # man3/gss_acquire_cred.3 file conflict
51 Conflicts: heimdal-devel
54 Header files for GSS library.
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe biblioteki GSS.
60 Summary: Static GSS library
61 Summary(pl.UTF-8): Statyczna biblioteka GSS
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{version}-%{release}
68 %description static -l pl.UTF-8
69 Statyczna biblioteka GSS.
75 %{__rm} m4/libtool.m4 po/stamp-po
80 %{__aclocal} -I m4 -I gl/m4 -I lib/gl/m4 -I src/gl/m4
85 --disable-silent-rules \
86 %{!?with_static_libs:--disable-static} \
88 --with-html-dir=%{_gtkdocdir}
93 rm -rf $RPM_BUILD_ROOT
96 DESTDIR=$RPM_BUILD_ROOT
101 rm -rf $RPM_BUILD_ROOT
103 %post -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
106 %post devel -p /sbin/postshell
107 -/usr/sbin/fix-info-dir -c %{_infodir}
109 %postun devel -p /sbin/postshell
110 -/usr/sbin/fix-info-dir -c %{_infodir}
112 %files -f %{name}.lang
113 %defattr(644,root,root,755)
114 %doc AUTHORS ChangeLog NEWS README* THANKS
115 %attr(755,root,root) %{_bindir}/gss
116 %attr(755,root,root) %{_libdir}/libgss.so.*.*.*
117 %attr(755,root,root) %ghost %{_libdir}/libgss.so.3
118 %{_mandir}/man1/gss.1*
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_libdir}/libgss.so
126 %{_pkgconfigdir}/gss.pc
127 %{_infodir}/gss.info*
128 %{_mandir}/man3/gss*.3*
131 %if %{with static_libs}
133 %defattr(644,root,root,755)