From c64a62c6c0cd6f80f988881d45a9d9c9be04d92e Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Tue, 16 Jul 2019 13:57:46 +0200 Subject: [PATCH] Initial package (#1721157) --- .gitignore | 1 + README.md | 3 -- gnome-network-displays.spec | 60 +++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 62 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 gnome-network-displays.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..efded45 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/gnome-network-displays-0.90.1.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 31ce8c3..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# gnome-network-displays - -The gnome-network-displays package \ No newline at end of file diff --git a/gnome-network-displays.spec b/gnome-network-displays.spec new file mode 100644 index 0000000..015b6bc --- /dev/null +++ b/gnome-network-displays.spec @@ -0,0 +1,60 @@ +Name: gnome-network-displays +Version: 0.90.1 +Release: 0%{?dist} +Summary: Stream the desktop to Wi-Fi Display capable devices + +# The icon is licensed CC-BY-SA +License: GPLv3+ and CC-BY-SA +URL: https://github.com/benzea/gnome-network-displays +Source0: https://github.com/benzea/gnome-network-displays/archive/v%{version}/gnome-network-displays-%{version}.tar.gz + +BuildRequires: desktop-file-utils +BuildRequires: libappstream-glib +BuildRequires: gettext +BuildRequires: meson +BuildRequires: gcc +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(libnm) >= 1.15.1 +BuildRequires: pkgconfig(libpulse-mainloop-glib) +BuildRequires: pkgconfig(gstreamer-rtsp-server-1.0) + +# Versioned library deps +Requires: NetworkManager-libnm > 1.16.0 +Requires: gstreamer1-rtsp-server +Requires: gnome-desktop3 +Requires: gtk3 +Requires: hicolor-icon-theme +Requires: NetworkManager-wifi + +%description +GNOME Network Displays allows you to cast your desktop to a remote display. +Currently implemented is support for casting to Wi-Fi Display capable devices +(a.k.a. Miracast). + +%prep +%autosetup -p1 + +%build +%meson +%meson_build + +%install +%meson_install +desktop-file-validate %{buildroot}/%{_datadir}/applications/*.desktop +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml +%find_lang %{name} --all-name --with-gnome + +%files -f %{name}.lang +%license COPYING +%doc README.md +%{_bindir}/gnome-network-displays +%{_datadir}/applications/*.desktop +%{_datadir}/glib-2.0/schemas/org.gnome.NetworkDisplays.gschema.xml +%{_datadir}/icons/hicolor/scalable/apps/org.gnome.NetworkDisplays.svg +%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.NetworkDisplays-symbolic.svg +%{_metainfodir}/org.gnome.NetworkDisplays.appdata.xml + +%changelog +* Wed Jul 10 2019 Benjamin Berg - 0.90.1-0 +- Initial package (#1721157) diff --git a/sources b/sources new file mode 100644 index 0000000..7c0e180 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (gnome-network-displays-0.90.1.tar.gz) = 0b24cacfc6e8cdff50dc7328e94cde840213b9d5b0598378a008eaf8accb4deecfaf6a97d643952b3034ee466d16268feea80ef457c138195010e99433ff42de