70 lines
2.2 KiB
RPMSpec
70 lines
2.2 KiB
RPMSpec
%define pypi_name discover_overlay
|
|
|
|
Name: discover-overlay
|
|
Version: 0.7.9
|
|
Release: alt1
|
|
Summary: Yet another Discord overlay for Linux written in Python using GTK3
|
|
License: GPL-3.0-only
|
|
Group: Networking/Other
|
|
URL: https://github.com/trigg/Discover
|
|
VCS: https://github.com/trigg/Discover
|
|
Source: %name-%version.tar
|
|
BuildRequires: rpm-build-python3
|
|
BuildRequires: python3-module-pygobject3
|
|
BuildRequires: python3-module-websocket-client
|
|
BuildRequires: python3-module-pyxdg
|
|
BuildRequires: python3-module-requests
|
|
BuildRequires: python3-module-pillow
|
|
BuildRequires: python3-module-xlib
|
|
BuildRequires: python3-module-setuptools
|
|
BuildRequires: python3-module-pulsectl-asyncio
|
|
|
|
Requires: python3-module-pyxdg
|
|
Requires: libgtk-layer-shell
|
|
|
|
%description
|
|
Discover-Overlay is a GTK3 overlay written in Python3.
|
|
It can be configured to show who is currently talking on discord or
|
|
it can be set to display text and images from a preconfigured channel.
|
|
It is fully customisable and can be configured to display anywhere
|
|
on the screen. We fully support X11 and wlroots based environments.
|
|
We felt the need to make this project due to the shortcomings in support
|
|
on Linux by the official discord client.
|
|
|
|
%package -n python3-module-%pypi_name
|
|
Summary: Moonraker - API Web Server for Klipper
|
|
BuildArch: noarch
|
|
Group: Development/Python3
|
|
|
|
%description -n python3-module-%pypi_name
|
|
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
export PDM_BUILD_SCM_VERSION=%version
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%files
|
|
%_bindir/discover-overlay
|
|
%_desktopdir/%{pypi_name}*
|
|
#%_iconsdir/*
|
|
/usr/share/icons/hicolor/256x256/apps/discover-overlay-default.png
|
|
/usr/share/icons/hicolor/256x256/apps/discover-overlay-tray.png
|
|
/usr/share/icons/hicolor/256x256/apps/discover-overlay.png
|
|
/usr/share/icons/hicolor/scalable/apps/discover-overlay-default.svg
|
|
/usr/share/icons/hicolor/scalable/apps/discover-overlay-tray.svg
|
|
/usr/share/icons/hicolor/scalable/apps/discover-overlay.svg
|
|
|
|
|
|
%files -n python3-module-%pypi_name
|
|
%python3_sitelibdir_noarch/%pypi_name
|
|
%python3_sitelibdir_noarch/%pypi_name-%version.dist-info
|
|
|
|
%changelog
|
|
* Fri Feb 20 2026 Tesla Bittgenstein <tesla@altlinux.org> 0.7.9-alt1
|
|
- Initial build.
|