summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 03:20:30 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 03:20:30 +0000
commitc6ea2c0918a1bfdc52cf29c77e982ac5773ab9ad (patch)
treede6173239575e24c0266f11fdc572db1010e1d2c
parent5d83fd45b1d862fe74b3b5f73e243fa7ca78a69b (diff)
automatic import of python-an-discordbot
-rw-r--r--.gitignore1
-rw-r--r--python-an-discordbot.spec378
-rw-r--r--sources1
3 files changed, 380 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..08c10ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/AN-DiscordBot-3.9.4.tar.gz
diff --git a/python-an-discordbot.spec b/python-an-discordbot.spec
new file mode 100644
index 0000000..ede0f83
--- /dev/null
+++ b/python-an-discordbot.spec
@@ -0,0 +1,378 @@
+%global _empty_manifest_terminate_build 0
+Name: python-AN-DiscordBot
+Version: 3.9.4
+Release: 1
+Summary: A highly customisable Discord bot
+License: GPL-3.0
+URL: https://github.com/aditya-nugraha-bot
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/73/82/f6bbed5f242132cecf2fa03137c1eb16e54430fc90e1affb49eb9a78c4b4/AN-DiscordBot-3.9.4.tar.gz
+BuildArch: noarch
+
+
+%description
+<h1 align="center">
+ <br>
+ <a href="https://github.com/aditya-nugraha-bot/AN-DiscordBot"><img src="https://imgur.com/pY1WUFX.png" alt="AN - Discord Bot"></a>
+ <br>
+ AN Discord Bot
+ <br>
+</h1>
+
+<h4 align="center">Music, Moderation, Trivia, Stream Alerts and Fully Modular.</h4>
+
+<p align="center">
+ <a href="https://discord.gg/WEMJKXY">
+ <img src="https://discordapp.com/api/guilds/133049272517001216/widget.png?style=shield" alt="Discord Server">
+ </a>
+ <a href="https://www.patreon.com/Red_Devs">
+ <img src="https://img.shields.io/badge/Support-Red!-yellow.svg" alt="Support Red on Patreon!">
+ </a>
+ <a href="https://www.python.org/downloads/">
+ <img src="https://img.shields.io/badge/Made%20With-Python%203.7-blue.svg?style=for-the-badge" alt="Made with Python 3.7">
+ </a>
+ <a href="https://crowdin.com/project/red-discordbot">
+ <img src="https://d322cqt584bo4o.cloudfront.net/red-discordbot/localized.svg" alt="Localized with Crowdin">
+ </a>
+</p>
+<p align="center">
+ <a href="https://github.com/ambv/black">
+ <img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code Style: Black">
+ </a>
+ <a href="http://makeapullrequest.com">
+ <img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg">
+ </a>
+</p>
+
+<p align="center">
+ <a href="#overview">Overview</a>
+ •
+ <a href="#installation">Installation</a>
+ •
+ <a href="http://red-discordbot.readthedocs.io/en/v3-develop/index.html">Documentation</a>
+ •
+ <a href="#plugins">Plugins</a>
+ •
+ <a href="#join-the-community">Community</a>
+ •
+ <a href="#license">License</a>
+</p>
+
+# Overview
+
+AN is a fully modular bot – meaning all features and commands can be enabled/disabled to your
+liking, making it completely customizable. This is also a *self-hosted bot* – meaning you will need
+to host and maintain your own instance. You can turn AN into an admin bot, music bot, trivia bot,
+new best friend or all of these together!
+
+[Installation](#installation) is easy, and you do **NOT** need to know anything about coding! Aside
+from installation and updating, every part of the bot can be controlled from within Discord.
+
+**The default set of modules includes and is not limited to:**
+
+- Customisable command permissions
+
+**Additionally, other [plugins](#plugins) (cogs) can be easily found and added from our growing
+community of cog repositories.**
+
+# Installation
+
+**The following platforms are officially supported:**
+
+- Later
+
+# Plugins
+
+AN is fully modular, allowing you to load and unload plugins of your choice, and install 3rd party
+plugins directly from Discord! A few examples are:
+
+- Cleverbot integration (talk to Red and she talks back)
+- Ban sync
+- Welcome messages
+- Casino
+- Reaction roles
+- Slow Mode
+- Anilist
+- And much, much more!
+
+Feel free to take a [peek](https://cogboard.red/t/approved-repositories/210) at a list of
+available 3rd party cogs!
+
+# Join the community!
+
+**AN** is in continuous development, and it’s supported by an active community which produces new
+content (cogs/plugins) for everyone to enjoy. New features are constantly added.
+
+Join us on our [Official Discord Server](https://discord.gg/WEMJKXY)!
+
+# License
+
+Released under the [GNU GPL v3](https://www.gnu.org/licenses/gpl-3.0.en.html) license.
+
+Red is named after the main character of "Transistor", a video game by
+[Super Giant Games](https://www.supergiantgames.com/games/transistor/).
+
+Artwork created by [Sinlaire](https://sinlaire.deviantart.com/) on Deviant Art for the Red Discord
+Bot Project.
+
+%package -n python3-AN-DiscordBot
+Summary: A highly customisable Discord bot
+Provides: python-AN-DiscordBot
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-AN-DiscordBot
+<h1 align="center">
+ <br>
+ <a href="https://github.com/aditya-nugraha-bot/AN-DiscordBot"><img src="https://imgur.com/pY1WUFX.png" alt="AN - Discord Bot"></a>
+ <br>
+ AN Discord Bot
+ <br>
+</h1>
+
+<h4 align="center">Music, Moderation, Trivia, Stream Alerts and Fully Modular.</h4>
+
+<p align="center">
+ <a href="https://discord.gg/WEMJKXY">
+ <img src="https://discordapp.com/api/guilds/133049272517001216/widget.png?style=shield" alt="Discord Server">
+ </a>
+ <a href="https://www.patreon.com/Red_Devs">
+ <img src="https://img.shields.io/badge/Support-Red!-yellow.svg" alt="Support Red on Patreon!">
+ </a>
+ <a href="https://www.python.org/downloads/">
+ <img src="https://img.shields.io/badge/Made%20With-Python%203.7-blue.svg?style=for-the-badge" alt="Made with Python 3.7">
+ </a>
+ <a href="https://crowdin.com/project/red-discordbot">
+ <img src="https://d322cqt584bo4o.cloudfront.net/red-discordbot/localized.svg" alt="Localized with Crowdin">
+ </a>
+</p>
+<p align="center">
+ <a href="https://github.com/ambv/black">
+ <img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code Style: Black">
+ </a>
+ <a href="http://makeapullrequest.com">
+ <img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg">
+ </a>
+</p>
+
+<p align="center">
+ <a href="#overview">Overview</a>
+ •
+ <a href="#installation">Installation</a>
+ •
+ <a href="http://red-discordbot.readthedocs.io/en/v3-develop/index.html">Documentation</a>
+ •
+ <a href="#plugins">Plugins</a>
+ •
+ <a href="#join-the-community">Community</a>
+ •
+ <a href="#license">License</a>
+</p>
+
+# Overview
+
+AN is a fully modular bot – meaning all features and commands can be enabled/disabled to your
+liking, making it completely customizable. This is also a *self-hosted bot* – meaning you will need
+to host and maintain your own instance. You can turn AN into an admin bot, music bot, trivia bot,
+new best friend or all of these together!
+
+[Installation](#installation) is easy, and you do **NOT** need to know anything about coding! Aside
+from installation and updating, every part of the bot can be controlled from within Discord.
+
+**The default set of modules includes and is not limited to:**
+
+- Customisable command permissions
+
+**Additionally, other [plugins](#plugins) (cogs) can be easily found and added from our growing
+community of cog repositories.**
+
+# Installation
+
+**The following platforms are officially supported:**
+
+- Later
+
+# Plugins
+
+AN is fully modular, allowing you to load and unload plugins of your choice, and install 3rd party
+plugins directly from Discord! A few examples are:
+
+- Cleverbot integration (talk to Red and she talks back)
+- Ban sync
+- Welcome messages
+- Casino
+- Reaction roles
+- Slow Mode
+- Anilist
+- And much, much more!
+
+Feel free to take a [peek](https://cogboard.red/t/approved-repositories/210) at a list of
+available 3rd party cogs!
+
+# Join the community!
+
+**AN** is in continuous development, and it’s supported by an active community which produces new
+content (cogs/plugins) for everyone to enjoy. New features are constantly added.
+
+Join us on our [Official Discord Server](https://discord.gg/WEMJKXY)!
+
+# License
+
+Released under the [GNU GPL v3](https://www.gnu.org/licenses/gpl-3.0.en.html) license.
+
+Red is named after the main character of "Transistor", a video game by
+[Super Giant Games](https://www.supergiantgames.com/games/transistor/).
+
+Artwork created by [Sinlaire](https://sinlaire.deviantart.com/) on Deviant Art for the Red Discord
+Bot Project.
+
+%package help
+Summary: Development documents and examples for AN-DiscordBot
+Provides: python3-AN-DiscordBot-doc
+%description help
+<h1 align="center">
+ <br>
+ <a href="https://github.com/aditya-nugraha-bot/AN-DiscordBot"><img src="https://imgur.com/pY1WUFX.png" alt="AN - Discord Bot"></a>
+ <br>
+ AN Discord Bot
+ <br>
+</h1>
+
+<h4 align="center">Music, Moderation, Trivia, Stream Alerts and Fully Modular.</h4>
+
+<p align="center">
+ <a href="https://discord.gg/WEMJKXY">
+ <img src="https://discordapp.com/api/guilds/133049272517001216/widget.png?style=shield" alt="Discord Server">
+ </a>
+ <a href="https://www.patreon.com/Red_Devs">
+ <img src="https://img.shields.io/badge/Support-Red!-yellow.svg" alt="Support Red on Patreon!">
+ </a>
+ <a href="https://www.python.org/downloads/">
+ <img src="https://img.shields.io/badge/Made%20With-Python%203.7-blue.svg?style=for-the-badge" alt="Made with Python 3.7">
+ </a>
+ <a href="https://crowdin.com/project/red-discordbot">
+ <img src="https://d322cqt584bo4o.cloudfront.net/red-discordbot/localized.svg" alt="Localized with Crowdin">
+ </a>
+</p>
+<p align="center">
+ <a href="https://github.com/ambv/black">
+ <img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code Style: Black">
+ </a>
+ <a href="http://makeapullrequest.com">
+ <img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg">
+ </a>
+</p>
+
+<p align="center">
+ <a href="#overview">Overview</a>
+ •
+ <a href="#installation">Installation</a>
+ •
+ <a href="http://red-discordbot.readthedocs.io/en/v3-develop/index.html">Documentation</a>
+ •
+ <a href="#plugins">Plugins</a>
+ •
+ <a href="#join-the-community">Community</a>
+ •
+ <a href="#license">License</a>
+</p>
+
+# Overview
+
+AN is a fully modular bot – meaning all features and commands can be enabled/disabled to your
+liking, making it completely customizable. This is also a *self-hosted bot* – meaning you will need
+to host and maintain your own instance. You can turn AN into an admin bot, music bot, trivia bot,
+new best friend or all of these together!
+
+[Installation](#installation) is easy, and you do **NOT** need to know anything about coding! Aside
+from installation and updating, every part of the bot can be controlled from within Discord.
+
+**The default set of modules includes and is not limited to:**
+
+- Customisable command permissions
+
+**Additionally, other [plugins](#plugins) (cogs) can be easily found and added from our growing
+community of cog repositories.**
+
+# Installation
+
+**The following platforms are officially supported:**
+
+- Later
+
+# Plugins
+
+AN is fully modular, allowing you to load and unload plugins of your choice, and install 3rd party
+plugins directly from Discord! A few examples are:
+
+- Cleverbot integration (talk to Red and she talks back)
+- Ban sync
+- Welcome messages
+- Casino
+- Reaction roles
+- Slow Mode
+- Anilist
+- And much, much more!
+
+Feel free to take a [peek](https://cogboard.red/t/approved-repositories/210) at a list of
+available 3rd party cogs!
+
+# Join the community!
+
+**AN** is in continuous development, and it’s supported by an active community which produces new
+content (cogs/plugins) for everyone to enjoy. New features are constantly added.
+
+Join us on our [Official Discord Server](https://discord.gg/WEMJKXY)!
+
+# License
+
+Released under the [GNU GPL v3](https://www.gnu.org/licenses/gpl-3.0.en.html) license.
+
+Red is named after the main character of "Transistor", a video game by
+[Super Giant Games](https://www.supergiantgames.com/games/transistor/).
+
+Artwork created by [Sinlaire](https://sinlaire.deviantart.com/) on Deviant Art for the Red Discord
+Bot Project.
+
+%prep
+%autosetup -n AN-DiscordBot-3.9.4
+
+%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-AN-DiscordBot -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 3.9.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..6b2a71e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ef38ebe831092d2d0cfaf534fed7edae AN-DiscordBot-3.9.4.tar.gz