Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37037578
en ru br
ALT Linux repos
S:0.4-alt1
5.0: 0.1-alt2
4.1: 0.1-alt1

Group :: System/Libraries
RPM: libgssglue

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable static

Name: libgssglue
Version: 0.4
Release: alt1

Summary: GSSAPI frontend library
License: Distributable
Group: System/Libraries
Url: http://www.citi.umich.edu/projects/nfsv4/linux/

Provides: libgssapi
Obsoletes: libgssapi

Source0: %name-%version-%release.tar

%package devel
Summary: GSSAPI frontend library and headers
Group: Development/C
Requires: %name = %version-%release
Provides: libgssapi-devel
Obsoletes: libgssapi-devel

%if_enabled static
%package devel-static
Summary: GSSAPI frontend static library
Group: Development/C
Requires: %name-devel = %version-%release
Provides: libgssapi-devel-static
Obsoletes: libgssapi-devel-static
%endif

%description
This library exports a gssapi interface, but doesn't implement any gssapi
mechanisms itself; instead it calls gssapi routines in other libraries,
depending on the mechanism.

%description devel
This library exports a gssapi interface, but doesn't implement any gssapi
mechanisms itself; instead it calls gssapi routines in other libraries,
depending on the mechanism.

This package holds development part of %name library

%if_enabled static
%description devel-static
This library exports a gssapi interface, but doesn't implement any gssapi
mechanisms itself; instead it calls gssapi routines in other libraries,
depending on the mechanism.

This package contains static %name library
%endif

%prep
%setup -q
sed -i 's at ^/usr/lib at /%_lib at ; s at krb5\.so[ ] at krb5.so.2  at ' doc/gssapi_mech.conf

%build
%autoreconf
%configure %{subst_enable static}
%make_build

%install
%makeinstall
mkdir -p %buildroot/%_lib
mv %buildroot%_libdir/*.so.* %buildroot/%_lib/
find %buildroot%_libdir -name \*.so|while read; do
ln -snf ../../%_lib/`readlink $REPLY` %buildroot%_libdir/${REPLY##*/}
done
install -pD -m644 doc/gssapi_mech.conf %buildroot%_sysconfdir/gssapi_mech.conf

%files
%doc AUTHORS COPYING README
%config(noreplace) %_sysconfdir/gssapi_mech.conf
/%_lib/%name.so.*

%files devel
%_libdir/%name.so
%_pkgconfigdir/*
%_includedir/gssglue

%if_enabled static
%files devel-static
%_libdir/%name.a
%endif

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin