Requires/ldconfig for libcryptmount*

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam_mount?expand=0&rev=39
This commit is contained in:
Jan Engelhardt 2011-12-15 20:07:55 +00:00 committed by Git OBS Bridge
parent b471739227
commit fc051bad8b

View File

@ -18,6 +18,7 @@
Name: pam_mount
%define lname libcryptmount0
Summary: A PAM Module that can Mount Volumes for a User Session
Version: 2.13
Release: 0
@ -64,11 +65,11 @@ volumes are set up properly because often they need more than just a
mount call, such as encrypted volumes. This includes SMB/CIFS, FUSE,
dm-crypt and LUKS.
%package -n libcryptmount0
%package -n %lname
Summary: Library to mount crypto images and handle key files
Group: System/Libraries
%description -n libcryptmount0
%description -n %lname
libcryptmount takes care of the many steps involved in making a
crypto image (file) available as a mountable block device, including
supplemental key file decryption, loop device setup and crypto device
@ -78,6 +79,7 @@ and transparent use of the OS's crypto layer.
%package -n libcryptmount-devel
Summary: Development files for libcryptmount
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description -n libcryptmount-devel
libcryptmount takes care of the many steps involved in making a
@ -131,6 +133,10 @@ then
done
fi
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files
%defattr(-, root, root)
%docdir %_docdir/%name
@ -150,7 +156,7 @@ fi
%policy %_sysconfdir/selinux/strict/src/policy/file_contexts/misc/%name.fc
%endif
%files -n libcryptmount0
%files -n %lname
%defattr(-,root,root)
%_libdir/libcryptmount.so.0*