%global sum Python bindings for the liblo OSC library Name: pyliblo Version: 0.10.0 Release: 16%{?dist} Summary: %{sum} License: GPLv2+ URL: http://das.nasophon.de/pyliblo/ Source0: http://das.nasophon.de/download/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-Cython BuildRequires: liblo-devel Provides: %{name} = %{version}-%{release} Obsoletes: %{name} < 0.10.0 %description pyliblo is a Python wrapper for the liblo Open Sound Control library. It supports almost the complete functionality of liblo, allowing you to send and receive OSC messages using a nice and simple Python API. Also included are the command line utilities send_osc and dump_osc. %package -n python3-%{name} Summary: %{sum} %{?python_provide:%python_provide python3-%{name}} %description -n python3-%{name} pyliblo is a Python wrapper for the liblo Open Sound Control library. It supports almost the complete functionality of liblo, allowing you to send and receive OSC messages using a nice and simple Python API. Also included are the command line utilities send_osc and dump_osc. %prep %autosetup -n %{name}-%{version} find -type f -exec sed -i '1s=^#!/usr/bin/\(python\|env python\)[23]\?=#!%{__python3}=' {} + # Remove shebang and executable bit from example scripts find examples/ -type f -exec sed -i '1s=^#!/usr/bin/\(python\|env python\)[23]\?==' {} + chmod -x examples/* %build %py3_build %install %py3_install %files -n python3-%{name} %doc NEWS README examples/ %license COPYING %{_mandir}/man*/*.* %{_bindir}/*_osc %{python3_sitearch}/liblo*.so %{python3_sitearch}/%{name}*.egg-info %changelog * Thu Jan 30 2020 Fedora Release Engineering - 0.10.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Aug 19 2019 Miro Hrončok - 0.10.0-15 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.10.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.10.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jan 15 2019 Miro Hrončok - 0.10.0-12 - Subpackage python2-pyliblo has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Fri Jul 13 2018 Fedora Release Engineering - 0.10.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.10.0-10 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.10.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.10.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.10.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.10.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.10.0-5 - Rebuild for Python 3.6 * Tue Aug 30 2016 Lumir Balhar - 0.10.0-4 - Fix shebang and command line utils (rhbz#1348532) * Tue Jul 19 2016 Fedora Release Engineering - 0.10.0-3 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Mon Jun 27 2016 Fabian Affolter - 0.10.0-2 - Change shebang (rhbz#1348532) * Sat Apr 30 2016 Fabian Affolter - 0.10.0-1 - py3 support (rhbz#1322496) - Update to new upstream version 0.10.0 * Thu Feb 04 2016 Fedora Release Engineering - 0.9.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.9.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.9.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.9.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.9.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jun 26 2013 Fabian Affolter - 0.9.1-6 - Spec file updated * Thu Feb 14 2013 Fedora Release Engineering - 0.9.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 0.9.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 0.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Jan 30 2011 Fabian Affolter - 0.9.1-1 - Update to new upstream version 0.9.1 * Sun Nov 21 2010 Fabian Affolter - 0.9.0-2 - Switched to Cython * Sun Nov 21 2010 Fabian Affolter - 0.9.0-1 - Update to new upstream version 0.9.0 * Wed Jul 21 2010 David Malcolm - 0.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Tue Jul 20 2010 Fabian Affolter - 0.8.1-2 - Rebuild for new liblo * Mon Mar 15 2010 Fabian Affolter - 0.8.1-1 - Update to new upstream version 0.8.1 * Mon Sep 14 2009 Fabian Affolter - 0.8.0-1 - Update to new upstream version 0.8.0 * Mon Aug 10 2009 Fabian Affolter - 0.7.2-2 - Improved description - Changed optflags style - Removed comment * Sat Apr 25 2009 Fabian Affolter - 0.7.2-1 - Initial package for Fedora