File nfsidmap.spec of Package nfsidmap
#
# spec file for package nfsidmap (Version 0.20)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: nfsidmap
BuildRequires: openldap2-devel tcpd-devel
URL: http://nfs.sourceforge.net
Summary: NFSv4 ID Mapping Library
Version: 0.20
Release: 1
Group: Productivity/Networking/NFS
License: BSD 3-Clause
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %fillup_prereq %insserv_prereq
Autoreqprov: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/libnfsidmap-%{version}.tar.bz2
Source1: nfsv4.schema
%package devel
Summary: NFSv4 ID Mapping Library development libraries
Group: Development/Libraries/C and C++
Requires: openldap2-devel nfsidmap = %version
%description
In NFSv4, identities of users are conveyed by names rather than user ID
and group ID. Both the NFS server and client code in the kernel need to
translate these to numeric IDs.
Authors:
--------
J. Bruce Fields <bfields@citi.umich.edu>
%description devel
In NFSv4, identities of users are conveyed by names rather than user ID
and group ID. Both the NFS server and client code in the kernel need to
translate these to numeric IDs.
Authors:
--------
J. Bruce Fields <bfields@citi.umich.edu>
%prep
%setup -q -n libnfsidmap-%version
cp %{S:1} .
%build
%{?suse_update_config:%{suse_update_config -f }}
CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED" ./configure \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--libdir=%{_libdir}
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr(444,root,root,755)
%doc README nfsv4.schema
%attr(555,root,root) %{_libdir}/lib*.so.*
%attr(444,root,root) %{_mandir}/man?/*
%files devel
%defattr(444,root,root,755)
%attr(555,root,root) %{_libdir}/lib*.so
%attr(444,root,root) %{_libdir}/lib*.a*
%attr(444,root,root) %{_libdir}/lib*.la*
%attr(444,root,root) %{_includedir}/*.h
%{_libdir}/pkgconfig/libnfsidmap.pc
%changelog
* Thu Jul 19 2007 - meissner@suse.de
- upgraded to 0.20 (various bugfixes)
- fixed nfsv4 id mapping
- split up -devel package.
* Mon Jul 16 2007 - ro@suse.de
- added nfsv4.schema from fate#301375
* Wed Aug 09 2006 - ro@suse.de
- update to 0.16 (various bugfixes, no upstream changelog)
* Tue Apr 25 2006 - okir@suse.de
- Stop adding ou=People to LDAP search string; now it
works with eDirectory (#169152)
* Mon Mar 20 2006 - okir@suse.de
- Do not crash if user is not in passwd database (#154912)
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 10 2006 - okir@suse.de
- Updated to latest upstream version
* Tue Oct 18 2005 - ro@suse.de
- added -DLDAP_DEPRECATED to CFLAGS
* Tue May 31 2005 - okir@suse.de
- Initial packaging