]>
Commit | Line | Data |
---|---|---|
78cbefa0 | 1 | Summary: Encrypted filesystems support for rc-scripts |
adfcb841 | 2 | Summary(pl.UTF-8): Wsparcie dla szyfrowanych systemów plików do skryptów startowych |
78cbefa0 | 3 | Name: cryptofs-init |
c9b289b0 | 4 | Version: 1.4 |
1f37bff5 | 5 | Release: 2 |
78cbefa0 SZ |
6 | License: GPL |
7 | Group: Base | |
1f37bff5 | 8 | Source0: ftp://ftp.pld-linux.org/software/cryptofs-init/%{name}-%{version}.tar.gz |
cd84eae4 | 9 | # Source0-md5: 650fa5aeb21e8fa62aa7f7b1d76c7a26 |
d5cb87e1 | 10 | Requires(post,preun): /sbin/chkconfig |
c9b289b0 | 11 | Requires: losetup >= 2.11g-3 |
78cbefa0 | 12 | Requires: mount |
7fcbfa2b | 13 | Requires: rc-scripts |
3913bebf | 14 | BuildArch: noarch |
78cbefa0 SZ |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | This package contains a set of scripts to provide easy set up and | |
19 | usage of encrypted filesystems and swap space. | |
20 | ||
6e6aaeb4 JR |
21 | %description -l pl.UTF-8 |
22 | Ten pakiet zawiera zestaw skryptów zapewniający łatwe ustawienie i | |
23 | użytkowanie szyfrowanych systemów plików oraz plików/partycji wymiany | |
78cbefa0 SZ |
24 | |
25 | %prep | |
26 | %setup -q | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | ||
3784d123 PG |
31 | %{__make} install \ |
32 | DESTDIR=$RPM_BUILD_ROOT | |
78cbefa0 | 33 | |
d5cb87e1 JB |
34 | %clean |
35 | rm -rf $RPM_BUILD_ROOT | |
c9b289b0 | 36 | |
78cbefa0 | 37 | %post |
5d014a06 | 38 | /sbin/chkconfig --add cryptofs |
78cbefa0 | 39 | |
5d014a06 | 40 | %postun |
41 | if [ "$1" = "0" ]; then | |
42 | /sbin/chkconfig --del cryptofs | |
43 | fi | |
78cbefa0 | 44 | |
78cbefa0 SZ |
45 | %files |
46 | %defattr(644,root,root,755) | |
d5cb87e1 | 47 | %doc modules.conf cryptofstab.example README |
7fcbfa2b | 48 | %verify(not md5 mtime size) %config(noreplace) %{_sysconfdir}/cryptofstab |
78cbefa0 | 49 | %attr(754,root,root) /etc/rc.d/init.d/cryptofs* |