Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mmllib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Teckids
Projekt Hack-n-Fun
Libs
mmllib
Commits
674058ae
Verified
Commit
674058ae
authored
1 year ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Add RPM spec file
parent
2417f044
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mmllib.spec
+63
-0
63 additions, 0 deletions
mmllib.spec
with
63 additions
and
0 deletions
mmllib.spec
0 → 100644
+
63
−
0
View file @
674058ae
#
# 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment