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