packages: python-keyring/python-keyring.spec (NEW) - new

glen glen at pld-linux.org
Sun Dec 4 15:46:56 CET 2011


Author: glen                         Date: Sun Dec  4 14:46:56 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/python-keyring:
   python-keyring.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-keyring/python-keyring.spec
diff -u /dev/null packages/python-keyring/python-keyring.spec:1.1
--- /dev/null	Sun Dec  4 15:46:56 2011
+++ packages/python-keyring/python-keyring.spec	Sun Dec  4 15:46:51 2011
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+%define 	module	keyring
+Summary:	Python library to access the system keyring service
+Name:		python-%{module}
+Version:	0.5.1
+Release:	1
+Source0:	http://pypi.python.org/packages/source/k/keyring/%{module}-%{version}.tar.gz
+# Source0-md5:	a2f0dcea7185580c163ef2db1f4fbe0c
+License:	Python
+Group:		Development/Libraries
+URL:		http://pypi.python.org/pypi/keyring
+BuildRequires:	python-devel
+BuildRequires:	rpmbuild(macros) >= 1.219
+Obsoletes:	python-keyring-gnome < 0.5.1
+Obsoletes:	python-keyring-kwallet < 0.5.1
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Python keyring lib provides a easy way to access the system
+keyring service from python. It can be used in any application that
+needs safe password storage.
+
+This package only provides file-based pseudo-keyrings. To interface
+with gnome-keyring or KWallet, please install one of
+python-keyring-gnome or python-keyring-kwallet.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt
+%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}-*.egg-info
+%{_examplesdir}/%{name}-%{version}
+
+%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.1  2011/12/04 14:46:51  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list