1 Summary: GSSAPI interface using mechanisms from other GSSAPI implementations
2 Summary(pl.UTF-8): Interfejs GSSAPI używający mechanizmów z innych implementacji GSSAPI
8 #Source0Download: https://gitlab.com/gsasl/libgssglue/-/releases
9 Source0: https://gitlab.com/gsasl/libgssglue/uploads/eed1e65e06ed330214bd6f647af42b7f/%{name}-%{version}.tar.gz
10 # Source0-md5: 8ffe582d3678b4789d7f67666d71b1d2
11 Patch0: %{name}-soname.patch
12 URL: https://gitlab.com/gsasl/libgssglue
13 Obsoletes: libgssapi < 0.12
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 This library exports a GSSAPI interface, but doesn't implement any
20 GSSAPI mechanisms itself; instead it calls GSSAPI routines in other
21 libraries, depending on the mechanism.
23 %description -l pl.UTF-8
24 Ta biblioteka eksportuje interfejs GSSAPI, ale sama nie implementuje
25 żadnego mechanizmu GSSAPI - zamiast tego wywołuje funkcje GSSAPI z
26 innych bibliotek, w zależności od mechanizmu.
29 Summary: Development files for libgssglue library
30 Summary(pl.UTF-8): Pliki programistyczne biblioteki libgssglue
31 Group: Development/Libraries
32 Requires: %{name} = %{version}-%{release}
33 Obsoletes: libgssapi-devel < 0.12
36 Development files for libgssglue library.
38 %description devel -l pl.UTF-8
39 Pliki programistyczne biblioteki libgssglue.
42 Summary: Static libgssglue library
43 Summary(pl.UTF-8): Statyczna biblioteka libgssglue
44 Group: Development/Libraries
45 Requires: %{name}-devel = %{version}-%{release}
46 Obsoletes: libgssapi-static < 0.12
49 Static libgssglue library.
51 %description static -l pl.UTF-8
52 Statyczna biblioteka libgssglue.
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib}}
67 DESTDIR=$RPM_BUILD_ROOT
69 sed -e 's|/lib/|/%{_lib}/|g' doc/gssapi_mech.conf > $RPM_BUILD_ROOT%{_sysconfdir}/gssapi_mech.conf
71 %{__mv} $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib}
72 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.so
73 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib*.so.*.*) \
74 $RPM_BUILD_ROOT%{_libdir}/libgssglue.so
76 # obsoleted by pkg-config
77 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgssglue.la
80 rm -rf $RPM_BUILD_ROOT
82 %post -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
86 %defattr(644,root,root,755)
87 %doc AUTHORS COPYING ChangeLog README
88 %attr(755,root,root) /%{_lib}/libgssglue.so.*.*.*
89 %attr(755,root,root) %ghost /%{_lib}/libgssglue.so.1
90 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gssapi_mech.conf
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/libgssglue.so
95 %{_includedir}/gssglue
96 %{_pkgconfigdir}/libgssglue.pc
99 %defattr(644,root,root,755)
100 %{_libdir}/libgssglue.a