]> git.pld-linux.org Git - packages/cryptsetup.git/blobdiff - cryptsetup.spec
- 1.0.1 rel 1 - added BR libsepol-static, %{name}-sepol.patch and
[packages/cryptsetup.git] / cryptsetup.spec
index c261418f36d6314e3d0832bd2fb0823f3e0572dd..92b8266f44520303a8afcd27645b38d0b47d69f8 100644 (file)
@@ -1,35 +1,48 @@
-#
-# todo:
-# - static library
-#
-Summary:       LUKS for dm-crypt is implemented in cryptsetup
+Summary:       LUKS for dm-crypt implemented in cryptsetup
+Summary(pl):   LUKS dla dm-crypta zaimplementowany w cryptsetup
 Name:          cryptsetup-luks
-Version:       1.0
-Release:       0.2
+Version:       1.0.1
+Release:       1
 License:       GPL
 Group:         Base
 Source0:       http://luks.endorphin.org/source/%{name}-%{version}.tar.bz2
-# Source0-md5: 62c4bff081e470fb2c9a0f2cb890e613
+# Source0-md5: b2415f67ceed3ad2c7dd2e878cf7787d
+Patch0:                %{name}-sepol.patch
 URL:           http://luks.endorphin.org/about
-BuildRequires: device-mapper-devel
-BuildRequires: libgcrypt-devel >= 1.1.42
-BuildRequires: libuuid-devel
-BuildRequires: popt-devel
-Obsoletes:     cryptsetup
+BuildRequires: device-mapper-static
+BuildRequires: libgcrypt-static >= 1.1.42
+BuildRequires: libgpg-error-static
+BuildRequires: libselinux-static
+BuildRequires: libsepol-static
+BuildRequires: libuuid-static
+BuildRequires: popt-static
 Provides:      cryptsetup
+Obsoletes:     cryptsetup
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sbindir        /sbin
 
 %description
-LUKS is the upcoming standard for Linux hard disk encryption. By providing
-a standard on-disk-format, it does not only facilitate compatibility among
-distributions, but also provide secure management of multiple user
-passwords. In contrast to existing solution, LUKS stores all setup
-necessary setup information in the partition header, enabling the user to
-transport or migrate his data seamlessly.
-
-This package contains implementation of LUKS for dm-crypt implemented in
+LUKS is the upcoming standard for Linux hard disk encryption. By
+providing a standard on-disk-format, it does not only facilitate
+compatibility among distributions, but also provide secure management
+of multiple user passwords. In contrast to existing solution, LUKS
+stores all setup necessary setup information in the partition header,
+enabling the user to transport or migrate his data seamlessly.
+
+This package contains implementation of LUKS for dm-crypt implemented
+in cryptsetup.
+
+%description -l pl
+LUKS to nadchodz±cy standard linuksowego szyfrowania twardego dysku.
+Dostarczaj±c standardowy format danych na dysku nie tylko u³atwia
+utrzymanie kompatybilno¶ci miêdzy dystrybucjami, ale tak¿e dostarcza
+bezpieczne zarz±dzanie wieloma has³ami u¿ytkowników. W przeciwieñstwie
+do istniej±cego rozwi±zania LUKS przechowuje wszystkie potrzebne
+informacje o konfiguracji w nag³ówku partycji, pozwalaj±c
+u¿ytkownikowi przenosiæ lub migrowaæ dane w sposób przezroczysty.
+
+Ten pakiet zawiera implementacjê LUKS dla dm-crytpa zaimplementowan± w
 cryptsetup.
 
 %package devel
@@ -39,8 +52,8 @@ Group:                Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      device-mapper-devel
 Requires:      libgcrypt-devel >= 1.1.42
-Obsoletes:     cryptsetup-devel
 Provides:      cryptsetup-devel
+Obsoletes:     cryptsetup-devel
 
 %description devel
 Header files for cryptsetup library.
@@ -62,10 +75,16 @@ Statyczna wersja biblioteki cryptsetup.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%configure
-#      --enable-static
+%{__autoheader}
+%{__gettextize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
+%configure \
+       --enable-static
 %{__make}
 
 %install
@@ -102,4 +121,4 @@ rm -rf $RPM_BUILD_ROOT
 
 %files static
 %defattr(644,root,root,755)
-#%{_libdir}/libcryptsetup.a
+%{_libdir}/libcryptsetup.a
This page took 0.077518 seconds and 4 git commands to generate.