%global _empty_manifest_terminate_build 0 Name: python-LibreGaming Version: 0.2.4.1 Release: 1 Summary: Install Gaming Packages with ease License: GPL-3.0 URL: https://github.com/Ahmed-Al-Balochi/LibreGaming.git Source0: https://mirrors.nju.edu.cn/pypi/web/packages/21/c6/a3caba0e82dfbdbc925f57633c256bcc58f1748c0d34588abd8466f7fb6d/LibreGaming-0.2.4.1.tar.gz BuildArch: noarch Requires: python3-argparse Requires: python3-requests Requires: python3-wget Requires: python3-protonup-ng %description - [Distributions](#Distributions) - [Prerequisites](#Prerequisites) - [Dependencies](#Dependencies) - [Packages](#Packages) - [Optional Packages](#Optional_Packages) - [Other Packages](#Other_Packages) - [Installation](#Installation) - [Usage](#Usage) - [Protonup Commands](#Protonup_Commands) - [VideoDemo](#VideoDemo) - [Feedback](#Feedback) - [Credits](#Credits) # Distributions: * I tested this script on these distributions. but it should also work on their derivatives too. 1. Ubuntu(Tested also on Linux Mint, Pop_OS!). 2. Arch Linux. 3. Fedora. 4. OpenSUSE Tumbleweed. # Prerequisites: * You need your drivers installed beforehand for maximum performance under Linux. you can install them by going to this [page](https://github.com/lutris/docs/blob/master/InstallingDrivers.md) * To run this LibreGaming script you need python3 installed if not already. to install python3 click [Here](https://github.com/Ahmed-Al-Balochi/LibreGaming#dependencies). * Also you need to enable free and nonfree packages if you are using Fedora to install steam. You can find the commands to enable free and nonfree packages for Fedora [here](https://docs.fedoraproject.org/en-US/quick-docs/setup_rpmfusion/#proc_enabling-the-rpmfusion-repositories-using-command-line-utilities_enabling-the-rpmfusion-repositories): * For OpenSUSE Tumbleweed you need to enable packman repos to install Steam and other packages. You can find that [here](https://en.opensuse.org/Additional_package_repositories) * If you are using Arch Linux or an Arch based system you need to enable 32bit packages found in multilib repo you can enable it by going to this [Arch wiki page](https://wiki.archlinux.org/title/official_repositories#multilib). ## Dependencies: * git 1. Install git For Ubuntu: ``` sudo apt install git ``` 2. Install git For Arch Linux: ``` sudo pacman -S git ``` 3. Install git For Fedora: ``` sudo dnf install git ``` 4. Install git For OpenSUSE Tumbleweed: ``` sudo zypper install git ``` * python3 1. Install Python3 For Ubuntu: ``` sudo apt install python3 ``` 3. Install Python3 For Arch Linux: ``` sudo pacman -S python ``` 3. Install Python3 For Fedora: ``` sudo dnf install python3 ``` 4. Install Python3 For OpenSUSE Tumbleweed: ``` sudo zypper install python3 ``` * python3-pip. 1. Install python3-pip For Ubuntu: ``` sudo apt install python3-pip ``` 2. Install python3-pip For Arch Linux: ``` sudo pacman -S python-pip ``` 3. Install python3-pip For Fedora: ``` sudo dnf install python3-pip ``` 4. Install python3-pip For OpenSUSE Tumbleweed: ``` sudo zypper install python3-pip ``` * [Flatpak](https://flatpak.org/setup/) is needed for installing Athenaeum. # Packages: * These Packages are installed using ```LibreGaming -b ``` 1. [Steam](https://store.steampowered.com/). 2. [Wine-Staging](https://www.winehq.org/). 3. [Gamemode](https://github.com/FeralInteractive/gamemode). ## Optional_Packages * These Packages + the ones above can be installed using ```LibreGaming -g ``` 1. [Lutris](https://github.com/lutris/lutris.git). 2. [Heroic](https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher.git) (Needs AUR enabled on Arch Linux) 3. [mangohud](https://github.com/flightlessmango/MangoHud.git) and [goverlay](https://github.com/benjamimgois/goverlay.git)(Needs AUR enabled on Arch Linux). ### Other_Packages * These Packages have their own install option and they are not included in the above packages. They need to be installed seperatly, to know more click [here](https://github.com/Ahmed-Al-Balochi/LibreGaming#usage) 1. [ProtonGE](https://github.com/GloriousEggroll/proton-ge-custom)(You Must run Steam at least once before installing ProtonGE). 2. [Athenaeum](https://gitlab.com/librebob/athenaeum.git) Launcher for FOSS games. 3. [itch.io](https://itch.io/app) a Launcher for indie games. 4. [Steam Tinker Launch](https://github.com/frostworx/steamtinkerlaunch)(Only for Arch Linux). # Installation: * You can install LibreGaming using pip if you have it installed. click [Here](https://github.com/Ahmed-Al-Balochi/LibreGaming#dependencies) to install pip3: ``` sudo pip3 install LibreGaming ``` * Or you can install LibreGaming script by entering these commands: ``` git clone https://github.com/Ahmed-Al-Balochi/LibreGaming.git LibreGaming/ cd LibreGaming/ sudo python3 setup.py install --user ``` * To update LibreGaming when there is a new release enter this command: ``` sudo pip3 install LibreGaming -U ``` * LibreGaming: command not found. This error can be solved by setting up the PATH in your shell you can do this by entering these lines in your shell file(.bashrc or .zshrc) and by default your shell file is hidden. to show hidden files enter ```ls -al``` in the terminal. * Note that the LibreGaming Script is saved in ~/.local/bin directory by default. ``` ### PATH if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi ``` # Usage: * Note: you can also run this script using ```libregaming``` command if you don't like ```LibreGaming```. Both can be used, so choose what you prefer. * To install all the Gaming packages mentioned in the packages section enter this command: ``` sudo LibreGaming -g ``` * To install Basic Packages(Wine, Steam, Gamemode): ``` sudo LibreGaming -b ``` * To install Lutris Launcher enter this command: ``` sudo LibreGaming --lutris ``` * To install Heroic Launcher enter this command (Don't use sudo if you are using OpenSUSE): ``` sudo LibreGaming --heroic ``` * To install MangoHud & Goverlay enter this command: ``` sudo LibreGaming -o ``` * To install ProtonGE enter this command: ``` LibreGaming -p ``` * To install Athenaeum Launcher enter this command: ``` LibreGaming -ath ``` * To install itch.io Launcher enter this command: ``` LibreGaming --itch ``` * To install Minigalaxy Launcher enter this command: ``` LibreGaming --minigalaxy ``` * To install Steam Tinker Launch(For Arch Linux only) enter this command: ``` LibreGaming --stl ``` ### Protonup_Commands * To list all the available releases of ProtonGE enter this command: ``` LibreGaming --release ``` * To list all the installed verions of ProtonGE enter this command: ``` LibreGaming -l ``` * To install a specfic release of ProtonGE enter this command: for example: ``` LibreGaming -t 6.13-GE-1 ``` * To delete a specfic release of ProtonGE enter this command: for example: ``` LibreGaming -r 6.13-GE-1 ``` # VideoDemo: * This a my video demonstrating LibreGaming in [English](https://www.youtube.com/watch?v=F9GP5Et12qo). And click here for [Arabic](https://www.youtube.com/watch?v=QI8Ai8BTMwo) * This is a video demonstrating LibreGaming made by TechHut: https://www.youtube.com/watch?v=2f2zdViFDYg * This is a video demonstrating LibreGaming made by @BrodieRobertson: https://www.youtube.com/watch?v=sOch-qZMLq0&t=309s # Feedback: * Tell me what distro to add if yours is not available. And what features you'd like to see. * Also please report if there are any bugs in the script. * Your feedback is always welcome. # Credits: * Thanks to [GloriousEggroll](https://github.com/GloriousEggroll/) for ProtonGE. * Thanks to [AUNaseef](https://github.com/AUNaseef/) protonup for making it easier to install ProtonGE. * Thanks to [flightlessmango](https://github.com/flightlessmango/) for mangohud. * Thanks to [benjamimgois](https://github.com/benjamimgois/) for goverlay. * Thanks to anyone who downloads this script, and to everyone who gives me feedback. %package -n python3-LibreGaming Summary: Install Gaming Packages with ease Provides: python-LibreGaming BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-LibreGaming - [Distributions](#Distributions) - [Prerequisites](#Prerequisites) - [Dependencies](#Dependencies) - [Packages](#Packages) - [Optional Packages](#Optional_Packages) - [Other Packages](#Other_Packages) - [Installation](#Installation) - [Usage](#Usage) - [Protonup Commands](#Protonup_Commands) - [VideoDemo](#VideoDemo) - [Feedback](#Feedback) - [Credits](#Credits) # Distributions: * I tested this script on these distributions. but it should also work on their derivatives too. 1. Ubuntu(Tested also on Linux Mint, Pop_OS!). 2. Arch Linux. 3. Fedora. 4. OpenSUSE Tumbleweed. # Prerequisites: * You need your drivers installed beforehand for maximum performance under Linux. you can install them by going to this [page](https://github.com/lutris/docs/blob/master/InstallingDrivers.md) * To run this LibreGaming script you need python3 installed if not already. to install python3 click [Here](https://github.com/Ahmed-Al-Balochi/LibreGaming#dependencies). * Also you need to enable free and nonfree packages if you are using Fedora to install steam. You can find the commands to enable free and nonfree packages for Fedora [here](https://docs.fedoraproject.org/en-US/quick-docs/setup_rpmfusion/#proc_enabling-the-rpmfusion-repositories-using-command-line-utilities_enabling-the-rpmfusion-repositories): * For OpenSUSE Tumbleweed you need to enable packman repos to install Steam and other packages. You can find that [here](https://en.opensuse.org/Additional_package_repositories) * If you are using Arch Linux or an Arch based system you need to enable 32bit packages found in multilib repo you can enable it by going to this [Arch wiki page](https://wiki.archlinux.org/title/official_repositories#multilib). ## Dependencies: * git 1. Install git For Ubuntu: ``` sudo apt install git ``` 2. Install git For Arch Linux: ``` sudo pacman -S git ``` 3. Install git For Fedora: ``` sudo dnf install git ``` 4. Install git For OpenSUSE Tumbleweed: ``` sudo zypper install git ``` * python3 1. Install Python3 For Ubuntu: ``` sudo apt install python3 ``` 3. Install Python3 For Arch Linux: ``` sudo pacman -S python ``` 3. Install Python3 For Fedora: ``` sudo dnf install python3 ``` 4. Install Python3 For OpenSUSE Tumbleweed: ``` sudo zypper install python3 ``` * python3-pip. 1. Install python3-pip For Ubuntu: ``` sudo apt install python3-pip ``` 2. Install python3-pip For Arch Linux: ``` sudo pacman -S python-pip ``` 3. Install python3-pip For Fedora: ``` sudo dnf install python3-pip ``` 4. Install python3-pip For OpenSUSE Tumbleweed: ``` sudo zypper install python3-pip ``` * [Flatpak](https://flatpak.org/setup/) is needed for installing Athenaeum. # Packages: * These Packages are installed using ```LibreGaming -b ``` 1. [Steam](https://store.steampowered.com/). 2. [Wine-Staging](https://www.winehq.org/). 3. [Gamemode](https://github.com/FeralInteractive/gamemode). ## Optional_Packages * These Packages + the ones above can be installed using ```LibreGaming -g ``` 1. [Lutris](https://github.com/lutris/lutris.git). 2. [Heroic](https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher.git) (Needs AUR enabled on Arch Linux) 3. [mangohud](https://github.com/flightlessmango/MangoHud.git) and [goverlay](https://github.com/benjamimgois/goverlay.git)(Needs AUR enabled on Arch Linux). ### Other_Packages * These Packages have their own install option and they are not included in the above packages. They need to be installed seperatly, to know more click [here](https://github.com/Ahmed-Al-Balochi/LibreGaming#usage) 1. [ProtonGE](https://github.com/GloriousEggroll/proton-ge-custom)(You Must run Steam at least once before installing ProtonGE). 2. [Athenaeum](https://gitlab.com/librebob/athenaeum.git) Launcher for FOSS games. 3. [itch.io](https://itch.io/app) a Launcher for indie games. 4. [Steam Tinker Launch](https://github.com/frostworx/steamtinkerlaunch)(Only for Arch Linux). # Installation: * You can install LibreGaming using pip if you have it installed. click [Here](https://github.com/Ahmed-Al-Balochi/LibreGaming#dependencies) to install pip3: ``` sudo pip3 install LibreGaming ``` * Or you can install LibreGaming script by entering these commands: ``` git clone https://github.com/Ahmed-Al-Balochi/LibreGaming.git LibreGaming/ cd LibreGaming/ sudo python3 setup.py install --user ``` * To update LibreGaming when there is a new release enter this command: ``` sudo pip3 install LibreGaming -U ``` * LibreGaming: command not found. This error can be solved by setting up the PATH in your shell you can do this by entering these lines in your shell file(.bashrc or .zshrc) and by default your shell file is hidden. to show hidden files enter ```ls -al``` in the terminal. * Note that the LibreGaming Script is saved in ~/.local/bin directory by default. ``` ### PATH if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi ``` # Usage: * Note: you can also run this script using ```libregaming``` command if you don't like ```LibreGaming```. Both can be used, so choose what you prefer. * To install all the Gaming packages mentioned in the packages section enter this command: ``` sudo LibreGaming -g ``` * To install Basic Packages(Wine, Steam, Gamemode): ``` sudo LibreGaming -b ``` * To install Lutris Launcher enter this command: ``` sudo LibreGaming --lutris ``` * To install Heroic Launcher enter this command (Don't use sudo if you are using OpenSUSE): ``` sudo LibreGaming --heroic ``` * To install MangoHud & Goverlay enter this command: ``` sudo LibreGaming -o ``` * To install ProtonGE enter this command: ``` LibreGaming -p ``` * To install Athenaeum Launcher enter this command: ``` LibreGaming -ath ``` * To install itch.io Launcher enter this command: ``` LibreGaming --itch ``` * To install Minigalaxy Launcher enter this command: ``` LibreGaming --minigalaxy ``` * To install Steam Tinker Launch(For Arch Linux only) enter this command: ``` LibreGaming --stl ``` ### Protonup_Commands * To list all the available releases of ProtonGE enter this command: ``` LibreGaming --release ``` * To list all the installed verions of ProtonGE enter this command: ``` LibreGaming -l ``` * To install a specfic release of ProtonGE enter this command: for example: ``` LibreGaming -t 6.13-GE-1 ``` * To delete a specfic release of ProtonGE enter this command: for example: ``` LibreGaming -r 6.13-GE-1 ``` # VideoDemo: * This a my video demonstrating LibreGaming in [English](https://www.youtube.com/watch?v=F9GP5Et12qo). And click here for [Arabic](https://www.youtube.com/watch?v=QI8Ai8BTMwo) * This is a video demonstrating LibreGaming made by TechHut: https://www.youtube.com/watch?v=2f2zdViFDYg * This is a video demonstrating LibreGaming made by @BrodieRobertson: https://www.youtube.com/watch?v=sOch-qZMLq0&t=309s # Feedback: * Tell me what distro to add if yours is not available. And what features you'd like to see. * Also please report if there are any bugs in the script. * Your feedback is always welcome. # Credits: * Thanks to [GloriousEggroll](https://github.com/GloriousEggroll/) for ProtonGE. * Thanks to [AUNaseef](https://github.com/AUNaseef/) protonup for making it easier to install ProtonGE. * Thanks to [flightlessmango](https://github.com/flightlessmango/) for mangohud. * Thanks to [benjamimgois](https://github.com/benjamimgois/) for goverlay. * Thanks to anyone who downloads this script, and to everyone who gives me feedback. %package help Summary: Development documents and examples for LibreGaming Provides: python3-LibreGaming-doc %description help - [Distributions](#Distributions) - [Prerequisites](#Prerequisites) - [Dependencies](#Dependencies) - [Packages](#Packages) - [Optional Packages](#Optional_Packages) - [Other Packages](#Other_Packages) - [Installation](#Installation) - [Usage](#Usage) - [Protonup Commands](#Protonup_Commands) - [VideoDemo](#VideoDemo) - [Feedback](#Feedback) - [Credits](#Credits) # Distributions: * I tested this script on these distributions. but it should also work on their derivatives too. 1. Ubuntu(Tested also on Linux Mint, Pop_OS!). 2. Arch Linux. 3. Fedora. 4. OpenSUSE Tumbleweed. # Prerequisites: * You need your drivers installed beforehand for maximum performance under Linux. you can install them by going to this [page](https://github.com/lutris/docs/blob/master/InstallingDrivers.md) * To run this LibreGaming script you need python3 installed if not already. to install python3 click [Here](https://github.com/Ahmed-Al-Balochi/LibreGaming#dependencies). * Also you need to enable free and nonfree packages if you are using Fedora to install steam. You can find the commands to enable free and nonfree packages for Fedora [here](https://docs.fedoraproject.org/en-US/quick-docs/setup_rpmfusion/#proc_enabling-the-rpmfusion-repositories-using-command-line-utilities_enabling-the-rpmfusion-repositories): * For OpenSUSE Tumbleweed you need to enable packman repos to install Steam and other packages. You can find that [here](https://en.opensuse.org/Additional_package_repositories) * If you are using Arch Linux or an Arch based system you need to enable 32bit packages found in multilib repo you can enable it by going to this [Arch wiki page](https://wiki.archlinux.org/title/official_repositories#multilib). ## Dependencies: * git 1. Install git For Ubuntu: ``` sudo apt install git ``` 2. Install git For Arch Linux: ``` sudo pacman -S git ``` 3. Install git For Fedora: ``` sudo dnf install git ``` 4. Install git For OpenSUSE Tumbleweed: ``` sudo zypper install git ``` * python3 1. Install Python3 For Ubuntu: ``` sudo apt install python3 ``` 3. Install Python3 For Arch Linux: ``` sudo pacman -S python ``` 3. Install Python3 For Fedora: ``` sudo dnf install python3 ``` 4. Install Python3 For OpenSUSE Tumbleweed: ``` sudo zypper install python3 ``` * python3-pip. 1. Install python3-pip For Ubuntu: ``` sudo apt install python3-pip ``` 2. Install python3-pip For Arch Linux: ``` sudo pacman -S python-pip ``` 3. Install python3-pip For Fedora: ``` sudo dnf install python3-pip ``` 4. Install python3-pip For OpenSUSE Tumbleweed: ``` sudo zypper install python3-pip ``` * [Flatpak](https://flatpak.org/setup/) is needed for installing Athenaeum. # Packages: * These Packages are installed using ```LibreGaming -b ``` 1. [Steam](https://store.steampowered.com/). 2. [Wine-Staging](https://www.winehq.org/). 3. [Gamemode](https://github.com/FeralInteractive/gamemode). ## Optional_Packages * These Packages + the ones above can be installed using ```LibreGaming -g ``` 1. [Lutris](https://github.com/lutris/lutris.git). 2. [Heroic](https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher.git) (Needs AUR enabled on Arch Linux) 3. [mangohud](https://github.com/flightlessmango/MangoHud.git) and [goverlay](https://github.com/benjamimgois/goverlay.git)(Needs AUR enabled on Arch Linux). ### Other_Packages * These Packages have their own install option and they are not included in the above packages. They need to be installed seperatly, to know more click [here](https://github.com/Ahmed-Al-Balochi/LibreGaming#usage) 1. [ProtonGE](https://github.com/GloriousEggroll/proton-ge-custom)(You Must run Steam at least once before installing ProtonGE). 2. [Athenaeum](https://gitlab.com/librebob/athenaeum.git) Launcher for FOSS games. 3. [itch.io](https://itch.io/app) a Launcher for indie games. 4. [Steam Tinker Launch](https://github.com/frostworx/steamtinkerlaunch)(Only for Arch Linux). # Installation: * You can install LibreGaming using pip if you have it installed. click [Here](https://github.com/Ahmed-Al-Balochi/LibreGaming#dependencies) to install pip3: ``` sudo pip3 install LibreGaming ``` * Or you can install LibreGaming script by entering these commands: ``` git clone https://github.com/Ahmed-Al-Balochi/LibreGaming.git LibreGaming/ cd LibreGaming/ sudo python3 setup.py install --user ``` * To update LibreGaming when there is a new release enter this command: ``` sudo pip3 install LibreGaming -U ``` * LibreGaming: command not found. This error can be solved by setting up the PATH in your shell you can do this by entering these lines in your shell file(.bashrc or .zshrc) and by default your shell file is hidden. to show hidden files enter ```ls -al``` in the terminal. * Note that the LibreGaming Script is saved in ~/.local/bin directory by default. ``` ### PATH if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi ``` # Usage: * Note: you can also run this script using ```libregaming``` command if you don't like ```LibreGaming```. Both can be used, so choose what you prefer. * To install all the Gaming packages mentioned in the packages section enter this command: ``` sudo LibreGaming -g ``` * To install Basic Packages(Wine, Steam, Gamemode): ``` sudo LibreGaming -b ``` * To install Lutris Launcher enter this command: ``` sudo LibreGaming --lutris ``` * To install Heroic Launcher enter this command (Don't use sudo if you are using OpenSUSE): ``` sudo LibreGaming --heroic ``` * To install MangoHud & Goverlay enter this command: ``` sudo LibreGaming -o ``` * To install ProtonGE enter this command: ``` LibreGaming -p ``` * To install Athenaeum Launcher enter this command: ``` LibreGaming -ath ``` * To install itch.io Launcher enter this command: ``` LibreGaming --itch ``` * To install Minigalaxy Launcher enter this command: ``` LibreGaming --minigalaxy ``` * To install Steam Tinker Launch(For Arch Linux only) enter this command: ``` LibreGaming --stl ``` ### Protonup_Commands * To list all the available releases of ProtonGE enter this command: ``` LibreGaming --release ``` * To list all the installed verions of ProtonGE enter this command: ``` LibreGaming -l ``` * To install a specfic release of ProtonGE enter this command: for example: ``` LibreGaming -t 6.13-GE-1 ``` * To delete a specfic release of ProtonGE enter this command: for example: ``` LibreGaming -r 6.13-GE-1 ``` # VideoDemo: * This a my video demonstrating LibreGaming in [English](https://www.youtube.com/watch?v=F9GP5Et12qo). And click here for [Arabic](https://www.youtube.com/watch?v=QI8Ai8BTMwo) * This is a video demonstrating LibreGaming made by TechHut: https://www.youtube.com/watch?v=2f2zdViFDYg * This is a video demonstrating LibreGaming made by @BrodieRobertson: https://www.youtube.com/watch?v=sOch-qZMLq0&t=309s # Feedback: * Tell me what distro to add if yours is not available. And what features you'd like to see. * Also please report if there are any bugs in the script. * Your feedback is always welcome. # Credits: * Thanks to [GloriousEggroll](https://github.com/GloriousEggroll/) for ProtonGE. * Thanks to [AUNaseef](https://github.com/AUNaseef/) protonup for making it easier to install ProtonGE. * Thanks to [flightlessmango](https://github.com/flightlessmango/) for mangohud. * Thanks to [benjamimgois](https://github.com/benjamimgois/) for goverlay. * Thanks to anyone who downloads this script, and to everyone who gives me feedback. %prep %autosetup -n LibreGaming-0.2.4.1 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-LibreGaming -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue May 30 2023 Python_Bot - 0.2.4.1-1 - Package Spec generated