Репозиторий Sisyphus
Последнее обновление: 21 октября 2019 | Пакетов: 17510 | Посещений: 15379414
en ru br
Репозитории ALT

Группа :: Development/Tools
Пакет: android-file-transfer

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-macros-mageia-compat rpm-macros-ninja-build
BuildRequires: /usr/bin/desktop-file-install libncurses-devel libqt4-devel pkgconfig(libusb-1.0)
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: android-file-transfer
Version: 3.9
Release: alt1_1
Summary: Reliable Android MTP client with minimalist UI
Group: Development/Tools
License: LGPLv2+
URL: https://github.com/whoozle/android-file-transfer-linux
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz

BuildRequires: libappstream-glib
BuildRequires: ccmake cmake ctest
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: ninja-build
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(fuse)
BuildRequires: libreadline-devel
Source44: import.info

%description
Android File Transfer for Linux a.. reliable MTP client with minimalist UI
similar to Android File Transfer for Mac.
Features:
- 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.
- USB 'Zerocopy' support found in recent Linux kernel
- No extra dependencies (e.g. libptp/libmtp).
- Command line tool (aft-mtp-cli)

%prep
%setup -q -n %{name}-linux-%{version}


%build
%{mageia_cmake} -GNinja

%ninja_build

%install
%ninja_install -C build

find %{buildroot} -name '*.a' -delete

desktop-file-install                                       \
   --remove-category="System"                             \
   --remove-category="Filesystem"                         \
   --delete-original                                      \
   --dir=%{buildroot}%{_datadir}/applications             \
   %{buildroot}%{_datadir}/applications/%{name}.desktop

%check
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml

%files
%doc README.md FAQ.md
%doc --no-dereference LICENSE
%{_bindir}/*
%{_datadir}/applications/%{name}.desktop
%{_metainfodir}/%{name}.appdata.xml
%{_iconsdir}/hicolor/*/apps/%{name}.png


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin