[521] | 1 | %define rpcsecgssvers 0.17 |
---|
| 2 | |
---|
| 3 | Summary: Library to allow secure rpc communication using the rpcsec_gss protocol |
---|
| 4 | Name: librpcsecgss |
---|
| 5 | Version: %{rpcsecgssvers} |
---|
| 6 | Release: 1%{?_dist_release} |
---|
| 7 | URL: http://www.citi.umich.edu/projects/nfsv4/linux/ |
---|
| 8 | License: GPL |
---|
| 9 | |
---|
| 10 | %define _docdir %{_defaultdocdir}/%{name}-%{version} |
---|
| 11 | %define librpcsecgss_docdir %{_docdir}/%{name}-%{rpcsecgssvers} |
---|
| 12 | |
---|
| 13 | Source0: http://www.citi.umich.edu/projects/nfsv4/linux/librpcsecgss/%{name}-%{rpcsecgssvers}.tar.gz |
---|
| 14 | |
---|
| 15 | Group: System Environment/Libraries |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | BuildRequires: pkgconfig, gettext, autoconf, automake |
---|
| 18 | BuildRequires: libgssglue-devel, openldap-devel |
---|
| 19 | Requires(postun): /sbin/ldconfig |
---|
| 20 | Requires(pre): /sbin/ldconfig |
---|
| 21 | Requires: libgssglue, openldap |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | Librpcsecgss allows secure rpc communication using the rpcsec_gss protocol. |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | %prep |
---|
| 28 | %setup -q |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | %build |
---|
| 32 | %configure |
---|
| 33 | make all |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %install |
---|
| 37 | rm -rf %{buildroot} |
---|
| 38 | DESTDIR=%{buildroot} make install |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | %post -p /sbin/ldconfig |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %postun -p /sbin/ldconfig |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %clean |
---|
| 48 | rm -rf %{buildroot} |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %files |
---|
| 52 | %defattr(-,root,root) |
---|
| 53 | %doc AUTHORS ChangeLog NEWS README |
---|
| 54 | |
---|
| 55 | %{_libdir}/librpcsecgss.so.* |
---|
| 56 | %{_libdir}/librpcsecgss.la |
---|
| 57 | %{_libdir}/pkgconfig/librpcsecgss.pc |
---|
| 58 | %{_libdir}/librpcsecgss.a |
---|
| 59 | %{_libdir}/librpcsecgss.so |
---|
| 60 | %{_includedir}/rpcsecgss/rpc/auth.h |
---|
| 61 | %{_includedir}/rpcsecgss/rpc/auth_gss.h |
---|
| 62 | %{_includedir}/rpcsecgss/rpc/svc.h |
---|
| 63 | %{_includedir}/rpcsecgss/rpc/svc_auth.h |
---|
| 64 | %{_includedir}/rpcsecgss/rpc/rpc.h |
---|
| 65 | %{_includedir}/rpcsecgss/rpc/rpcsecgss_rename.h |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %changelog |
---|
| 69 | * Sun May 11 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.17-1 |
---|
| 70 | - initial build for Vine Linux |
---|