mirror of
https://abf.rosa.ru/djam/android-file-transfer.git
synced 2025-02-24 08:12:51 +00:00
Log: Added upstream provided appdata.xml
thx to the developer bump rel
This commit is contained in:
parent
46616befe6
commit
e225e12d20
2 changed files with 10 additions and 26 deletions
1
.abf.yml
1
.abf.yml
|
@ -2,3 +2,4 @@ removed_sources:
|
||||||
android-file-transfer-linux-2.2.tar.gz: feb7c7a2abdc653bb20502f2d78c38a6071aa617
|
android-file-transfer-linux-2.2.tar.gz: feb7c7a2abdc653bb20502f2d78c38a6071aa617
|
||||||
sources:
|
sources:
|
||||||
android-file-transfer-linux-2.3.tar.gz: e1619f0b9f11fdb7e04ef06a445e82902887ad00
|
android-file-transfer-linux-2.3.tar.gz: e1619f0b9f11fdb7e04ef06a445e82902887ad00
|
||||||
|
android-file-transfer.appdata.xml: c6cb8c6c35eb82da77e3ce8e74e63e8b2977922f
|
||||||
|
|
|
@ -3,12 +3,16 @@
|
||||||
Summary: Interactive MTP client with Qt GUI
|
Summary: Interactive MTP client with Qt GUI
|
||||||
Name: android-file-transfer
|
Name: android-file-transfer
|
||||||
Version: 2.3
|
Version: 2.3
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: File tools
|
Group: File tools
|
||||||
Url: https://github.com/whoozle/android-file-transfer-linux/
|
Url: https://github.com/whoozle/android-file-transfer-linux/
|
||||||
# From git by tag https://github.com/whoozle/android-file-transfer-linux/
|
# From git by tag https://github.com/whoozle/android-file-transfer-linux/
|
||||||
Source0: %{name}-linux-%{version}.tar.gz
|
Source0: %{name}-linux-%{version}.tar.gz
|
||||||
|
# Provided upstream by the developer :
|
||||||
|
# https://github.com/whoozle/android-file-transfer-linux/commit/ada01cf7bc57fcfb99f540cc098e5393937a0436
|
||||||
|
Source1: android-file-transfer.appdata.xml
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: imagemagick
|
BuildRequires: imagemagick
|
||||||
BuildRequires: pkgconfig(fuse)
|
BuildRequires: pkgconfig(fuse)
|
||||||
|
@ -16,8 +20,7 @@ BuildRequires: pkgconfig(Qt5Core)
|
||||||
BuildRequires: pkgconfig(Qt5Gui)
|
BuildRequires: pkgconfig(Qt5Gui)
|
||||||
BuildRequires: pkgconfig(Qt5Widgets)
|
BuildRequires: pkgconfig(Qt5Widgets)
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
# Turned off by default since 2.0
|
BuildRequires: appstream-util
|
||||||
#BuildRequires: pkgconfig(libusb-1.0)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Interactive MTP client with Qt GUI.
|
Interactive MTP client with Qt GUI.
|
||||||
|
@ -35,6 +38,7 @@ Interactive MTP client with Qt GUI.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn %{name}-linux-%{version}
|
%setup -qn %{name}-linux-%{version}
|
||||||
|
cp -R %{SOURCE1} android-file-transfer.appdata.xml
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_qt5
|
%cmake_qt5
|
||||||
|
@ -56,27 +60,6 @@ done
|
||||||
|
|
||||||
#appdata
|
#appdata
|
||||||
mkdir -p %{buildroot}%{_appdatadir}
|
mkdir -p %{buildroot}%{_appdatadir}
|
||||||
cat > %{buildroot}%{_appdatadir}/%{name}.appdata.xml << EOF
|
cp -R %{SOURCE1} %{buildroot}%{_appdatadir}/android-file-transfer.appdata.xml
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
appstream-util validate-relax --nonet %{buildroot}%{_appdatadir}/*.xml
|
||||||
<application>
|
|
||||||
<id type="desktop">%{name}.desktop</id>
|
|
||||||
<project_license>GPLv2+</project_license>
|
|
||||||
<name>%{name}</name>
|
|
||||||
<summary>Interactive MTP client with Qt5 GUI</summary>
|
|
||||||
<description>
|
|
||||||
<p>
|
|
||||||
-Simple Qt UI with progress dialogs.
|
|
||||||
-FUSE wrapper (If you'd prefer mounting your device),
|
|
||||||
supporting partial read/writes, allowing instant access to your files.
|
|
||||||
-No file size limits.
|
|
||||||
-Automatically renames album cover to make it visible from media player.
|
|
||||||
-No extra dependencies (e.g. libptp/libmtp).
|
|
||||||
-Available as static/shared library.
|
|
||||||
-Simple CLI tool.
|
|
||||||
</p>
|
|
||||||
</description>
|
|
||||||
<url type="homepage"https://github.com/whoozle/android-file-transfer-linux/</url>
|
|
||||||
<updatecontact>vladimir.menshakov_at_gmail.com</updatecontact>
|
|
||||||
</application>
|
|
||||||
EOF
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue