[packages/pycarddav] - Init commit

blues blues at pld-linux.org
Wed Mar 13 09:06:13 CET 2013


commit 06598889b682e942d0bbe20d7b388f37eaf5cfa0
Author: Paweł Gołaszewski <blues at pld-linux.org>
Date:   Wed Mar 13 09:04:59 2013 +0100

    - Init commit

 pycarddav.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)
---
diff --git a/pycarddav.spec b/pycarddav.spec
new file mode 100644
index 0000000..db7576a
--- /dev/null
+++ b/pycarddav.spec
@@ -0,0 +1,56 @@
+Summary:	pyCardDAV - CardDAV CLI client
+Name:		pycarddav
+Version:	0.4
+Release:	1
+License:	Expat/MIT License
+Group:		Networking/Mail
+Source0:	http://lostpackets.de/pycarddav/downloads/%{name}-%{version}.tar.gz
+# Source0-md5:	29a900555a0cb737af50c94f9ed050e3
+URL:		http://lostpackets.de/pycarddav/
+BuildRequires:	python-devel
+%pyrequires_eq	python-modules
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+pyCardDAV is a simple to use CardDAV CLI client. It has built in
+support for mutt's query_command but also works very well solo.
+
+pyCardDAV consists of pycardsyncer, a program for syncing your
+CardDAV resource into a local database and of pc_query, a program for
+querying the local database. pyCardDAV is some ugly python code
+(actually, it's not that bad anymore…) that holds together vobject,
+lxml, requests and pysqlite .
+
+Features/limitations:
+- only use one address book resource at the moment
+- tested against davical, owncloud and sabredav
+- import the sender's address directly from mutt
+- backup and import to/from .vcf files
+- email addresses directly from mutt
+- understands VCard 3.0
+- python 3 not compatible yet
+
+%prep
+%setup -q
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+	--optimize=2 \
+	--root $RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/pycarddav/*.py
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG COPYING NEWS pycard.conf.sample README.rst requirements.txt tests
+%attr(755,root,root) %{_bindir}/*
+%dir %{py_sitescriptdir}/pycarddav
+%{py_sitescriptdir}/pycarddav/*.py[co]
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pycarddav.git/commitdiff/06598889b682e942d0bbe20d7b388f37eaf5cfa0



More information about the pld-cvs-commit mailing list