1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-15 04:42:06 +00:00
miraclecast/res/miraclecast.spec

69 lines
2 KiB
RPMSpec
Raw Normal View History

2022-01-05 08:41:22 +00:00
%global commit 264a222d242734da369ca287aa6cfc6ca4f1f7bf
2018-12-25 07:32:31 +00:00
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: miraclecast
Version: 1.0
2022-01-05 08:41:22 +00:00
Release: 2.git%{shortcommit}%{?dist}
Summary: Connect external monitors to your system via Wi-Fi Display (miracast)
License: LGPLv2
2018-12-25 07:32:31 +00:00
URL: https://github.com/albfan/miraclecast
Source0: https://github.com/albfan/miraclecast/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
2022-01-05 08:41:22 +00:00
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
2018-12-25 07:32:31 +00:00
2022-01-05 08:41:22 +00:00
BuildRequires: glib2-devel
BuildRequires: readline-devel
BuildRequires: systemd-devel
2018-12-25 07:32:31 +00:00
2022-01-05 08:41:22 +00:00
# "Recommends" is stronger than "Suggests", and gets installed by default by DNF.
2018-12-25 07:32:31 +00:00
2022-01-05 08:41:22 +00:00
# for gstplayer
Recommends: python3-gobject-base
2018-12-25 07:32:31 +00:00
2022-01-05 08:41:22 +00:00
# for miracle-gst (/usr/bin/gst-launch-1.0)
Suggests: gstreamer
# for miracle-omxplayer
Suggests: omxplayer
%description
The MiracleCast project provides software to connect external monitors to your
system via Wi-Fi. It is compatible to the Wi-Fi Display specification also
known as Miracast. MiracleCast implements the Display-Source as well as
Display-Sink side.
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.
2018-12-25 07:32:31 +00:00
2022-01-05 08:41:22 +00:00
On the other hand, the Display-Sink side allows you to create Wi-Fi 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.
%prep
%autosetup -n %{name}-%{commit}
2018-12-25 07:32:31 +00:00
%build
2022-01-05 08:41:22 +00:00
autoreconf -fiv
%configure
2018-12-25 07:32:31 +00:00
%make_build
%install
%make_install
%files
%license COPYING LICENSE_gdhcp LICENSE_htable LICENSE_lgpl
%doc README.md
2022-01-05 08:41:22 +00:00
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.miracle.conf
%{_bindir}/*
%{_datadir}/bash-completion/completions/*
2018-12-25 07:32:31 +00:00
%changelog
2022-01-05 08:41:22 +00:00
* Wed Jan 05 2022 Korenberg Mark
- Fix .spec-file, bump version
2018-12-25 07:32:31 +00:00
* Wed Nov 21 2018 Graham White
- first build