From 77bfd80082a90bd3a313f5d02088ed7e9c4a306d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Jun 09 2019 08:50:36 +0000 Subject: * Fri May 31 2019 Fabian Affolter - 0.1.5-1 - Initial package for Fedora --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3a80f2b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/colour-0.1.5.tar.gz diff --git a/python-colour.spec b/python-colour.spec new file mode 100644 index 0000000..e0e2b6b --- /dev/null +++ b/python-colour.spec @@ -0,0 +1,63 @@ +%global pypi_name colour + +Name: python-%{pypi_name} +Version: 0.1.5 +Release: 1%{?dist} +Summary: Python module to convert and manipulate color representations + +License: BSD +URL: https://github.com/vaab/colour +Source0: %{pypi_source} +BuildArch: noarch + +%description +Converts and manipulates common color representation (RGB, HSL, web, etc.) + +- Damn simple and pythonic way to manipulate color representation +- Full conversion between RGB, HSL, 6-digit hex, 3-digit hex, human color +- One object (Color) or bunch of single purpose function (rgb2hex, hsl2rgb, + etc.) web format that use the smallest representation between 6-digit + (e.g. #fa3b2c), 3-digit (e.g. #fbb), fully spelled color (e.g. white), + following W3C color naming for compatible CSS or HTML color specifications. +- smooth intuitive color scale generation choosing N color gradients. +- can pick colors for you to identify objects of your application. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-d2to1 +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +Converts and manipulates common color representation (RGB, HSL, web, etc.) + +- Damn simple and pythonic way to manipulate color representation +- Full conversion between RGB, HSL, 6-digit hex, 3-digit hex, human color +- One object (Color) or bunch of single purpose function (rgb2hex, hsl2rgb, + etc.) web format that use the smallest representation between 6-digit + (e.g. #fa3b2c), 3-digit (e.g. #fbb), fully spelled color (e.g. white), + following W3C color naming for compatible CSS or HTML color specifications. +- smooth intuitive color scale generation choosing N color gradients. +- can pick colors for you to identify objects of your application. + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%doc README.rst TODO.rst +%license LICENSE +%{python3_sitelib}/*.egg-info +%{python3_sitelib}/%{pypi_name}.py +%{python3_sitelib}/__pycache__/* + +%changelog +* Fri May 31 2019 Fabian Affolter - 0.1.5-1 +- Initial package for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..3f8b81b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (colour-0.1.5.tar.gz) = 09a5160862bf10cd5f4a94e43c63d6f2a5db43bcaae0e9d8f66900113ec04471e22d0bec7412f0289c6f1e6871c1a544f5be36266aa8d6fd5ec274bd461d9df8