File filmulator.spec of Package filmulator

#
# spec file for package filmulator
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2017-2020 Marcus Rueckert <mrueckert@suse.de>
#
# 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:           filmulator
Version:        0.11.0
Release:        0
Summary:        A film emulator with all of the positives and none of the negatives
License:        GPL-3.0-or-later
Group:          Productivity/Graphics/Viewers
URL:            https://github.com/CarVac/filmulator-gui
###Source:         https://github.com/CarVac/filmulator-gui/archive/v%%{version}.tar.gz#/%%{name}-%%{version}.tar.gz
Source:         %{name}-%{version}.tar.xz
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Qml)
BuildRequires:  pkgconfig(Qt5Quick)
BuildRequires:  pkgconfig(Qt5Sql)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(exiv2)
BuildRequires:  pkgconfig(lensfun)
BuildRequires:  pkgconfig(libarchive)
BuildRequires:  pkgconfig(libcurl)
BuildRequires:  pkgconfig(libjpeg)
BuildRequires:  pkgconfig(libraw)
BuildRequires:  pkgconfig(libtiff-4)
BuildRequires:  pkgconfig(rtprocess)

%description
A Qt Quick GUI adaptation of Filmulator --- a film emulator with all of the
positives and none of the negatives.

Filmulator accepts raw files from cameras and simulates the development of film
as if exposed to the same light as the camera's sensor. For various reasons,
this inherently brings about several benefits:

- Large bright regions become darker, compressing the output dynamic range.
- Small bright regions make their surroundings darker, enhancing local
  contrast.
- In bright regions, saturation is enhanced, helping retain color in blue
  skies, brighter skin tones, and sunsets.
- In extremely saturated regions, the brightness is attenuated, helping retain
  detail e.g. in flowers.

The program's design ideology is to have the best tool for any job, and only
that one tool. The tradeoff here is a slight decrease in flexibility, but
gaining a greatly simplified and streamlined user interface.

%prep
###%%setup -q -n %%{name}-gui-%%{version}
%autosetup

%build
pushd filmulator-gui
%cmake
%cmake_build

%install
pushd filmulator-gui
%cmake_install

%files
%doc README.md
%license LICENSE
%{_bindir}/filmulator
%{_datadir}/Filmulator/

%changelog
openSUSE Build Service is sponsored by