libnfsidmap-vl.spec 3.1 KB

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