Hello community,

here is the log from the commit of package pycarddav for openSUSE:Factory 
checked in at 2013-07-08 12:36:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pycarddav (Old)
 and      /work/SRC/openSUSE:Factory/.pycarddav.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pycarddav"

Changes:
--------
New Changes file:

--- /dev/null   2013-07-02 09:26:14.908030755 +0200
+++ /work/SRC/openSUSE:Factory/.pycarddav.new/pycarddav.changes 2013-07-08 
12:36:36.000000000 +0200
@@ -0,0 +1,10 @@
+-------------------------------------------------------------------
+Wed Jul  3 07:20:15 UTC 2013 - g...@opensuse.org
+
+- package example configuration
+
+-------------------------------------------------------------------
+Tue Jul  2 15:42:58 UTC 2013 - g...@opensuse.org
+
+- initial packaging
+

New:
----
  pyCardDAV-0.5.0.tar.gz
  pycarddav.changes
  pycarddav.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pycarddav.spec ++++++
#
# spec file for package pycarddav
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Guido Berhoerster <g...@opensuse.org>.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

%define orig_name pyCardDAV

Name:           pycarddav
Version:        0.5.0
Release:        1
License:        MIT
Summary:        Simple to Use CardDAV CLI Client
Url:            http://lostpackets.de/pycarddav/
Group:          Productivity/Networking/Other
Source:         
http://lostpackets.de/pycarddav/downloads/%{orig_name}-%{version}.tar.gz
BuildRequires:  ed
BuildRequires:  python-devel
BuildRequires:  python-distribute
BuildRequires:  python-lxml
BuildRequires:  vobject
BuildRequires:  python-requests
BuildRequires:  python-urwid
BuildRequires:  python-xdg
Requires:       python-lxml
Requires:       vobject
Requires:       python-requests
Requires:       python-urwid
Requires:       python-xdg
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%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.

%prep
%setup -q -n %{orig_name}-%{version}

# fix the shebang for executable scripts
find bin/ -print -exec sh -c '
ed -s "$1" 2>/dev/null <<\EOF
s/^#!\/usr\/bin\/env .*$/#!\/usr\/bin\/python/
w
EOF
' {} {} \;

# remove shebang from non-executables
find pycarddav/ -name '*.py' -print -exec sh -c '
ed -s "$1" 2>/dev/null <<\EOF
/^#!\/usr\/bin\/env/d
w
EOF
' {} {} \;

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%files
%defattr(-,root,root)
%doc CHANGELOG CONTRIBUTING.txt CONTRIBUTORS.txt COPYING NEWS.txt README.rst 
pycard.conf.sample
%{python_sitelib}/%{orig_name}-%{version}-py%{py_ver}.egg-info
%{python_sitelib}/%{name}
%{_bindir}/pc_query
%{_bindir}/pycard-import
%{_bindir}/pycardsyncer

%changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to