From 71b8ad0dce761faea24a42665602c31944a9ea40 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 14:09:43 +0000 Subject: automatic import of python-pywal --- .gitignore | 1 + python-pywal.spec | 144 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 146 insertions(+) create mode 100644 python-pywal.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..d575b43 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pywal-3.3.0.tar.gz diff --git a/python-pywal.spec b/python-pywal.spec new file mode 100644 index 0000000..4db24fe --- /dev/null +++ b/python-pywal.spec @@ -0,0 +1,144 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pywal +Version: 3.3.0 +Release: 1 +Summary: Generate and change color-schemes on the fly +License: MIT +URL: https://github.com/dylanaraps/pywal +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/57/55/2b694e4f42837653258540f7bbf7206e4fac651960aba69ce4fbb5427875/pywal-3.3.0.tar.gz +BuildArch: noarch + + +%description +

+

Generate and change color-schemes on the fly.

+ +

+ + + + + + +

+ +img + +Pywal is a tool that generates a color palette from the dominant colors in an image. It then applies the colors system-wide and on-the-fly in all of your favourite programs. + +There are currently 5 supported color generation backends, each providing a different palette of colors from each image. You're bound to find an appealing color-scheme. + +Pywal also supports predefined themes and has over 250 themes built-in. You can also create your own theme files to share with others. + +The goal of Pywal was to be as out of the way as possible. It doesn't modify any of your existing configuration files. Instead it works around them and provides tools to integrate your system as you see fit. + +Terminal emulators and TTYs have their color-schemes updated in real-time with no delay. With minimal configuration this functionality can be extended to almost anything running on your system. + +### More: \[[Installation](https://github.com/dylanaraps/pywal/wiki/Installation)\] \[[Getting Started](https://github.com/dylanaraps/pywal/wiki/Getting-Started)\] \[[Customization](https://github.com/dylanaraps/pywal/wiki/Customization)\] \[[Wiki](https://github.com/dylanaraps/pywal/wiki)\] \[[Screenshots](https://www.reddit.com/r/unixporn/search?q=wal&restrict_sr=on&sort=relevance&t=all)\] + +%package -n python3-pywal +Summary: Generate and change color-schemes on the fly +Provides: python-pywal +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pywal +

+

Generate and change color-schemes on the fly.

+ +

+ + + + + + +

+ +img + +Pywal is a tool that generates a color palette from the dominant colors in an image. It then applies the colors system-wide and on-the-fly in all of your favourite programs. + +There are currently 5 supported color generation backends, each providing a different palette of colors from each image. You're bound to find an appealing color-scheme. + +Pywal also supports predefined themes and has over 250 themes built-in. You can also create your own theme files to share with others. + +The goal of Pywal was to be as out of the way as possible. It doesn't modify any of your existing configuration files. Instead it works around them and provides tools to integrate your system as you see fit. + +Terminal emulators and TTYs have their color-schemes updated in real-time with no delay. With minimal configuration this functionality can be extended to almost anything running on your system. + +### More: \[[Installation](https://github.com/dylanaraps/pywal/wiki/Installation)\] \[[Getting Started](https://github.com/dylanaraps/pywal/wiki/Getting-Started)\] \[[Customization](https://github.com/dylanaraps/pywal/wiki/Customization)\] \[[Wiki](https://github.com/dylanaraps/pywal/wiki)\] \[[Screenshots](https://www.reddit.com/r/unixporn/search?q=wal&restrict_sr=on&sort=relevance&t=all)\] + +%package help +Summary: Development documents and examples for pywal +Provides: python3-pywal-doc +%description help +

+

Generate and change color-schemes on the fly.

+ +

+ + + + + + +

+ +img + +Pywal is a tool that generates a color palette from the dominant colors in an image. It then applies the colors system-wide and on-the-fly in all of your favourite programs. + +There are currently 5 supported color generation backends, each providing a different palette of colors from each image. You're bound to find an appealing color-scheme. + +Pywal also supports predefined themes and has over 250 themes built-in. You can also create your own theme files to share with others. + +The goal of Pywal was to be as out of the way as possible. It doesn't modify any of your existing configuration files. Instead it works around them and provides tools to integrate your system as you see fit. + +Terminal emulators and TTYs have their color-schemes updated in real-time with no delay. With minimal configuration this functionality can be extended to almost anything running on your system. + +### More: \[[Installation](https://github.com/dylanaraps/pywal/wiki/Installation)\] \[[Getting Started](https://github.com/dylanaraps/pywal/wiki/Getting-Started)\] \[[Customization](https://github.com/dylanaraps/pywal/wiki/Customization)\] \[[Wiki](https://github.com/dylanaraps/pywal/wiki)\] \[[Screenshots](https://www.reddit.com/r/unixporn/search?q=wal&restrict_sr=on&sort=relevance&t=all)\] + +%prep +%autosetup -n pywal-3.3.0 + +%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-pywal -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot - 3.3.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..38bdef0 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +b71abc095e27c5bddada0c7075a1e70f pywal-3.3.0.tar.gz -- cgit v1.2.3