File flashlightd.spec of Package flashlightd

#
# spec file for package flashlightd
#
# 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:           flashlightd
Version:        0.1.0
Release:        0
Summary:        Simple daemon to manage camera flash light using gstreamer
License:        GPL-3.0-or-later
URL:            https://github.com/droidian/flashlightd
Source0:        %{name}-%{version}.tar.xz
Source1:        org.opensuse.flashlightd.service
BuildRequires:  pkgconfig(gio-2.0)
BuildRequires:  gstreamer-devel
BuildRequires:  meson
BuildRequires:  vala

%description
Simple daemon to manage camera flash light using gstreamer

%prep
%autosetup -p1

%build
%meson
%meson_build

%install
%meson_install
%{__install} -Dm0644 -t %{buildroot}%{_userunitdir} %{SOURCE1}

%files
%{_libexecdir}/flashlightd
%{_userunitdir}/*

%changelog

openSUSE Build Service is sponsored by