From 1f4c08f7335a39d331759840397710c6a9bf7440 Mon Sep 17 00:00:00 2001 From: iztokf Date: Feb 17 2021 20:05:40 +0000 Subject: Initial import --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a94d7bb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/buma-BatAlgorithm-d913e9d.tar.gz diff --git a/python-batalgorithm.spec b/python-batalgorithm.spec new file mode 100644 index 0000000..b548edb --- /dev/null +++ b/python-batalgorithm.spec @@ -0,0 +1,48 @@ +%global pretty_name BatAlgorithm +%global extract_name buma-BatAlgorithm-d913e9d +%global new_name batalgorithm + +%global _description %{expand: +Implementation of Bat Algorithm in Python.} + +Name: python-%{new_name} +Version: 0.3.1 +Release: 1%{?dist} +Summary: Bat Algorithm for optimization + +License: MIT +URL: https://github.com/buma/BatAlgorithm +Source0: %{url}/tarball/master/%{extract_name}.tar.gz + +BuildArch: noarch + +%description %_description + +%package -n python3-%{new_name} +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description -n python3-%{new_name} %_description + +%prep +%autosetup -n %{extract_name} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{new_name} +%license LICENSE +%doc README.md +%{python3_sitelib}/%{pretty_name}-%{version}-py%{python3_version}.egg-info +%pycached %{python3_sitelib}/%{pretty_name}.py + +%changelog +* Sun Feb 14 2021 Iztok Fister Jr. - 0.3.1-1 +- Package rename (BatAlgorithm -> batalgorithm) + +* Tue Feb 9 2021 Iztok Fister Jr. - 0.3.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..38ce1ad --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (buma-BatAlgorithm-d913e9d.tar.gz) = e3a454ef5fd24d47e226c495215cda80022ef114d522e8e8076f16386b4bbc07dd44f8686d4b95ee69ab3a858f7b6dd5f6aa94d540f9d7ea7996f9c19ec16939