Группа :: Other
Пакет: python3-module-canberra
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Group: Other
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-python3
# END SourceDeps(oneline)
%define oldname pycanberra
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%global commit 88c53cd44a626ede3b07dab0b548f8bcfda42867
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: python3-module-canberra
Summary: A very basic (and incomplete) wrapper for libcanberra
URL: https://github.com/psykoyiko/pycanberra/
License: LGPLv2
# There's no versioning upstream, it's all about the Git hash
Version: 0
Release: alt3_0.22.git88c53cd
# There aren't any release yet, I'm downloading straight from the last commit
Source0: https://github.com/psykoyiko/pycanberra/archive/%{commit}/%{oldname}-%{version}-%{shortcommit}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
# This will break at run time when libcanberra bumps its soname :(
Requires: libcanberra
Source44: import.info
%description
A very basic (and incomplete) wrapper of libcanberra for Python 2.
%prep
%setup -n pycanberra-%{commit}
%build
# Nothing to build
%install
install -D -p -m 0644 pycanberra.py -t %{buildroot}%{python3_sitelibdir_noarch}/
%files
%doc COPYING README
%{python3_sitelibdir_noarch}/pycanberra.py
%{python3_sitelibdir_noarch}/__pycache__/*
%changelog
…
Полный changelog можно просмотреть здесь
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-python3
# END SourceDeps(oneline)
%define oldname pycanberra
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%global commit 88c53cd44a626ede3b07dab0b548f8bcfda42867
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: python3-module-canberra
Summary: A very basic (and incomplete) wrapper for libcanberra
URL: https://github.com/psykoyiko/pycanberra/
License: LGPLv2
# There's no versioning upstream, it's all about the Git hash
Version: 0
Release: alt3_0.22.git88c53cd
# There aren't any release yet, I'm downloading straight from the last commit
Source0: https://github.com/psykoyiko/pycanberra/archive/%{commit}/%{oldname}-%{version}-%{shortcommit}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
# This will break at run time when libcanberra bumps its soname :(
Requires: libcanberra
Source44: import.info
%description
A very basic (and incomplete) wrapper of libcanberra for Python 2.
%prep
%setup -n pycanberra-%{commit}
%build
# Nothing to build
%install
install -D -p -m 0644 pycanberra.py -t %{buildroot}%{python3_sitelibdir_noarch}/
%files
%doc COPYING README
%{python3_sitelibdir_noarch}/pycanberra.py
%{python3_sitelibdir_noarch}/__pycache__/*
%changelog
…
Полный changelog можно просмотреть здесь