File miraclecast.spec of Package miraclecast
#
# spec file for package miraclecast
#
# 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:           miraclecast
Version:        1.0+git139.850a1c6
Release:        0
Summary:        Wifi-Display/Miracast Implementation
License:        LGPL-2.1+ GPL-2+
URL:            https://github.com/albfan/miraclecast
Source:         %{name}-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(check)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(libsystemd) >= 213
BuildRequires:  pkgconfig(readline)
%description
The MiracleCast project is compatible to the Wifi-Display specification also known as Miracast.
The Display-Sink side allows you to create wifi-capable external displays yourself. You can use it on your embedded devices or even on full desktops to allow other systems to use your device as external display.
The Display-Source side allows you to connect external displays to your system and stream local content to the device. A lot of effort is put into making this as easy as connecting external displays via HDMI. Note: This is not implemented yet. Please see https://github.com/albfan/miraclecast/issues/4
%prep
%autosetup
%build
%cmake
%cmake_build
%install
%cmake_install
%post
%postun
%files
%license COPYING LICENSE_gdhcp LICENSE_htable LICENSE_lgpl
%doc README.md
%dir %{_sysconfdir}/dbus-1
%dir %{_sysconfdir}/dbus-1/system.d
%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.miracle.conf
%{_bindir}/gstplayer
%{_bindir}/miracle-dhcp
%{_bindir}/miracle-gst
%{_bindir}/miracle-sinkctl
%{_bindir}/miracle-uibcctl
%{_bindir}/miracle-wifictl
%{_bindir}/miracle-wifid
%{_bindir}/miracled
%{_bindir}/uibc-viewer
%{_datadir}/bash-completion/completions/miracle-sinkctl
%{_datadir}/bash-completion/completions/miracle-wifictl
%{_datadir}/bash-completion/completions/miracle-wifid
%changelog