|
|
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
|
|
|
bc2b686 |
Release: 0.10.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 |
b3be075 |
BuildRequires: python2-devel
|
|
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
|
|
Mathieu Bridon |
b3be075 |
install -d %{buildroot}%{python_sitelib}
|
|
Mathieu Bridon |
b3be075 |
install -p -m 0644 pycanberra.py %{buildroot}%{python_sitelib}
|
|
Mathieu Bridon |
b3be075 |
|
|
Mathieu Bridon |
3576ac4 |
install -d %{buildroot}%{python3_sitelib}
|
|
Mathieu Bridon |
3576ac4 |
install -p -m 0644 pycanberra.py %{buildroot}%{python3_sitelib}
|
|
Mathieu Bridon |
3576ac4 |
|
|
Mathieu Bridon |
b3be075 |
|
|
Mathieu Bridon |
b3be075 |
%files
|
|
Mathieu Bridon |
b3be075 |
%doc COPYING README
|
|
Mathieu Bridon |
b3be075 |
%{python_sitelib}/pycanberra.py*
|
|
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
|
|
|
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.
|