blob: 4ba09a522b38940120cd8487059fff4b8e41c644 (
plain)
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
|
Summary: Encrypted filesystems support for rc-scripts
Summary(pl.UTF-8): Wsparcie dla szyfrowanych systemów plików do skryptów startowych
Name: cryptofs-init
Version: 1.4
Release: 2
License: GPL
Group: Base
Source0: ftp://ftp.pld-linux.org/software/cryptofs-init/%{name}-%{version}.tar.gz
# Source0-md5: 650fa5aeb21e8fa62aa7f7b1d76c7a26
Requires(post,preun): /sbin/chkconfig
Requires: losetup >= 2.11g-3
Requires: mount
Requires: rc-scripts
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
This package contains a set of scripts to provide easy set up and
usage of encrypted filesystems and swap space.
%description -l pl.UTF-8
Ten pakiet zawiera zestaw skryptów zapewniający łatwe ustawienie i
użytkowanie szyfrowanych systemów plików oraz plików/partycji wymiany
%prep
%setup -q
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/chkconfig --add cryptofs
%postun
if [ "$1" = "0" ]; then
/sbin/chkconfig --del cryptofs
fi
%files
%defattr(644,root,root,755)
%doc modules.conf cryptofstab.example README
%verify(not md5 mtime size) %config(noreplace) %{_sysconfdir}/cryptofstab
%attr(754,root,root) /etc/rc.d/init.d/cryptofs*
|