14
0
forked from pool/python-pymad

Accepting request 578347 from home:alois:branches:devel:languages:python

- Update to version 0.10 (no changelog supplied)
- Converted to single spec
- Dropped pymad-use_python_sys_lib.patch (no longer necessary)
- Spec cleanup
- obsoletes and provides python-mad
- refactored spec file using --record-rpm
- new package

OBS-URL: https://build.opensuse.org/request/show/578347
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymad?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2018-02-20 13:42:08 +00:00
committed by Git OBS Bridge
commit a8b962ab45
5 changed files with 113 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
pymad-0.10.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f3cb83614095cf15205d2ebc344148ae11acb22c85741a94748f614d4c4def1
size 22689

29
python-pymad.changes Normal file
View File

@@ -0,0 +1,29 @@
-------------------------------------------------------------------
Tue Feb 20 12:31:24 UTC 2018 - aloisio@gmx.com
- Update to version 0.10 (no changelog supplied)
- Converted to single spec
- Dropped pymad-use_python_sys_lib.patch (no longer necessary)
- Spec cleanup
-------------------------------------------------------------------
Tue Jul 1 00:00:00 UTC 2008 - guru@unixtech.be
- obsoletes and provides python-mad
-------------------------------------------------------------------
Fri Apr 25 00:00:00 UTC 2008 - guru@unixtech.be
- refactored spec file using --record-rpm
-------------------------------------------------------------------
Fri Dec 28 00:00:00 UTC 2007 - guru@unixtech.be
- new package

57
python-pymad.spec Normal file
View File

@@ -0,0 +1,57 @@
#
# spec file for package python-pymad
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2008 Pascal Bleser <guru@unixtech.be>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pymad
Version: 0.10
Release: 0
Summary: Python Module to use the MPEG Audio Decoder Library
License: LGPL-2.0+
Group: Development/Libraries/Python
URL: http://spacepants.org/src/pymad
Source: https://files.pythonhosted.org/packages/source/p/pymad/pymad-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(mad)
%python_subpackages
%description
pymad is a Python module that allows Python programs to use the MPEG Audio
Decoder library. pymad provides a high-level API, similar to the pyogg module,
allowing to read PCM data from MPEG audio streams.
%prep
%setup -q -n pymad-%{version}
%build
%python_build
%install
%python_install
%check
%python_exec test/test.py
%files %{python_files}
%doc AUTHORS NEWS README.md THANKS
%license COPYING
%{python_sitearch}/*
%changelog