|
Fabian Affolter |
dbe0f4a |
%global sum Python bindings for the liblo OSC library
|
|
Fabian Affolter |
dbe0f4a |
|
|
|
83905dc |
Name: pyliblo
|
|
Fabian Affolter |
dbe0f4a |
Version: 0.10.0
|
|
|
6596c44 |
Release: 6%{?dist}
|
|
Fabian Affolter |
dbe0f4a |
Summary: %{sum}
|
|
|
83905dc |
|
|
|
83905dc |
License: GPLv2+
|
|
|
83905dc |
URL: http://das.nasophon.de/pyliblo/
|
|
|
83905dc |
Source0: http://das.nasophon.de/download/%{name}-%{version}.tar.gz
|
|
|
83905dc |
|
|
Fabian Affolter |
dbe0f4a |
BuildRequires: python2-devel
|
|
Fabian Affolter |
dbe0f4a |
BuildRequires: python3-devel
|
|
|
0e63e5e |
BuildRequires: python2-setuptools
|
|
|
0e63e5e |
BuildRequires: python3-setuptools
|
|
Fabian Affolter |
e5ef775 |
BuildRequires: Cython
|
|
Fabian Affolter |
e5ef775 |
BuildRequires: python3-Cython
|
|
|
83905dc |
BuildRequires: liblo-devel
|
|
|
83905dc |
|
|
Fabian Affolter |
dbe0f4a |
Provides: %{name} = %{version}-%{release}
|
|
Fabian Affolter |
dbe0f4a |
Obsoletes: %{name} < 0.10.0
|
|
Fabian Affolter |
dbe0f4a |
|
|
|
83905dc |
%description
|
|
|
83905dc |
pyliblo is a Python wrapper for the liblo Open Sound Control library.
|
|
|
83905dc |
It supports almost the complete functionality of liblo, allowing you
|
|
|
83905dc |
to send and receive OSC messages using a nice and simple Python API.
|
|
|
83905dc |
|
|
|
0e63e5e |
Also included are the command line utilities send_osc and dump_osc.
|
|
|
83905dc |
|
|
Fabian Affolter |
dbe0f4a |
%package -n python2-%{name}
|
|
Fabian Affolter |
dbe0f4a |
Summary: %{sum}
|
|
Fabian Affolter |
dbe0f4a |
%{?python_provide:%python_provide python2-%{name}}
|
|
Fabian Affolter |
dbe0f4a |
|
|
Fabian Affolter |
dbe0f4a |
%description -n python2-%{name}
|
|
Fabian Affolter |
dbe0f4a |
pyliblo is a Python wrapper for the liblo Open Sound Control library.
|
|
Fabian Affolter |
dbe0f4a |
It supports almost the complete functionality of liblo, allowing you
|
|
Fabian Affolter |
dbe0f4a |
to send and receive OSC messages using a nice and simple Python API.
|
|
Fabian Affolter |
dbe0f4a |
|
|
|
0e63e5e |
Also included are the command line utilities send_osc and dump_osc.
|
|
Fabian Affolter |
dbe0f4a |
|
|
Fabian Affolter |
dbe0f4a |
%package -n python3-%{name}
|
|
Fabian Affolter |
dbe0f4a |
Summary: %{sum}
|
|
Fabian Affolter |
dbe0f4a |
%{?python_provide:%python_provide python3-%{name}}
|
|
Fabian Affolter |
dbe0f4a |
|
|
Fabian Affolter |
dbe0f4a |
%description -n python3-%{name}
|
|
Fabian Affolter |
dbe0f4a |
pyliblo is a Python wrapper for the liblo Open Sound Control library.
|
|
Fabian Affolter |
dbe0f4a |
It supports almost the complete functionality of liblo, allowing you
|
|
Fabian Affolter |
dbe0f4a |
to send and receive OSC messages using a nice and simple Python API.
|
|
Fabian Affolter |
dbe0f4a |
|
|
|
0e63e5e |
Also included are the command line utilities send_osc and dump_osc.
|
|
Fabian Affolter |
dbe0f4a |
|
|
Fabian Affolter |
0de1389 |
%prep
|
|
Fabian Affolter |
dbe0f4a |
%autosetup -n %{name}-%{version}
|
|
Fabian Affolter |
1fc559f |
find -type f -exec sed -i '1s=^#!/usr/bin/\(python\|env python\)[23]\?=#!%{__python3}=' {} +
|
|
|
83905dc |
|
|
|
0e63e5e |
# Remove shebang and executable bit from example scripts
|
|
|
0e63e5e |
find examples/ -type f -exec sed -i '1s=^#!/usr/bin/\(python\|env python\)[23]\?==' {} +
|
|
|
0e63e5e |
chmod -x examples/*
|
|
|
0e63e5e |
|
|
|
83905dc |
%build
|
|
Fabian Affolter |
dbe0f4a |
%py2_build
|
|
Fabian Affolter |
dbe0f4a |
%py3_build
|
|
|
83905dc |
|
|
|
83905dc |
%install
|
|
Fabian Affolter |
dbe0f4a |
%py2_install
|
|
|
0e63e5e |
|
|
|
0e63e5e |
# delete the Python 2 executable(s) so that the Python 3
|
|
|
0e63e5e |
# version(s) can take their place afterwards.
|
|
|
0e63e5e |
rm %{buildroot}%{_bindir}/*
|
|
|
0e63e5e |
|
|
Fabian Affolter |
dbe0f4a |
%py3_install
|
|
|
83905dc |
|
|
Fabian Affolter |
dbe0f4a |
%files -n python2-%{name}
|
|
Fabian Affolter |
9c32da9 |
%doc NEWS README examples/
|
|
Fabian Affolter |
6d1b359 |
%license COPYING
|
|
Fabian Affolter |
dbe0f4a |
%{_mandir}/man*/*.*
|
|
Fabian Affolter |
0de1389 |
%{python2_sitearch}/liblo.so
|
|
Fabian Affolter |
0de1389 |
%{python2_sitearch}/%{name}*.egg-info
|
|
Fabian Affolter |
dbe0f4a |
|
|
Fabian Affolter |
dbe0f4a |
%files -n python3-%{name}
|
|
Fabian Affolter |
9c32da9 |
%doc NEWS README examples/
|
|
Fabian Affolter |
6d1b359 |
%license COPYING
|
|
|
83905dc |
%{_mandir}/man*/*.*
|
|
|
83905dc |
%{_bindir}/*_osc
|
|
Fabian Affolter |
7173195 |
%{python3_sitearch}/liblo*.so
|
|
Fabian Affolter |
0de1389 |
%{python3_sitearch}/%{name}*.egg-info
|
|
|
83905dc |
|
|
|
83905dc |
%changelog
|
|
|
6596c44 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-6
|
|
|
6596c44 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
6596c44 |
|
|
|
8485096 |
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 0.10.0-5
|
|
|
8485096 |
- Rebuild for Python 3.6
|
|
|
8485096 |
|
|
|
0e63e5e |
* Tue Aug 30 2016 Lumir Balhar <lbalhar@redhat.com> - 0.10.0-4
|
|
|
0e63e5e |
- Fix shebang and command line utils (rhbz#1348532)
|
|
|
0e63e5e |
|
|
|
4ad5e87 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-3
|
|
|
4ad5e87 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
4ad5e87 |
|
|
Fabian Affolter |
1fc559f |
* Mon Jun 27 2016 Fabian Affolter <mail@fabian-affolter.ch> - 0.10.0-2
|
|
Fabian Affolter |
1fc559f |
- Change shebang (rhbz#1348532)
|
|
Fabian Affolter |
1fc559f |
|
|
Fabian Affolter |
dbe0f4a |
* Sat Apr 30 2016 Fabian Affolter <mail@fabian-affolter.ch> - 0.10.0-1
|
|
Fabian Affolter |
dbe0f4a |
- py3 support (rhbz#1322496)
|
|
Fabian Affolter |
dbe0f4a |
- Update to new upstream version 0.10.0
|
|
Fabian Affolter |
dbe0f4a |
|
|
|
2a8e6d4 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-11
|
|
|
2a8e6d4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
2a8e6d4 |
|
|
|
a910834 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-10
|
|
|
a910834 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
a910834 |
|
|
|
770e5ab |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-9
|
|
|
770e5ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
770e5ab |
|
|
|
64c695e |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-8
|
|
|
64c695e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
64c695e |
|
|
|
a7fdcfe |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-7
|
|
|
a7fdcfe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
a7fdcfe |
|
|
|
778b501 |
* Wed Jun 26 2013 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.1-6
|
|
|
778b501 |
- Spec file updated
|
|
|
778b501 |
|
|
|
e91bbcf |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-5
|
|
|
e91bbcf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
e91bbcf |
|
|
|
9989ad1 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-4
|
|
|
9989ad1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
9989ad1 |
|
|
|
8667bb2 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
|
|
|
8667bb2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
8667bb2 |
|
|
|
0ee4874 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-2
|
|
|
0ee4874 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
0ee4874 |
|
|
|
778b501 |
* Sun Jan 30 2011 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.1-1
|
|
Fabian Affolter |
32e933d |
- Update to new upstream version 0.9.1
|
|
Fabian Affolter |
32e933d |
|
|
|
778b501 |
* Sun Nov 21 2010 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.0-2
|
|
Fabian Affolter |
4906ca0 |
- Switched to Cython
|
|
Fabian Affolter |
4906ca0 |
|
|
|
778b501 |
* Sun Nov 21 2010 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.0-1
|
|
Fabian Affolter |
2738981 |
- Update to new upstream version 0.9.0
|
|
Fabian Affolter |
2738981 |
|
|
|
b5697b6 |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.8.1-3
|
|
|
b5697b6 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
b5697b6 |
|
|
|
778b501 |
* Tue Jul 20 2010 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.1-2
|
|
|
54a52d2 |
- Rebuild for new liblo
|
|
|
54a52d2 |
|
|
|
778b501 |
* Mon Mar 15 2010 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.1-1
|
|
|
893b931 |
- Update to new upstream version 0.8.1
|
|
|
893b931 |
|
|
|
778b501 |
* Mon Sep 14 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.0-1
|
|
|
0d34533 |
- Update to new upstream version 0.8.0
|
|
|
0d34533 |
|
|
|
778b501 |
* Mon Aug 10 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.2-2
|
|
|
83905dc |
- Improved description
|
|
|
83905dc |
- Changed optflags style
|
|
|
83905dc |
- Removed comment
|
|
|
83905dc |
|
|
|
778b501 |
* Sat Apr 25 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.2-1
|
|
|
83905dc |
- Initial package for Fedora
|