OBS User unknown 2008-09-15 14:32:21 +00:00 committed by Git OBS Bridge
parent 92fcb37b4c
commit 8f19ee9de1
2 changed files with 50 additions and 11 deletions

View File

@ -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 Wed Sep 3 11:09:34 CEST 2008 - hare@suse.de

View File

@ -26,11 +26,11 @@ BuildRequires: libselinux-devel
%define haver 0.3 %define haver 0.3
# boot.crypto version # boot.crypto version
%define bcver 0_200808131104 %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 Group: System/Base
AutoReqProv: on AutoReqProv: on
Version: 1.0.5_SVNr46 Version: 1.0.5_SVNr46
Release: 50 Release: 56
Summary: Set Up dm-crypt Based Encrypted Block Devices Summary: Set Up dm-crypt Based Encrypted Block Devices
Source: cryptsetup-%{version}.tar.bz2 Source: cryptsetup-%{version}.tar.bz2
Source1: hashalot-%haver.tar.bz2 Source1: hashalot-%haver.tar.bz2
@ -68,14 +68,37 @@ Authors:
Christophe Saout <christophe@saout.de> Christophe Saout <christophe@saout.de>
Ben Slusky <sluskyb@paranoiacs.org> Ben Slusky <sluskyb@paranoiacs.org>
%package devel %package -n libcryptsetup0
License: BSD 3-Clause; GPL v2 or later License: BSD 3-Clause; GPL v2 only; GPL v2 or later
Summary: Set Up dm-crypt Based Encrypted Block Devices Summary: Set Up dm-crypt Based Encrypted Block Devices
Group: System/Base 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 <clemens@endorphin.org>
Christophe Saout <christophe@saout.de>
Ben Slusky <sluskyb@paranoiacs.org>
%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 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 cryptsetup is used to conveniently set up dm-crypt based device-mapper
targets. It allows to set up targets to read cryptoloop compatible targets. It allows to set up targets to read cryptoloop compatible
volumes as well as LUKS formatted ones. The package additionally 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 fi
%post %post
/sbin/ldconfig
[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup [ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
%{fillup_and_insserv boot.crypto} %{fillup_and_insserv boot.crypto}
if [ -e /var/run/cryptsetup.boot.crypto.enabled ]; then if [ -e /var/run/cryptsetup.boot.crypto.enabled ]; then
@ -162,10 +184,15 @@ fi
%{fillup_and_insserv boot.crypto-early} %{fillup_and_insserv boot.crypto-early}
%postun %postun
/sbin/ldconfig
[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup [ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
%{insserv_cleanup} %{insserv_cleanup}
%post -n libcryptsetup0
/sbin/ldconfig
%postun -n libcryptsetup0
/sbin/ldconfig
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -185,16 +212,22 @@ rm -rf $RPM_BUILD_ROOT
%_mandir/man8/cryptsetup.8.gz %_mandir/man8/cryptsetup.8.gz
%_mandir/man5/crypttab.5.gz %_mandir/man5/crypttab.5.gz
%_mandir/man5/cryptotab.5.gz %_mandir/man5/cryptotab.5.gz
/%_lib/libcryptsetup.so.0
/%_lib/libcryptsetup.so.0.0.0
/lib/cryptsetup /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) %defattr(-,root,root)
%_includedir/libcryptsetup.h %_includedir/libcryptsetup.h
%{_libdir}/libcryptsetup.so %{_libdir}/libcryptsetup.so
%changelog %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 * Wed Sep 03 2008 hare@suse.de
- Call mkinitrd_setup during %%post and %%postun (bnc#413709) - Call mkinitrd_setup during %%post and %%postun (bnc#413709)
* Wed Aug 20 2008 mkoenig@suse.de * Wed Aug 20 2008 mkoenig@suse.de