From 8f19ee9de14b890b85d502263833302a61e50695acb95fa913fea467024ec31e Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 15 Sep 2008 14:32:21 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=18 --- cryptsetup.changes | 6 +++++ cryptsetup.spec | 55 ++++++++++++++++++++++++++++++++++++---------- 2 files changed, 50 insertions(+), 11 deletions(-) diff --git a/cryptsetup.changes b/cryptsetup.changes index 60930b5..364f7c3 100644 --- a/cryptsetup.changes +++ b/cryptsetup.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 12 16:40:03 CEST 2008 - mkoenig@suse.de + +- branch off shlib to subpackage libcryptsetup0 +- rename cryptsetup-devel to libcryptsetup-devel + ------------------------------------------------------------------- Wed Sep 3 11:09:34 CEST 2008 - hare@suse.de diff --git a/cryptsetup.spec b/cryptsetup.spec index 34e3bb6..5367c42 100644 --- a/cryptsetup.spec +++ b/cryptsetup.spec @@ -26,11 +26,11 @@ BuildRequires: libselinux-devel %define haver 0.3 # boot.crypto version %define bcver 0_200808131104 -License: BSD 3-Clause; GPL v2 or later +License: BSD 3-Clause; GPL v2 only; GPL v2 or later Group: System/Base AutoReqProv: on Version: 1.0.5_SVNr46 -Release: 50 +Release: 56 Summary: Set Up dm-crypt Based Encrypted Block Devices Source: cryptsetup-%{version}.tar.bz2 Source1: hashalot-%haver.tar.bz2 @@ -68,14 +68,37 @@ Authors: Christophe Saout Ben Slusky -%package devel -License: BSD 3-Clause; GPL v2 or later +%package -n libcryptsetup0 +License: BSD 3-Clause; GPL v2 only; GPL v2 or later Summary: Set Up dm-crypt Based Encrypted Block Devices Group: System/Base -Requires: %name = %version + +%description -n libcryptsetup0 +cryptsetup is used to conveniently set up dm-crypt based device-mapper +targets. It allows to set up targets to read cryptoloop compatible +volumes as well as LUKS formatted ones. The package additionally +includes support for automatically setting up encrypted volumes at boot +time via the config file /etc/crypttab. + + + +Authors: +-------- + Clemens Fruhwirth + Christophe Saout + Ben Slusky + +%package -n libcryptsetup-devel +License: BSD 3-Clause; GPL v2 only; GPL v2 or later +Summary: Set Up dm-crypt Based Encrypted Block Devices +Group: Development/Libraries/C and C++ +# cryptsetup-devel last used 11.1 +Provides: cryptsetup-devel = %{version} +Obsoletes: cryptsetup-devel < %{version} +Requires: libcryptsetup0 = %{version} Requires: device-mapper-devel libgcrypt-devel libgpg-error-devel e2fsprogs-devel glibc-devel -%description devel +%description -n libcryptsetup-devel cryptsetup is used to conveniently set up dm-crypt based device-mapper targets. It allows to set up targets to read cryptoloop compatible volumes as well as LUKS formatted ones. The package additionally @@ -152,7 +175,6 @@ if [ -f /etc/init.d/boot.d/S??boot.crypto ]; then fi %post -/sbin/ldconfig [ -x /sbin/mkinitrd_setup ] && mkinitrd_setup %{fillup_and_insserv boot.crypto} if [ -e /var/run/cryptsetup.boot.crypto.enabled ]; then @@ -162,10 +184,15 @@ fi %{fillup_and_insserv boot.crypto-early} %postun -/sbin/ldconfig [ -x /sbin/mkinitrd_setup ] && mkinitrd_setup %{insserv_cleanup} +%post -n libcryptsetup0 +/sbin/ldconfig + +%postun -n libcryptsetup0 +/sbin/ldconfig + %clean rm -rf $RPM_BUILD_ROOT @@ -185,16 +212,22 @@ rm -rf $RPM_BUILD_ROOT %_mandir/man8/cryptsetup.8.gz %_mandir/man5/crypttab.5.gz %_mandir/man5/cryptotab.5.gz -/%_lib/libcryptsetup.so.0 -/%_lib/libcryptsetup.so.0.0.0 /lib/cryptsetup -%files devel +%files -n libcryptsetup0 +%defattr(-,root,root) +/%_lib/libcryptsetup.so.0 +/%_lib/libcryptsetup.so.0.0.0 + +%files -n libcryptsetup-devel %defattr(-,root,root) %_includedir/libcryptsetup.h %{_libdir}/libcryptsetup.so %changelog +* Fri Sep 12 2008 mkoenig@suse.de +- branch off shlib to subpackage libcryptsetup0 +- rename cryptsetup-devel to libcryptsetup-devel * Wed Sep 03 2008 hare@suse.de - Call mkinitrd_setup during %%post and %%postun (bnc#413709) * Wed Aug 20 2008 mkoenig@suse.de