packages: cryptsetup/cryptsetup.spec - renamed back to cryptsetup

glen glen at pld-linux.org
Tue Mar 20 09:17:46 CET 2012


Author: glen                         Date: Tue Mar 20 08:17:46 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- renamed back to cryptsetup

---- Files affected:
packages/cryptsetup:
   cryptsetup.spec (1.58 -> 1.59) 

---- Diffs:

================================================================
Index: packages/cryptsetup/cryptsetup.spec
diff -u packages/cryptsetup/cryptsetup.spec:1.58 packages/cryptsetup/cryptsetup.spec:1.59
--- packages/cryptsetup/cryptsetup.spec:1.58	Sat Nov 12 21:37:00 2011
+++ packages/cryptsetup/cryptsetup.spec	Tue Mar 20 09:17:41 2012
@@ -4,25 +4,24 @@
 %bcond_without	initrd		# don't build initrd version
 %bcond_without	dietlibc	# build initrd version with static glibc instead of dietlibc
 %bcond_without	python		# Python binding
-#
-%define		realname	cryptsetup
+
 Summary:	LUKS for dm-crypt implemented in cryptsetup
 Summary(pl.UTF-8):	LUKS dla dm-crypta zaimplementowany w cryptsetup
-Name:		cryptsetup-luks
+Name:		cryptsetup
 Version:	1.4.1
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Base
 #Source0Download: http://code.google.com/p/cryptsetup/downloads/list
-Source0:	http://cryptsetup.googlecode.com/files/%{realname}-%{version}.tar.bz2
+Source0:	http://cryptsetup.googlecode.com/files/%{name}-%{version}.tar.bz2
 # Source0-md5:	9253b3f29abf5c6f333eb74128b0df1c
-Source1:	%{name}-initramfs-root-conf
-Source2:	%{name}-initramfs-root-hook
-Source3:	%{name}-initramfs-root-local-top
-Source4:	%{name}-initramfs-passdev-hook
-Source5:	%{name}-initramfs-README
-Patch0:		%{name}-diet.patch
-Patch1:		%{name}-dont-drag-more-libs.patch
+Source1:	initramfs-root-conf
+Source2:	initramfs-root-hook
+Source3:	initramfs-root-local-top
+Source4:	initramfs-passdev-hook
+Source5:	initramfs-README
+Patch0:		diet.patch
+Patch1:		dont-drag-more-libs.patch
 URL:		http://code.google.com/p/cryptsetup/
 BuildRequires:	autoconf >= 2.67
 BuildRequires:	automake
@@ -34,6 +33,8 @@
 BuildRequires:	libtool >= 2:2.0
 BuildRequires:	libuuid-devel
 BuildRequires:	popt-devel >= 1.7
+Provides:	cryptsetup-luks = %{version}-%{release}
+Obsoletes:	cryptsetup-luks < 1.4.1-2
 %if %{with python}
 BuildRequires:	python-devel >= 1:2.4
 BuildRequires:	rpm-pythonprov
@@ -42,7 +43,7 @@
 BuildRequires:	libgpg-error-static
 	%if %{with dietlibc}
 BuildRequires:	device-mapper-dietlibc
-BuildRequires:  dietlibc-static
+BuildRequires:	dietlibc-static
 BuildRequires:	libgcrypt-dietlibc
 BuildRequires:	libuuid-dietlibc
 BuildRequires:	popt-dietlibc
@@ -94,7 +95,8 @@
 Requires:	%{name} = %{version}-%{release}
 Requires:	device-mapper-devel
 Requires:	libgcrypt-devel >= 1.1.42
-Obsoletes:	cryptsetup-devel
+Provides:	cryptsetup-luks-devel = %{version}-%{release}
+Obsoletes:	cryptsetup-luks-devel < 1.4.1-2
 
 %description devel
 Header files for cryptsetup library.
@@ -107,7 +109,8 @@
 Summary(pl.UTF-8):	Statyczna biblioteka cryptsetup
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
-Obsoletes:	cryptsetup-static
+Provides:	cryptsetup-luks-static = %{version}-%{release}
+Obsoletes:	cryptsetup-luks-static < 1.4.1-2
 
 %description static
 Static version of cryptsetup library.
@@ -133,6 +136,8 @@
 Summary(pl.UTF-8):	LUKS dla dm-crypta zaimplementowany w cryptsetup - wersja initrd
 Group:		Base
 Requires:	udev-initrd >= 1:115
+Provides:	cryptsetup-luks-initrd = %{version}-%{release}
+Obsoletes:	cryptsetup-luks-initrd < 1.4.1-2
 Conflicts:	geninitrd < 10000.10
 
 %description initrd
@@ -140,8 +145,8 @@
 in cryptsetup - statically linked for initrd.
 
 %description initrd -l pl.UTF-8
-Ten pakiet zawiera implementację LUKS dla dm-crypta zaimplementowaną
-w cryptsetup - wersję statycznie zlinkowaną dla initrd.
+Ten pakiet zawiera implementację LUKS dla dm-crypta zaimplementowaną w
+cryptsetup - wersję statycznie zlinkowaną dla initrd.
 
 %package initramfs
 Summary:	LUKS for dm-crypt implemented in cryptsetup - support scripts for initramfs-tools
@@ -149,21 +154,23 @@
 Group:		Base
 Requires:	%{name} = %{version}-%{release}
 Requires:	initramfs-tools
+Provides:	cryptsetup-luks-initramfs = %{version}-%{release}
+Obsoletes:	cryptsetup-luks-initramfs < 1.4.1-2
 
 %description initramfs
-LUKS for dm-crypt implemented in cryptsetup - support scripts
-for initramfs-tools.
+LUKS for dm-crypt implemented in cryptsetup - support scripts for
+initramfs-tools.
 
 %description initramfs -l pl.UTF-8
 LUKS dla dm-crypta zaimplementowany w cryptsetup - skrypty dla
 initramfs-tools.
 
 %prep
-%setup -q -n %{realname}-%{version}
+%setup -q
 %patch0 -p1
 %patch1 -p1
 
-cp -a %{SOURCE5} README.initramfs
+cp -p %{SOURCE5} README.initramfs
 
 %{__rm} po/stamp-po
 
@@ -242,7 +249,7 @@
 
 %{?with_python:%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/pycryptsetup.{la,a}}
 
-%find_lang %{realname}
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -250,7 +257,7 @@
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
-%files -f %{realname}.lang
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog TODO
 %attr(755,root,root) %{_sbindir}/cryptsetup
@@ -295,6 +302,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.59  2012/03/20 08:17:41  glen
+- renamed back to cryptsetup
+
 Revision 1.58  2011/11/12 20:37:00  qboosh
 - package python binding (as python-pycryptsetup)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cryptsetup/cryptsetup.spec?r1=1.58&r2=1.59&f=u



More information about the pld-cvs-commit mailing list