File megapixels.spec of Package megapixels
#
# spec file for package megapixels
#
# 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: Megapixels
Version: 1.8.2
Release: 0
Summary: Camera app
License: GPL-3.0-only
URL: https://gitlab.com/megapixels-org/Megapixels
Source0: %{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(epoxy)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libfeedback-0.0)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(zbar)
Requires: ImageMagick
Requires: dcraw
Requires: exiftool
Requires: ffmpeg
Requires: libraw-tools
Requires: v4l-utils
Requires: zbar
Provides: megapixels
%description
GTK3 Camera app for smartphones
%package devel
Summary: Megapixels tests
%description devel
Tests for the camera hardware.
%prep
%autosetup -p1 -n %{name}-%{version}
%build
%meson
%meson_build
%install
%meson_install
%fdupes %{buildroot}%{_datadir}
%files
%{_bindir}/megapixels
%{_datadir}/megapixels/
%{_datadir}/applications/*.desktop
%{_datadir}/icons/*/*/*/*.svg
%{_datadir}/metainfo/*.metainfo.xml
%{_datadir}/glib-2.0/schemas/org.postmarketos.Megapixels.gschema.xml
%files devel
%{_bindir}/megapixels-camera-test
%{_bindir}/megapixels-list-devices
%changelog