Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions SPECS/python-audioop-lts/python-audioop-lts.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: CHEN Xuan <chenxuan@iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

%global srcname audioop-lts
%global pypi_name audioop_lts

Name: python-%{srcname}
Version: 0.2.2
Release: %autorelease
Summary: An LTS port of the Python builtin module audioop for newer Python versions
License: PSF-2.0
URL: https://github.com/AbstractUmbra/audioop
#!RemoteAsset

Check warning on line 16 in SPECS/python-audioop-lts/python-audioop-lts.spec

View workflow job for this annotation

GitHub Actions / check_remoteasset

#!RemoteAsset: sha256:64d0c62d88e67b98a1a5e71987b7aa7b5bcffc7dcee65b635823dbdd0a8dbbd0
Source0: https://files.pythonhosted.org/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildSystem: pyproject

BuildOption(install): audioop

BuildRequires: pkgconfig(python3)
BuildRequires: python3dist(pytest)

Provides: python3-%{srcname} = %{version}-%{release}
%python_provide python3-%{srcname}

%description
An LTS port of the Python builtin module audioop which was deprecated
since version 3.11 and removed in 3.13.

This project exists to maintain this module for future versions.

%generate_buildrequires
%pyproject_buildrequires

%files -f %{pyproject_files}
%license LICENSE
%doc README.md

%changelog
%autochangelog
51 changes: 51 additions & 0 deletions SPECS/python-audioread/python-audioread.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: CHEN Xuan <chenxuan@iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

%global srcname audioread

Name: python-%{srcname}
Version: 3.1.0
Release: %autorelease
Summary: Multi-library, cross-platform audio decoding in Python
License: MIT
URL: https://github.com/beetbox/audioread
#!RemoteAsset

Check warning on line 15 in SPECS/python-audioread/python-audioread.spec

View workflow job for this annotation

GitHub Actions / check_remoteasset

#!RemoteAsset: sha256:1c4ab2f2972764c896a8ac61ac53e261c8d29f0c6ccd652f84e18f08a4cab190
Source0: https://files.pythonhosted.org/packages/source/a/%{srcname}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: pyproject

BuildOption(install): %{srcname}
# audioread.macca: macOS specific module
BuildOption(check): -e 'audioread.macca'
# audioread.maddec: need pymad, which is deprecated on most distributions
BuildOption(check): -e 'audioread.maddec'

# ffmpeg for test
BuildRequires: ffmpeg
BuildRequires: python3dist(pytest)
BuildRequires: python3dist(pygobject)
BuildRequires: pkgconfig(python3)

Provides: python3-%{srcname} = %{version}-%{release}
%python_provide python3-%{srcname}

%description
Decode audio files using whichever backend is available. Among
currently supports backends are
o Gstreamer via PyGObject
o MAD via the pymad bindings
o FFmpeg or Libav via its command-line interface
o The standard library wave, aifc, and sunau modules

%generate_buildrequires
%pyproject_buildrequires

%files -f %{pyproject_files}
%license LICENSE
%doc README.rst

%changelog
%autochangelog
45 changes: 45 additions & 0 deletions SPECS/python-lazy-loader/python-lazy-loader.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: CHEN Xuan <chenxuan@iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

%global srcname lazy-loader
%global pypi_name lazy_loader

Name: python-%{srcname}
Version: 0.5
Release: %autorelease
Summary: Populate library namespace without incurring immediate import costs
License: BSD-3-Clause
URL: https://github.com/scientific-python/lazy-loader
#!RemoteAsset

Check warning on line 16 in SPECS/python-lazy-loader/python-lazy-loader.spec

View workflow job for this annotation

GitHub Actions / check_remoteasset

#!RemoteAsset: sha256:717f9179a0dbed357012ddad50a5ad3d5e4d9a0b8712680d4e687f5e6e6ed9b3
Source0: https://files.pythonhosted.org/packages/source/l/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: pyproject

BuildOption(install): %{pypi_name}

BuildRequires: python3-devel
BuildRequires: python3dist(pytest)

Provides: python3-%{srcname} = %{version}-%{release}
%python_provide python3-%{srcname}

%description
lazy-loader makes it easy to load subpackages and functions on demand.

Motivation:
• Allow subpackages to be made visible to users without incurring import costs.
• Allow external libraries to be imported only when used, improving import
times.

%generate_buildrequires
%pyproject_buildrequires

%files -f %{pyproject_files}
%license LICENSE.md
%doc README.md

%changelog
%autochangelog
41 changes: 41 additions & 0 deletions SPECS/python-pooch/python-pooch.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: CHEN Xuan <chenxuan@iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

%global srcname pooch

Name: python-%{srcname}
Version: 1.9.0
Release: %autorelease
Summary: A friend to fetch your data files
License: BSD-3-Clause
URL: https://github.com/fatiando/pooch
#!RemoteAsset

Check warning on line 15 in SPECS/python-pooch/python-pooch.spec

View workflow job for this annotation

GitHub Actions / check_remoteasset

#!RemoteAsset: sha256:de46729579b9857ffd3e741987a2f6d5e0e03219892c167c6578c0091fb511ed
Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: pyproject

BuildOption(install): %{srcname}

BuildRequires: pkgconfig(python3)
BuildRequires: python3dist(pytest)

Provides: python3-%{srcname} = %{version}-%{release}
%python_provide python3-%{srcname}

%description
Pooch manages your Python library's sample data files:
it automatically downloads and stores them in a local directory,
with support for versioning and corruption checks.

%generate_buildrequires
%pyproject_buildrequires

%files -f %{pyproject_files}
%license LICENSE.txt
%doc README.md

%changelog
%autochangelog
40 changes: 40 additions & 0 deletions SPECS/python-soxr/python-soxr.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: CHEN Xuan <chenxuan@iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

%global srcname soxr

Name: python-%{srcname}
Version: 1.0.0
Release: %autorelease
Summary: High quality, one-dimensional sample-rate conversion library for Python.
License: LGPL-2.1
URL: https://github.com/dofuuz/python-soxr
#!RemoteAsset

Check warning on line 15 in SPECS/python-soxr/python-soxr.spec

View workflow job for this annotation

GitHub Actions / check_remoteasset

#!RemoteAsset: sha256:e07ee6c1d659bc6957034f4800c60cb8b98de798823e34d2a2bba1caa85a4509
Source0: https://files.pythonhosted.org/packages/source/s/%{srcname}/%{srcname}-%{version}.tar.gz
BuildSystem: pyproject

BuildOption(install): %{srcname}

BuildRequires: cmake
BuildRequires: ninja
BuildRequires: pkgconfig(python3)
BuildRequires: python3dist(pytest)

Provides: python3-%{srcname} = %{version}-%{release}
%python_provide python3-%{srcname}

%description
Python-SoXR is a Python wrapper of libsoxr.

%generate_buildrequires
%pyproject_buildrequires

%files -f %{pyproject_files}
%license LICENSE.txt
%doc README.md

%changelog
%autochangelog
49 changes: 49 additions & 0 deletions SPECS/python-standard-aifc/python-standard-aifc.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: CHEN Xuan <chenxuan@iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

%global srcname standard-aifc
%global pypi_name standard_aifc

Name: python-%{srcname}
Version: 3.13.0
Release: %autorelease
Summary: Read and write audio files in AIFF or AIFC format
License: PSF-2.0
URL: https://github.com/youknowone/python-deadlib
#!RemoteAsset

Check warning on line 16 in SPECS/python-standard-aifc/python-standard-aifc.spec

View workflow job for this annotation

GitHub Actions / check_remoteasset

#!RemoteAsset: sha256:64e249c7cb4b3daf2fdba4e95721f811bde8bdfc43ad9f936589b7bb2fae2e43
Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: pyproject

BuildOption(install): aifc

BuildRequires: pkgconfig(python3)
BuildRequires: python3dist(pytest)

Provides: python3-%{srcname} = %{version}-%{release}
%python_provide python3-%{srcname}

%description
This module provides support for reading and writing AIFF and AIFF-C files. AIFF
is Audio Interchange File Format, a format for storing digital audio samples in a
file. AIFF-C is a newer version of the format that includes the ability to compress
the audio data.

Audio files have a number of parameters that describe the audio data. The sampling
rate or frame rate is the number of times per second the sound is sampled. The number
of channels indicate if the audio is mono, stereo, or quadro. Each frame consists of
one sample per channel. The sample size is the size in bytes of each sample. Thus a
frame consists of nchannels * samplesize bytes, and a second's worth of audio consists
of nchannels * samplesize * framerate bytes.

%generate_buildrequires
%pyproject_buildrequires

%files -f %{pyproject_files}
%doc README.rst

%changelog
%autochangelog
42 changes: 42 additions & 0 deletions SPECS/python-standard-chunk/python-standard-chunk.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: CHEN Xuan <chenxuan@iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

%global srcname standard-chunk
%global pypi_name standard_chunk

Name: python-%{srcname}
Version: 3.13.0
Release: %autorelease
Summary: Module to read IFF chunks.
License: PSF-2.0
URL: https://github.com/youknowone/python-deadlib
#!RemoteAsset

Check warning on line 16 in SPECS/python-standard-chunk/python-standard-chunk.spec

View workflow job for this annotation

GitHub Actions / check_remoteasset

#!RemoteAsset: sha256:4ac345d37d7e686d2755e01836b8d98eda0d1a3ee90375e597ae43aaf064d654
Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: pyproject

BuildOption(install): chunk

BuildRequires: pkgconfig(python3)
BuildRequires: python3dist(pytest)

Provides: python3-%{srcname} = %{version}-%{release}
%python_provide python3-%{srcname}

%description
This module provides an interface for reading files that use EA IFF 85 chunks.
This format is used in at least the Audio Interchange File Format (AIFF/AIFF-C) and
the Real Media File Format (RMFF). The WAVE audio file format is closely related and
can also be read using this module.

%generate_buildrequires
%pyproject_buildrequires

%files -f %{pyproject_files}
%doc README.rst

%changelog
%autochangelog
41 changes: 41 additions & 0 deletions SPECS/python-standard-sunau/python-standard-sunau.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: CHEN Xuan <chenxuan@iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

%global srcname standard-sunau
%global pypi_name standard_sunau

Name: python-%{srcname}
Version: 3.13.0
Release: %autorelease
Summary: Provide an interface to the Sun AU sound format.
License: PSF-2.0
URL: https://github.com/youknowone/python-deadlib
#!RemoteAsset

Check warning on line 16 in SPECS/python-standard-sunau/python-standard-sunau.spec

View workflow job for this annotation

GitHub Actions / check_remoteasset

#!RemoteAsset: sha256:b319a1ac95a09a2378a8442f403c66f4fd4b36616d6df6ae82b8e536ee790908
Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: pyproject

BuildOption(install): sunau

BuildRequires: pkgconfig(python3)
BuildRequires: python3dist(pytest)

Provides: python3-%{srcname} = %{version}-%{release}
%python_provide python3-%{srcname}

%description
The :mod:`sunau` module provides a convenient interface to the Sun AU sound format.
Note that this module is interface-compatible with the modules :mod:`aifc` and
:mod:`wave`.

%generate_buildrequires
%pyproject_buildrequires

%files -f %{pyproject_files}
%doc README.rst

%changelog
%autochangelog
Loading