Skip to content
Snippets Groups Projects
Verified Commit 674058ae authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Add RPM spec file

parent 2417f044
No related branches found
No related tags found
No related merge requests found
#
# spec file for package python-mmllib
#
# Copyright (c) 2023 Dominik George <nik@naturalnet.de>
#
# 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 https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: mmllib
Version: 1.4
Release: 0
Summary: Modern library for handling Music Macro Language
License: MirOS
Group: Development/Libraries/Python
URL: https://edugit.org/Teckids/hacknfun/libs/mmllib
Source: https://edugit.org/Teckids/hacknfun/libs/mmllib/-/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
MMLlib is a pure Python implementation of functionality related to the
Music Macro Language as implemented by Microsoft® GW-BASIC® and compatibles,
which is its most common form, also implemented by the PC speaker driver in
Linux and BSD, with a number of extensions and changes.
%prep
%autosetup
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest
%post
%postun
%files %{python_files}
%license LICENCE
%doc CHANGELOG.rst MMLFILE.rst README.rst examples/*
%{python_sitelib}/*
%{_bindir}/mml2musicxml
%{_bindir}/mmllint
%changelog
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment