mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-17 01:11:48 +00:00
chore: Add spec files for discover-overlay
This commit is contained in:
parent
8846ff76bb
commit
c1d8a12e4a
65
spec_files/discover-overlay/discover-overlay.spec
Normal file
65
spec_files/discover-overlay/discover-overlay.spec
Normal file
@ -0,0 +1,65 @@
|
||||
%global forgeurl https://github.com/trigg/Discover
|
||||
Version: 0.6.7
|
||||
%forgemeta
|
||||
|
||||
Name: discover-overlay
|
||||
Release: %autorelease
|
||||
Summary: Voice chat overlay
|
||||
|
||||
License: GPLv3+
|
||||
URL: %{forgeurl}
|
||||
Source0: %{forgesource}
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3dist(setuptools)
|
||||
|
||||
Requires: python3dist(pillow)
|
||||
Requires: python3dist(pygobject) >= 3.22
|
||||
Requires: python3dist(python-pidfile) >= 3
|
||||
Requires: python3dist(pyxdg)
|
||||
Requires: python3dist(requests)
|
||||
Requires: python3dist(setuptools)
|
||||
Requires: python3dist(websocket-client)
|
||||
Requires: python3dist(python-xlib)
|
||||
|
||||
|
||||
%description
|
||||
Yet another Discord overlay for Linux written in Python using GTK3.
|
||||
|
||||
|
||||
%prep
|
||||
%forgesetup
|
||||
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}/%{_datadir}/applications/*.desktop
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%{_bindir}/discover-overlay
|
||||
%{_datadir}/applications/discover_overlay.desktop
|
||||
%{_datadir}/applications/discover_overlay_configure.desktop
|
||||
%{_datadir}/icons/hicolor/256x256/apps/discover-overlay-default.png
|
||||
%{_datadir}/icons/hicolor/256x256/apps/discover-overlay-tray.png
|
||||
%{_datadir}/icons/hicolor/256x256/apps/discover-overlay.png
|
||||
%{_datadir}/icons/hicolor/scalable/apps/discover-overlay-default.svg
|
||||
%{_datadir}/icons/hicolor/scalable/apps/discover-overlay-tray.svg
|
||||
%{_datadir}/icons/hicolor/scalable/apps/discover-overlay.svg
|
||||
%{python3_sitelib}/discover_overlay
|
||||
%{python3_sitelib}/discover_overlay-%{version}-py%{python3_version}.egg-info
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
55
spec_files/discover-overlay/python-python-pidfile.spec
Normal file
55
spec_files/discover-overlay/python-python-pidfile.spec
Normal file
@ -0,0 +1,55 @@
|
||||
# Created by pyp2rpm-3.3.6
|
||||
%global pypi_name python-pidfile
|
||||
%global srcname python-pidfile
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 3.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: PIDFile context processor. Supported py2 and py3
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/mosquito/python-pidfile
|
||||
Source0: %{pypi_source}
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3dist(setuptools)
|
||||
|
||||
%description
|
||||
Python context manager for managing pid files.
|
||||
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
|
||||
Requires: python3dist(psutil)
|
||||
|
||||
|
||||
%description -n python3-%{srcname}
|
||||
Python context manager for managing pid files.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version}
|
||||
# Remove bundled egg-info
|
||||
rm -rf %{pypi_name}.egg-info
|
||||
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
|
||||
%files -n python3-%{srcname}
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/pidfile
|
||||
%{python3_sitelib}/python_pidfile-%{version}-py%{python3_version}.egg-info
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Apr 02 2021 Peter Oliver <rpm@mavit.org.uk> - 3.0.0-1
|
||||
- Initial package.
|
Loading…
Reference in New Issue
Block a user