libnfsidmap-vl.spec 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. Summary: NFSv4 ID Mapping Library
  2. Summary(ja): NFSv4 ID マッピングライブラリ
  3. Name: libnfsidmap
  4. Version: 0.25
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: BSD
  8. URL: http://nfs.sourceforge.net
  9. Source0: http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/libnfsidmap-%{version}.tar.gz
  10. Patch10: idmap.conf.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: openldap-devel, tcp_wrappers
  13. %description
  14. In NFSv4, identities of users are conveyed by names rather than user ID
  15. and group ID. Both the NFS server and client code in the kernel need to
  16. translate these to numeric IDs.
  17. %prep
  18. %setup -q
  19. %patch10 -p1
  20. %build
  21. %configure --disable-static --with-pluginpath=%{_libdir}/%{name}
  22. %__make %{?_smp_mflags} all
  23. %install
  24. %?__make install DESTDIR=%{buildroot}
  25. mkdir -p %{buildroot}/etc
  26. install -m 644 idmapd.conf $RPM_BUILD_ROOT/etc/idmapd.conf
  27. # Delete unneeded files
  28. rm -rf %{buildroot}%{_libdir}/*.{a,la}
  29. rm -rf %{buildroot}%{_libdir}/%{name}/*.{a,la}
  30. %clean
  31. rm -rf $RPM_BUILD_ROOT
  32. %files
  33. %defattr(-, root, root)
  34. %doc COPYING README
  35. %config(noreplace) /etc/idmapd.conf
  36. %{_libdir}/lib*.so*
  37. %dir %{_libdir}/%{name}
  38. %{_libdir}/%{name}/*.so
  39. %{_libdir}/pkgconfig/*.pc
  40. %{_includedir}/*.h
  41. %{_mandir}/man?/*
  42. %changelog
  43. * Sat Oct 20 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.25-1
  44. - new upstream release
  45. - remove static libs
  46. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.21-2
  47. - rebuilt with rpm-4.8.1 for pkg-config
  48. * Fri Jun 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.21-1
  49. - new upstream release
  50. * Sat Apr 04 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.20-3
  51. - rebuilt with openldap-2.4.11
  52. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.20-2
  53. - spec in utf-8
  54. * Thu May 15 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.20-1
  55. - new versioning policy
  56. - add Patch10 and fix spec to install default idmapd.conf file
  57. - remove *.la
  58. * Wed Sep 12 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.20-0vl1
  59. - updated to 0.20
  60. * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 0.16-0vl3
  61. - rebuilt with openldap-2.3.27-0vl1
  62. * Sun Jul 02 2006 Satoshi MACHINO <machino@vinelinux.org> 0.16-0vl2
  63. - rebuilt with openldap-2.3.24-0vl1
  64. * Sun May 28 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.16-0vl1
  65. - updated to 0.16
  66. - added pkgconfig files
  67. - changed Group to System Environment/Libraries
  68. * Tue Mar 21 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.12-0vl1
  69. - initial build for Vine Linux