aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/rpm/meshbay-client.spec
blob: 867205fe47fe8f51af52d4b7f43737ba338fed4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Name:           meshbay-client
Version:        __VERSION__
Release:        1%{?dist}
Summary:        MeshBay — peer-to-peer file sharing, streaming and group chat
License:        AGPLv3+
URL:            https://meshbay.org

AutoReqProv:    no

Requires:       gtk3
Requires:       libnotify
Requires:       nss
Requires:       libXScrnSaver
Requires:       libXtst
Requires:       at-spi2-core
Requires:       libdrm
Requires:       mesa-libgbm
Requires:       alsa-lib
Recommends:     meshbay-node

%description
Desktop client for MeshBay. Connects to MeshBay nodes over WebRTC for
file sharing, video streaming, and group chat. Includes Chromecast and
Smart TV casting support.

Installs the Electron application to /opt/meshbay-client/ and a Gnome
launcher named "MeshBay".

%install
cp -a %{_staging_root}/* %{buildroot}/

%post
if [ -f /opt/meshbay-client/chrome-sandbox ]; then
    chown root:root /opt/meshbay-client/chrome-sandbox
    chmod 4755 /opt/meshbay-client/chrome-sandbox
fi
update-desktop-database /usr/share/applications 2>/dev/null || true
gtk-update-icon-cache -f -t /usr/share/icons/hicolor 2>/dev/null || true

%postun
update-desktop-database /usr/share/applications 2>/dev/null || true
gtk-update-icon-cache -f -t /usr/share/icons/hicolor 2>/dev/null || true

%files
/opt/meshbay-client
/usr/bin/meshbay
/usr/share/applications/meshbay.desktop
/usr/share/icons/hicolor/*/apps/meshbay.png
/usr/lib/firewalld/services/meshbay-cast.xml

%changelog
* Sun Aug 31 2026 MeshBay Team <devel@meshbay.org> - %{version}-1
- Initial packaging of the desktop client