Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37879313
en ru br
ALT Linux repositórios
5.0: 0.21-alt2
4.1: 0.20-alt1
4.0: 0.18-alt1
3.0: 0.10-alt2

Group :: Sistema/Bibliotecas
RPM: libnfsidmap

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_disable static

Name: libnfsidmap
Version: 0.21
Release: alt2

Summary: Name to user id mapping library
License: BSD
Group: System/Libraries
Url: http://www.citi.umich.edu/projects/nfsv4/linux/

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

BuildRequires: libldap-devel

%package ldap
Summary: Name to user id mapping library via LDAP
Group: System/Libraries
Requires: %name = %version-%release

%package devel
Summary: Name to user id mapping library and headers
Group: Development/C
Requires: %name = %version-%release

%if_enabled static
%package devel-static
Summary: Name to user id mapping static library
Group: Development/C
Requires: %name-devel = %version-%release
%endif

%description
%name is a library holding mulitiple methods of mapping names to id's
and visa versa, mainly for NFSv4.

%description ldap
%name is a package, containing LDAP method of mapping names to id's
and visa versa, mainly for NFSv4.

%description devel
%name is a library holding mulitiple methods of mapping names to id's
and visa versa, mainly for NFSv4.
This package holds development part of %name library

%if_enabled static
%description devel-static
%name is a library holding mulitiple methods of mapping names to id's
and visa versa, mainly for NFSv4.
This package contains static %name library
%endif

%prep
%setup

%build
%autoreconf
%configure %{subst_enable static} --libdir=/%_lib
%make_build

%install
%makeinstall libdir=%buildroot/%_lib pkgconfigdir=%buildroot%_pkgconfigdir
find %buildroot/%_lib -maxdepth 1 -name \*.so|while read; do
ln -snf ../../%_lib/`readlink $REPLY` %buildroot%_libdir/${REPLY##*/}
rm -f -- $REPLY
done
find %buildroot -type f -name \*.la -delete
sed -i 's,/%_lib,%_libdir,' %buildroot%_pkgconfigdir/%name.pc

%files
%doc COPYING README idmapd.conf
/%_lib/%name.so.*
%dir /%_lib/%name
/%_lib/%name/*
%exclude /%_lib/%name/%{name}_umich_ldap.*

%files ldap
/%_lib/%name/%{name}_umich_ldap.*

%files devel
%_libdir/%name.so
%_includedir/nfsidmap.h
%_pkgconfigdir/*
%_man3dir/*

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

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009