Blame python-batalgorithm.spec

1f4c08f
%global pretty_name BatAlgorithm
1f4c08f
%global extract_name buma-BatAlgorithm-d913e9d
1f4c08f
%global new_name batalgorithm
1f4c08f
1f4c08f
%global _description %{expand:
1f4c08f
Implementation of Bat Algorithm in Python.}
1f4c08f
1f4c08f
Name:           python-%{new_name}
1f4c08f
Version:        0.3.1
301cef7
Release:        6%{?dist}
1f4c08f
Summary:        Bat Algorithm for optimization
1f4c08f
1f4c08f
License:        MIT
1f4c08f
URL:            https://github.com/buma/BatAlgorithm
1f4c08f
Source0:        %{url}/tarball/master/%{extract_name}.tar.gz
1f4c08f
1f4c08f
BuildArch:      noarch
1f4c08f
1f4c08f
%description %_description
1f4c08f
1f4c08f
%package -n python3-%{new_name}
1f4c08f
Summary:        %{summary}
1f4c08f
BuildRequires:  python3-devel
1f4c08f
BuildRequires:  python3-setuptools
1f4c08f
1f4c08f
%description -n python3-%{new_name} %_description
1f4c08f
1f4c08f
%prep
1f4c08f
%autosetup -n %{extract_name}
1f4c08f
1f4c08f
%build
1f4c08f
%py3_build
1f4c08f
1f4c08f
%install
1f4c08f
%py3_install
1f4c08f
1f4c08f
%files -n python3-%{new_name}
1f4c08f
%license LICENSE
1f4c08f
%doc README.md
1f4c08f
%{python3_sitelib}/%{pretty_name}-%{version}-py%{python3_version}.egg-info
1f4c08f
%pycached %{python3_sitelib}/%{pretty_name}.py
1f4c08f
1f4c08f
%changelog
301cef7
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-6
301cef7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
301cef7
90e34cd
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.3.1-5
90e34cd
- Rebuilt for Python 3.11
90e34cd
e55d0f6
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-4
e55d0f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
e55d0f6
82f72a7
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-3
82f72a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
82f72a7
459ef5f
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.3.1-2
459ef5f
- Rebuilt for Python 3.10
459ef5f
1f4c08f
* Sun Feb 14 2021 Iztok Fister Jr. <iztokf AT fedoraproject DOT org> - 0.3.1-1
1f4c08f
- Package rename (BatAlgorithm -> batalgorithm)
1f4c08f
1f4c08f
* Tue Feb 9 2021 Iztok Fister Jr. <iztokf AT fedoraproject DOT org> - 0.3.1-1
1f4c08f
- Initial package