File pinhole.spec of Package pinhole
#
# spec file for package camera
#
# Copyright (c) 2022 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: pinhole
Version: 0.1.0
Release: 0%{?dist}
Group: GNOME
Summary: Camera for GSI Mobile
License: GPL-3.0-or-later
URL: https://gitlab.gnome.org/jwestman/camera
%undefine _disable_source_fetch
Source0: %{name}-%{version}.tar.xz
Patch0: 0001-fix-git-command-error.patch
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: git
BuildRequires: libaperture-devel
BuildRequires: libgirepository-1_0-1
BuildRequires: meson
BuildRequires: vala
BuildRequires: pkgconfig(appstream)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-video-1.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gtk-doc)
BuildRequires: pkgconfig(libhandy-1)
%description
%{name} application for GSI Mobile
%prep
%autosetup -n %{name}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%files
%{_bindir}/camera
%{_datadir}/applications/net.flyingpimonster.Camera.desktop
%{_datadir}/glib-2.0/schemas/net.flyingpimonster.Camera.gschema.xml
%{_datadir}/icons/hicolor/scalable/apps/net.flyingpimonster.Camera.svg
%{_datadir}/icons/hicolor/symbolic/apps/net.flyingpimonster.Camera-symbolic.svg
%{_datadir}/metainfo/net.flyingpimonster.Camera.appdata.xml
%changelog