Пакет libnfsidmap: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | %def_disable static Name: libnfsidmap Version: 0.25 Release: alt1 Summary: Name to user id mapping library License: BSD Group: System/Libraries Url: http://www.citi.umich.edu/projects/nfsv4/linux/ Source: %name-%version-%release.tar BuildRequires: libldap-devel Conflicts: nfs-clients < 1:1.2.4 %package ldap Summary: Name to user id mapping library via LDAP Group: System/Libraries Requires: %name = %version-%release %package devel Summary: Name to user id mapping library and headers Group: Development/C Requires: %name = %version-%release %if_enabled static %package devel-static Summary: Name to user id mapping static library Group: Development/C Requires: %name-devel = %version-%release %endif %description %name is a library holding mulitiple methods of mapping names to id's and visa versa, mainly for NFSv4. %description ldap %name is a package, containing LDAP method of mapping names to id's and visa versa, mainly for NFSv4. %description devel %name is a library holding mulitiple methods of mapping names to id's and visa versa, mainly for NFSv4. This package holds development part of %name library %if_enabled static %description devel-static %name is a library holding mulitiple methods of mapping names to id's and visa versa, mainly for NFSv4. This package contains static %name library %endif %prep %setup %build [ ! -f autogen.sh ] || sh autogen.sh %configure %{subst_enable static} --libdir=/%_lib --with-pluginpath=/%_lib/libnfsidmap %make_build %install %makeinstall libdir=%buildroot/%_lib pkgconfigdir=%buildroot%_pkgconfigdir install -m0644 -pD idmapd.conf %buildroot%_sysconfdir/idmapd.conf find %buildroot/%_lib -maxdepth 1 -name \*.so|while read; do ln -snf ../../%_lib/`readlink $REPLY` %buildroot%_libdir/${REPLY##*/} rm -f -- $REPLY done find %buildroot -type f -name \*.la -delete sed -i 's,/%_lib,%_libdir,' %buildroot%_pkgconfigdir/%name.pc %files %doc COPYING README %config(noreplace) %_sysconfdir/idmapd.conf /%_lib/%name.so.* /%_lib/%name %exclude /%_lib/%name/umich_ldap.* %_man5dir/idmapd.conf.* %files ldap /%_lib/%name/umich_ldap.* %files devel %_libdir/%name.so %_includedir/nfsidmap.h %_pkgconfigdir/* %_man3dir/* %if_enabled static %files devel-static %_libdir/%name.a %endif %changelog * Tue Dec 06 2011 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.25-alt1 - 0.25 released * Thu May 12 2011 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.24-alt2 - conflicts: added due to idmapd.conf relocation from nfs-clients * Mon Feb 28 2011 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.24-alt1 - 0.24 released * Sat Nov 06 2010 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.23-alt1 - 0.23 released * Sat Sep 19 2009 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.22-alt1 - 0.22 released * Sat Dec 6 2008 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.21-alt2 - obsolete by filetriggers macros removed * Sat Aug 23 2008 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.21-alt1 - 0.21 released * Sat Oct 20 2007 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.20-alt1 - 0.20 released * Sun Dec 3 2006 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.18-alt1 - 0.18 released * Tue Aug 15 2006 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.17-alt1 - 0.17 released * Mon Jul 17 2006 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.16-alt1 - 0.16 released * Fri Oct 14 2005 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.11-alt1 - 0.11 released - #7878 fixed * Sat May 7 2005 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.10-alt2 - made umich_ldap mappings build conditional and disabled by default * Sat Feb 19 2005 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.10-alt1 - Initial build. |