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