packages: ecryptfs-utils/ecryptfs-utils.spec - unified python package name ...

qboosh qboosh at pld-linux.org
Thu Feb 3 17:32:21 CET 2011


Author: qboosh                       Date: Thu Feb  3 16:32:21 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- unified python package name (python-ecryptfs instead of -python)
- check-files cleanup and pl desc for python-
- updated deps; now it uses nss instead of libgcrypt

---- Files affected:
packages/ecryptfs-utils:
   ecryptfs-utils.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: packages/ecryptfs-utils/ecryptfs-utils.spec
diff -u packages/ecryptfs-utils/ecryptfs-utils.spec:1.19 packages/ecryptfs-utils/ecryptfs-utils.spec:1.20
--- packages/ecryptfs-utils/ecryptfs-utils.spec:1.19	Wed Feb  2 23:57:01 2011
+++ packages/ecryptfs-utils/ecryptfs-utils.spec	Thu Feb  3 17:32:16 2011
@@ -15,15 +15,16 @@
 BuildRequires:	gpgme-devel
 BuildRequires:	intltool >= 0.41.0
 BuildRequires:	keyutils-devel >= 1.0
-BuildRequires:	libgcrypt-devel >= 1.2.0
 BuildRequires:	libtool
+BuildRequires:	nss-devel >= 3
 BuildRequires:	openssl-devel >= 0.9.7
 BuildRequires:	pam-devel
 BuildRequires:	perl-tools-pod
 BuildRequires:	pkcs11-helper-devel >= 1.04
 BuildRequires:	pkgconfig
-BuildRequires:	python-devel
-BuildRequires:	swig
+BuildRequires:	python-devel >= 1:2.5
+BuildRequires:	rpmbuild(macros) >= 1.219
+BuildRequires:	swig >= 1.3.31
 BuildRequires:	trousers-devel
 Requires:	uname(release) >= 2.6.19
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -53,7 +54,7 @@
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	keyutils-devel >= 1.0
-Requires:	libgcrypt-devel >= 1.2.0
+Requires:	nss-devel >= 3
 
 %description devel
 Userspace development files for eCryptfs.
@@ -74,26 +75,33 @@
 Statyczna biblioteka eCryptfs.
 
 %package -n pam-pam_ecryptfs
-Summary:	A PAM module - ecryptfs
-Summary(pl.UTF-8):	Moduł PAM ecryptfs
+Summary:	eCryptfs PAM module
+Summary(pl.UTF-8):	Moduł PAM eCryptfs
 Group:		Base
 Requires:	%{name} = %{version}-%{release}
 
 %description -n pam-pam_ecryptfs
-A PAM module - ecryptfs.
+eCryptfs PAM module.
 
 %description -n pam-pam_ecryptfs -l pl.UTF-8
-Moduł PAM ecryptfs.
+Moduł PAM eCryptfs.
 
-%package python
+%package -n python-ecryptfs
 Summary:	Python bindings for the eCryptfs utils
-Group:		Base
+Summary(pl.UTF-8):	Wiązania Pythona do narzędzi eCryptfs
+Group:		Libraries/Python
 Requires:	%{name} = %{version}-%{release}
+Obsoletes:	ecryptfs-utils-python
 
-%description python
-The ecryptfs-utils-python package contains a module that permits
-applications written in the Python programming language to use the
-interface supplied by the ecryptfs-utils library.
+%description -n python-ecryptfs
+This package contains a module that permits applications written in
+the Python programming language to use the interface supplied by the
+ecryptfs-utils library.
+
+%description -n python-ecryptfs -l pl.UTF-8
+Ten pakiet zawiera moduł pozwalający aplikacjom napisanym w Pythonie
+na korzystanie z interfejsu dostarczanego przez bibliotekę
+ecryptfs-utils.
 
 %prep
 %setup -q
@@ -121,6 +129,9 @@
 %{__make} -j1 install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/%{name}/_libecryptfs.{la,a}
+%py_postclean
+
 %find_lang %{name}
 
 %clean
@@ -131,7 +142,7 @@
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS NEWS README THANKS doc/{ecryptfs-faq.html,ecryptfs-pkcs11-helper-doc.txt}
+%doc AUTHORS ChangeLog NEWS README THANKS doc/{ecryptfs-faq.html,ecryptfs-pkcs11-helper-doc.txt}
 %attr(755,root,root) /sbin/mount.ecryptfs
 %attr(755,root,root) /sbin/mount.ecryptfs_private
 %attr(755,root,root) /sbin/umount.ecryptfs_private
@@ -173,19 +184,24 @@
 %attr(755,root,root) /%{_lib}/security/pam_ecryptfs.so
 %{_mandir}/man8/pam_ecryptfs.8*
 
-%files python
+%files -n python-ecryptfs
 %defattr(644,root,root,755)
+%dir %{py_sitedir}/%{name}
 %attr(755,root,root) %{py_sitedir}/%{name}/_libecryptfs.so*
 %dir %{py_sitescriptdir}/%{name}
 %{py_sitescriptdir}/%{name}/*.py[co]
 
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2011/02/03 16:32:16  qboosh
+- unified python package name (python-ecryptfs instead of -python)
+- check-files cleanup and pl desc for python-
+- updated deps; now it uses nss instead of libgcrypt
+
 Revision 1.19  2011/02/02 22:57:01  arekm
 up to 85
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ecryptfs-utils/ecryptfs-utils.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list