Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
:
testing
>
python3-mutagen
> python3-mutagen.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python3-mutagen.spec of Package python3-mutagen
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.32 # Name: python3-mutagen # >> macros # << macros %define int_name mutagen Summary: Python module to handle audio metadata. Version: 1.45.1 Release: 0 Group: Applications License: GPLv2+ BuildArch: noarch URL: https://github.com/quodlibet/mutagen Source0: https://files.pythonhosted.org/packages/s/%{int_name}/%{int_name}-%{version}.tar.gz Source100: python3-mutagen.yaml BuildRequires: pkgconfig(python) BuildRequires: python3-rpm-macros %description %{summary}. %if "%{?vendor}" == "chum" Type: console-application PackagerName: nephros Categories: - Library %endif %prep %setup -q -n %{int_name}-%{version} # >> setup # << setup %build # >> build pre # << build pre %{py3_build} # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # << install pre %{py3_install} # >> install post find %{buildroot}%{python3_sitelib} -type f -exec sed -i '1s=^#!/usr/bin/\(python\|env python\)[23]\?=#!%{__python3}=' {} + rm -rf %{buildroot}%{_mandir} # << install post %files %defattr(-,root,root,-) # >> files %{_bindir}/* %{python3_sitelib}/* # << files