540aa3b
%global commit 88c53cd44a626ede3b07dab0b548f8bcfda42867
540aa3b
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Mathieu Bridon b3be075
Mathieu Bridon b3be075
Name:          pycanberra
Mathieu Bridon b3be075
Summary:       A very basic (and incomplete) wrapper for libcanberra
540aa3b
URL:           https://github.com/psykoyiko/pycanberra/
Mathieu Bridon b3be075
License:       LGPLv2
Mathieu Bridon b3be075
Mathieu Bridon b3be075
# There's no versioning upstream, it's all about the Git hash
Mathieu Bridon b3be075
Version:       0
0940d36
Release:       0.19.git%{shortcommit}%{?dist}
Mathieu Bridon b3be075
540aa3b
# There aren't any release yet, I'm downloading straight from the last commit
540aa3b
Source0:       https://github.com/psykoyiko/pycanberra/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
Mathieu Bridon 3576ac4
Mathieu Bridon b3be075
BuildArch:     noarch
Mathieu Bridon b3be075
Mathieu Bridon 3576ac4
BuildRequires: python3-devel
Mathieu Bridon b3be075
Mathieu Bridon 1ae0aae
# This will break at run time when libcanberra bumps its soname :(
Mathieu Bridon 1ae0aae
Requires:      libcanberra
Mathieu Bridon b3be075
Mathieu Bridon b3be075
%description
Mathieu Bridon 3576ac4
A very basic (and incomplete) wrapper of libcanberra for Python 2.
Mathieu Bridon 3576ac4
Mathieu Bridon b3be075
Mathieu Bridon 3576ac4
%package -n python3-canberra
Mathieu Bridon 3576ac4
Summary:       A very basic (and incomplete) wrapper for libcanberra
Mathieu Bridon 3576ac4
Mathieu Bridon 3576ac4
%description -n python3-canberra
Mathieu Bridon 3576ac4
A very basic (and incomplete) wrapper of libcanberra for Python 3.
Mathieu Bridon b3be075
Mathieu Bridon b3be075
Mathieu Bridon b3be075
%prep
540aa3b
%setup -q -n pycanberra-%{commit}
Mathieu Bridon 3576ac4
Mathieu Bridon b3be075
Mathieu Bridon b3be075
%build
Mathieu Bridon b3be075
# Nothing to build
Mathieu Bridon b3be075
Mathieu Bridon b3be075
Mathieu Bridon b3be075
%install
f88d1fb
install -D -p -m 0644 pycanberra.py -t %{buildroot}%{python3_sitelib}/
Mathieu Bridon b3be075
Mathieu Bridon b3be075
Mathieu Bridon 3576ac4
%files -n python3-canberra
Mathieu Bridon 3576ac4
%doc COPYING README
Mathieu Bridon 3576ac4
%{python3_sitelib}/pycanberra.py
Orion Poplawski 0cd5f56
%{python3_sitelib}/__pycache__/*
Mathieu Bridon 3576ac4
Mathieu Bridon 3576ac4
Mathieu Bridon b3be075
%changelog
0940d36
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.19.git88c53cd
0940d36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
0940d36
f88d1fb
* Wed Oct 31 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0-0.18.git.git88c53cd
f88d1fb
- Drop python2 subpackage (#1625773)
f88d1fb
9410368
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.17.git88c53cd
9410368
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9410368
a4cdfa4
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0-0.16.git88c53cd
a4cdfa4
- Rebuilt for Python 3.7
a4cdfa4
49c9a15
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.15.git88c53cd
49c9a15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
49c9a15
0a998c3
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.14.git88c53cd
0a998c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0a998c3
70ebd18
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.13.git88c53cd
70ebd18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
70ebd18
9b54454
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0-0.12.git88c53cd
9b54454
- Rebuild for Python 3.6
9b54454
c467c51
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.11.git88c53cd
c467c51
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
c467c51
bc2b686
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.10.git88c53cd
bc2b686
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bc2b686
Orion Poplawski 0cd5f56
* Tue Nov 10 2015 Orion Poplawski <orion@cora.nwra.com> - 0-0.9.git88c53cd
Orion Poplawski 0cd5f56
- Fix files for python3.5
Orion Poplawski 0cd5f56
e675e71
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.9.git88c53cd
e675e71
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
e675e71
540aa3b
* Thu Sep 10 2015 Mathieu Bridon <bochecha@daitauha.fr> - 0-0.8.git65c3b3f
540aa3b
- New snapshot from master.
540aa3b
ef17b6a
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.7.git65c3b3f
ef17b6a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ef17b6a
d435105
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.6.git65c3b3f
d435105
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d435105
e998192
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0-0.5.git65c3b3f
e998192
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
e998192
eafcd35
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.4.git65c3b3f
eafcd35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
eafcd35
Mathieu Bridon 3576ac4
* Wed Feb 06 2013 Mathieu Bridon <bochecha@fedoraproject.org> - 0-0.3.git65c3b3f
Mathieu Bridon 3576ac4
- Add a python3 subpackage.
Mathieu Bridon 3576ac4
Mathieu Bridon 1ae0aae
* Tue Oct 02 2012 Mathieu Bridon <bochecha@fedoraproject.org> - 0-0.2.git65c3b3f
Mathieu Bridon 1ae0aae
- Fix requirement on libcanberra.
Mathieu Bridon 1ae0aae
Mathieu Bridon b3be075
* Wed Sep 26 2012 Mathieu Bridon <bochecha@fedoraproject.org> - 0-0.1.git65c3b3f
Mathieu Bridon b3be075
- Initial package for Fedora.