provide metainfo file [release 4.9-2mamba;Wed Mar 19 2025]

This commit is contained in:
Silvan Calarco 2025-03-19 22:47:24 +01:00
parent 6f0fc1ac2b
commit ac674b74f7
2 changed files with 37 additions and 1 deletions

27
hypnotix.appdata.xml Normal file
View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>org.x.hypnotix</id>
<name>Hypnotix</name>
<project_license>GPL-3.0</project_license>
<metadata_license>CC0-1.0</metadata_license>
<developer_name>Linux Mint</developer_name>
<summary>IPTV streaming application</summary>
<url type="homepage">https://github.com/linuxmint/hypnotix</url>
<url type="bugtracker">https://github.com/linuxmint/hypnotix/issues</url>
<description>
<p>
An M3U IPTV Player.
</p>
</description>
<screenshots>
<screenshot type="default">
<image type="source">https://user-images.githubusercontent.com/1138515/99553152-b8bac780-29b5-11eb-9d75-8756ed7581b6.png</image>
</screenshot>
</screenshots>
<releases>
<release version="@VERSION@" date="@DATE@"/>
</releases>
<provides>
<id>org.x.hypnotix</id>
</provides>
</component>

View File

@ -1,6 +1,6 @@
Name: hypnotix
Version: 4.9
Release: 1mamba
Release: 2mamba
Summary: An M3U IPTV Player
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
@ -8,6 +8,7 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/linuxmint/hypnotix
Source: https://github.com/linuxmint/hypnotix.git/%{version}/hypnotix-%{version}.tar.bz2
Source1: hypnotix.appdata.xml
License: GPL-3.0-only
BuildArch: noarch
## AUTOBUILDREQ-BEGIN
@ -48,6 +49,10 @@ sed -i 's|common-licenses/GPL|licenses/common/GPL/license.txt|g' \
install -d -m0755 %{buildroot}
cp -a usr %{buildroot}
install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/metainfo/hypnotix.appdata.xml
sed -i "s|@VERSION@|%{version}|" %{buildroot}%{_datadir}/metainfo/hypnotix.appdata.xml
sed -i "s|@DATE@|`date +%Y-%m-%d`|" %{buildroot}%{_datadir}/metainfo/hypnotix.appdata.xml
%find_lang %{name} || touch %{name}.lang
%clean
@ -59,6 +64,7 @@ cp -a usr %{buildroot}
%dir %{_prefix}/lib/hypnotix
%{_prefix}/lib/hypnotix/*.py
%{_datadir}/applications/hypnotix.desktop
%{_datadir}/metainfo/hypnotix.appdata.xml
%{_datadir}/glib-2.0/schemas/org.x.hypnotix.gschema.xml
%dir %{_datadir}/hypnotix
%{_datadir}/hypnotix/*
@ -66,6 +72,9 @@ cp -a usr %{buildroot}
%doc debian/copyright
%changelog
* Wed Mar 19 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 4.9-2mamba
- provide metainfo file
* Wed Jan 08 2025 Automatic Build System <autodist@openmamba.org> 4.9-1mamba
- automatic version update by autodist