1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

Fix .spec file

This commit is contained in:
Коренберг ☢️ Марк 2022-01-05 13:41:22 +05:00 committed by Alberto Fanjul
parent 264a222d24
commit 125f4a847f

View file

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