Sisyphus repository
Last update: 19 march 2023 | SRPMs: 18279 | Visits: 27127080
en ru br
ALT Linux repos

Group :: Graphics
RPM: photoflare

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

#define git_hash %nil
%define git_hash .git.e200ab7538

Name: photoflare
Version: 1.6.9
Release: alt2

Group: Graphics
Summary: Simple but powerful Cross Platform Image Editor
License: GPLv3+

Source: %name-%version.tar
Patch: %name-%version-alt.patch

BuildRequires(pre): rpm-macros-qt5
BuildRequires: qt5-base-devel qt5-tools-devel libGraphicsMagick-c++-devel libgomp-devel

This is an effort to bring quick, simple but powerful image editing to the
masses. Photoflare is inspired by the image editor currently only available
on Microsoft Windows - PhotoFiltre. However, it will not be a straight clone.
It is being built from the ground up to be much improved and cross platform too!

%patch -p1

# Fix version due build from master with Russian translation

sed -i 's/^\(\s*app\.setApplicationVersion(QObject::tr("\).*\("))\)/\1%version%git_hash\2/' src/main.cpp

%qmake_qt5 PREFIX=%_prefix


%find_lang --with-qt --all-name %name

%files -f %name.lang
%doc .github/


Full changelog you can see here

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