Blob Blame History Raw
%global git_hash 65c3b3f

Name:          pycanberra
Summary:       A very basic (and incomplete) wrapper for libcanberra
License:       LGPLv2

# There's no versioning upstream, it's all about the Git hash
Version:       0
Release:       0.2.git%{git_hash}%{?dist}


# There aren't any release yet, I'm creating a git snapshot:
#     $ git clone git://
#     $ cd pycanberra
#     $ GIT_HASH=$(git rev-parse --short HEAD)
#     $ git archive --prefix=pycanberra-$GIT_HASH/ --format=tar HEAD | xz > pycanberra-git.$GIT_HASH.tar.xz
Source0:       %{name}-git.%{git_hash}.tar.xz

BuildArch:     noarch

BuildRequires: python2-devel

# This will break at run time when libcanberra bumps its soname :(
Requires:      libcanberra

A very basic (and incomplete) wrapper for libcanberra.

This is necessary until libcanberra gets proper GObject Introspection support.

%setup -q -n pycanberra-%{git_hash}

# Nothing to build

install -d %{buildroot}%{python_sitelib}
install -p -m 0644 %{buildroot}%{python_sitelib}


* Tue Oct 02 2012 Mathieu Bridon <> - 0-0.2.git65c3b3f
- Fix requirement on libcanberra.

* Wed Sep 26 2012 Mathieu Bridon <> - 0-0.1.git65c3b3f
- Initial package for Fedora.