added appdata metainfo file [release 9.0.8-2mamba;Fri Oct 18 2024]

This commit is contained in:
Silvan Calarco 2024-10-19 01:00:36 +02:00
parent bf9dd2c154
commit 92f1caf070
2 changed files with 42 additions and 2 deletions

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: seafile-client
Version: 9.0.8
Release: 1mamba
Release: 2mamba
Summary: Seafile desktop client
Group: Graphical Desktop/Applications/Archiving
Vendor: openmamba
@ -9,10 +9,16 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.seafile.com/en/home/
Source: https://github.com/haiwen/seafile-client.git/v%{version}/seafile-client-%{version}.tar.bz2
Source1: seafile.appdata.xml
Patch1: seafile-client-9.0.5-qt6-6.6.3.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt6Core
BuildRequires: libQt6DBus
BuildRequires: libQt6Gui
BuildRequires: libQt6Network
BuildRequires: libQt6Widgets
BuildRequires: libevent-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
@ -25,7 +31,6 @@ BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: qt6-qt5compat-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: seafile >= %majver
@ -48,6 +53,8 @@ Seafile desktop client.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
install -D -m 644 -pv %{SOURCE1} %{buildroot}%{_metainfodir}/seafile.appdata.xml
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -55,6 +62,7 @@ Seafile desktop client.
%defattr(-,root,root)
%{_bindir}/seafile-applet
%{_datadir}/applications/seafile.desktop
%{_metainfodir}/seafile.appdata.xml
%{_datadir}/icons/hicolor/*/apps/seafile.png
%{_datadir}/icons/hicolor/scalable/apps/seafile.svg
%{_datadir}/pixmaps/seafile.png
@ -62,6 +70,9 @@ Seafile desktop client.
#%doc README.md
%changelog
* Fri Oct 18 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 9.0.8-2mamba
- added appdata metainfo file
* Fri Aug 16 2024 Automatic Build System <autodist@openmamba.org> 9.0.8-1mamba
- automatic version update by autodist

29
seafile.appdata.xml Normal file
View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>seafile.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<name>Seafile</name>
<summary>Seafile cloud storage desktop client</summary>
<description>
<p>
Seafile is a next-generation open source cloud storage system, with
advanced support for file syncing, privacy protection and teamwork.
</p>
<p>
Seafile allows users to create groups with file syncing, wiki, and discussion
to enable easy collaboration around documents within a team.
</p>
</description>
<screenshots>
<screenshot height="444" width="790" type="default">
<image>https://comzeradd.fedorapeople.org/screenshots/seafile.png</image>
</screenshot>
</screenshots>
<url type="homepage">https://www.seafile.com</url>
<url type="bugtracker">https://forum.seafile.com/</url>
<url type="help">https://help.seafile.com/</url>
<update_contact>daniel_dot_pan_at_seafile_dot_com</update_contact>
<project_license>Apache-2.0</project_license>
<developer_name>Seafile Ltd</developer_name>
<translation type="qt"/>
</component>