]> git.pld-linux.org Git - packages/cryptofs-init.git/blob - cryptofs-init.spec
- reverting last change: removing new macros from %p{re,ost}{,un}
[packages/cryptofs-init.git] / cryptofs-init.spec
1 Summary:        Encrypted filesystems support for rc-scripts
2 Summary(pl):    Wsparcie dla szyfrowanych systemów plików do skryptów startowych
3 Name:           cryptofs-init
4 Version:        1.2
5 Release:        1
6 License:        GPL
7 Group:          Base
8 Group(de):      Gründsätzlich
9 Group(pl):      Podstawowe
10 Source0:        ftp://ftp.pld.org.pl/software/cryptofs-init/%{name}-%{version}.tar.gz
11 Requires:       losetup
12 Requires:       mount
13 Prereq:         rc-scripts
14 Prereq:         /sbin/chkconfig
15 Buildarch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This package contains a set of scripts to provide easy set up and
20 usage of encrypted filesystems and swap space.
21
22 %description -l pl
23 Ten pakiet zawiera zestaw skryptów zapewniaj±cy ³atwe ustawienie i
24 u¿ytkowanie szyfrowanych systemów plików oraz plików/partycji wymiany
25
26 %prep
27 %setup -q
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31
32 %{__make} install DESTDIR=$RPM_BUILD_ROOT
33
34 gzip -9nf modules.conf cryptofstab.example README
35
36 %post
37 /sbin/chkconfig --add cryptofs
38
39 %postun
40 if [ "$1" = "0" ]; then
41         /sbin/chkconfig --del cryptofs
42 fi
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc *.gz
50 %verify(not size mtime md5) %config(noreplace) %{_sysconfdir}/cryptofstab
51 %attr(754,root,root) /etc/rc.d/init.d/cryptofs*
This page took 0.049866 seconds and 4 git commands to generate.