Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37420360
en ru br
ALT Linux repos
S:0.9.34-alt2

Group :: Graphics
RPM: rapid-photo-downloader

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: rapid-photo-downloader
Version: 0.9.34
Release: alt1.1

%define xdg_name net.damonlynch.rapid_photo_downloader

Summary: Download photos and videos from cameras, memory cards and Portable Storage Devices
License: GPLv3+
Group: Graphics

Url: http://www.damonlynch.net/rapid/
Source: http://launchpad.net/rapid/pyqt/%version/+download/%name-%version.tar.gz

BuildArch: noarch

BuildRequires(pre): rpm-build-gir rpm-build-python3
BuildRequires: intltool perl-podlators
BuildRequires: python3-devel python3-module-setuptools

%if "%(rpmvercmp '%{get_version python3}' '3.6.0')" <= "0"
Requires: python3-module-typing >= 3.6.4
%endif

Requires: python3-module-PyQt5 >= 5.15.6 libqt5-svg
Requires: python3-module-zmq >= 16.0.2
Requires: python3-module-easygui >= 0.98.1
Requires: python3-module-pymediainfo >= 2.2.0
Requires: python3-module-pyprind
Requires: python3-module-colorlog
Requires: gphoto2 exiv2 perl-Image-ExifTool >= 10.87
Requires: gst-plugins-good1.0 gst-libav
# since 0.9.27
Requires: showinfilemanager >= 1.1.2
Requires: libimobiledevice ifuse fuse

%add_typelib_req_skiplist typelib(Unity)

%description
Rapid Photo Downloader imports photos and videos from cameras, phones,
memory cards and other devices at high speed. It can be configured to
rename photos and videos with meaningful filenames you specify. It can
also back up photos and videos as they are downloaded. It downloads from
and backs up to multiple devices simultaneously.

%prep
%setup
sed -i "s|'share\/solid\/actions'|'share/apps/solid/actions'|
       s|\(>=3.6\)\.\*|\1|" setup.py

%build
%python3_build

%install
%python3_install
# install translations
mkdir -p %buildroot%_datadir/locale
cp -r build/mo/* %buildroot%_datadir/locale
%find_lang %name

%files -f %name.lang
%_bindir/%name
%python3_sitelibdir/*
%_desktopdir/%xdg_name.desktop
%_datadir/metainfo/%xdg_name.metainfo.xml
%_man1dir/%name.1.*
%_datadir/solid/actions/%xdg_name.desktop
%doc README* RELEASE_NOTES* CHANGES*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin