forked from pool/android-file-transfer-linux
- Add fix-missing-include.patch: Fix missing include exposed by gcc 13. - Switch service to explicit git commit instead of master, and switch to obs_scm and manual run, tar_scm and disabledrun are deprecated. OBS-URL: https://build.opensuse.org/request/show/1076418 OBS-URL: https://build.opensuse.org/package/show/hardware/android-file-transfer-linux?expand=0&rev=2
64 lines
1.9 KiB
RPMSpec
64 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package android-file-transfer-linux
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: android-file-transfer-linux
|
|
Summary: Android file fransfer for Linux
|
|
Version: 4.3.0~git.20221105T214638.9967dec
|
|
Release: 0
|
|
URL: https://github.com/whoozle/android-file-transfer-linux
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Patch0: fix-missing-include.patch
|
|
License: LGPL-2.1
|
|
BuildRequires: cmake
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: readline-devel
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
BuildRequires: cmake(Qt5NetworkAuth)
|
|
BuildRequires: pkgconfig(fuse)
|
|
BuildRequires: pkgconfig(libcrypto)
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
%description
|
|
Android File Transfer for Linux — a MTP client with minimalist UI
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%cmake
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
rm %{buildroot}%{_libdir}/libmtp-ng-static.a
|
|
|
|
%files
|
|
%doc FAQ.md
|
|
%license LICENSE
|
|
%{_bindir}/aft-mtp-cli
|
|
%{_bindir}/aft-mtp-mount
|
|
%{_bindir}/android-file-transfer
|
|
%{_datadir}/metainfo/android-file-transfer.appdata.xml
|
|
%{_datadir}/applications/android-file-transfer.desktop
|
|
%{_datadir}/icons/hicolor/*/apps/android-file-transfer.png
|
|
|
|
%changelog
|