2e9921c
%global srcname munkres
Fabian Affolter c472e27
2e9921c
Name:           python-%{srcname}
12c31b8
Version:        1.1.2
7303f0c
Release:        19%{?dist}
Fabian Affolter c472e27
Summary:        A Munkres algorithm for Python
Fabian Affolter c472e27
a5f5a97
License:        Apache-2.0
Fabian Affolter c472e27
URL:            http://software.clapper.org/munkres/
41d4b1d
Source0:        https://github.com/bmc/munkres/archive/release-%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
Fabian Affolter c472e27
Buildarch:      noarch
Fabian Affolter c472e27
Fabian Affolter c472e27
%description
Fabian Affolter c472e27
The Munkres module provides an implementation of the Munkres algorithm (also
Fabian Affolter c472e27
called the Hungarian algorithm or the Kuhn-Munkres algorithm). The algorithm
Fabian Affolter c472e27
models an assignment problem as an NxM cost matrix, where each element
Fabian Affolter c472e27
represents the cost of assigning the ith worker to the jth job, and it figures
Fabian Affolter c472e27
out the least-cost solution, choosing a single item from each row and column in
Fabian Affolter c472e27
the matrix, such that no row and no column are used more than once.
Fabian Affolter c472e27
2e9921c
%package -n python3-%{srcname}
2e9921c
Summary:        %{summary}
12c31b8
12c31b8
BuildRequires:  python3-devel
12c31b8
BuildRequires:  python3-setuptools
2e9921c
%{?python_provide:%python_provide python3-%{srcname}}
Fabian Affolter c472e27
2e9921c
%description -n python3-%{srcname}
Fabian Affolter c472e27
The Munkres module provides an implementation of the Munkres algorithm (also
Fabian Affolter c472e27
called the Hungarian algorithm or the Kuhn-Munkres algorithm). The algorithm
Fabian Affolter c472e27
models an assignment problem as an NxM cost matrix, where each element
Fabian Affolter c472e27
represents the cost of assigning the ith worker to the jth job, and it figures
Fabian Affolter c472e27
out the least-cost solution, choosing a single item from each row and column in
Fabian Affolter c472e27
the matrix, such that no row and no column are used more than once.
Fabian Affolter c472e27
Fabian Affolter c472e27
%prep
41d4b1d
%autosetup -n %{srcname}-release-%{version}
Fabian Affolter c472e27
Fabian Affolter c472e27
%build
2e9921c
%py3_build
Fabian Affolter c472e27
Fabian Affolter c472e27
%install
2e9921c
%py3_install
2e9921c
2e9921c
%files -n python3-%{srcname}
1a3acaa
%doc CHANGELOG.md README.md
1a3acaa
%license LICENSE.md
2e9921c
%{python3_sitelib}/%{srcname}.py*
2e9921c
%{python3_sitelib}/%{srcname}*.egg-info
2e9921c
%{python3_sitelib}/__pycache__/%{srcname}*
Fabian Affolter c472e27
Fabian Affolter c472e27
%changelog
7303f0c
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-19
7303f0c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
7303f0c
75f5c03
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-18
75f5c03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
75f5c03
a5f5a97
* Wed Aug 09 2023 Parag Nemade <pnemade AT redhat DOT com> - 1.1.2-17
a5f5a97
- Convert license to SPDX expression
a5f5a97
e239a03
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-16
e239a03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
e239a03
75bba1e
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.1.2-15
75bba1e
- Rebuilt for Python 3.12
75bba1e
d3020d4
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-14
d3020d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
d3020d4
3b0a1a7
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-13
3b0a1a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
3b0a1a7
4e20c8d
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.1.2-12
4e20c8d
- Rebuilt for Python 3.11
4e20c8d
3cea43e
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-11
3cea43e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
3cea43e
9a8d83b
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-10
9a8d83b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
9a8d83b
1320f03
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.1.2-9
1320f03
- Rebuilt for Python 3.10
1320f03
fb0bd1f
* Sun May 16 2021 Parag Nemade <pnemade AT redhat DOT com> - 1.1.2-8
fb0bd1f
- License corrected to ASL 2.0
fb0bd1f
- See upstream commit 4bdf076 and release 1.0.7
fb0bd1f
db6ced8
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-7
db6ced8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
db6ced8
d415669
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-6
d415669
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d415669
d241896
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-5
d241896
- Rebuilt for Python 3.9
d241896
90bc53f
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-4
90bc53f
- Rebuilt for Python 3.8.0rc1 (#1748018)
90bc53f
1edebb2
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-3
1edebb2
- Rebuilt for Python 3.8
1edebb2
f455e7b
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-2
f455e7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f455e7b
12c31b8
* Sat Jun 01 2019 Fabian Affolter <mail@fabian-affolter.ch> - 1.1.2-1
12c31b8
- Update to latest upstream release 1.1.2
12c31b8
adc9745
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-9
adc9745
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
adc9745
5192868
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.12-8
5192868
- Subpackage python2-munkres has been removed
5192868
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
5192868
58f390f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-7
58f390f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
58f390f
4d87ef1
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.12-6
4d87ef1
- Rebuilt for Python 3.7
4d87ef1
0b472c4
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.12-5
0b472c4
- Rebuilt for Python 3.7
0b472c4
a6aca33
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-4
a6aca33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a6aca33
1c67be9
* Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.12-3
1c67be9
- Update Python 2 dependency declarations to new packaging standards
1c67be9
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
1c67be9
16e56a3
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-2
16e56a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
16e56a3
1a3acaa
* Thu Jun 29 2017 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.12-1
41d4b1d
- Update to latest upstream release 1.0.12
41d4b1d
cef6a28
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-3
cef6a28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
cef6a28
5dd7c33
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.8-2
5dd7c33
- Rebuild for Python 3.6
5dd7c33
2e9921c
* Tue Nov 15 2016 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.8-1
2e9921c
- Update to latest upstream release 1.0.8
2e9921c
70ce971
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-5
70ce971
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
70ce971
f0172b2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-4
f0172b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f0172b2
6b211a9
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-3
6b211a9
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
6b211a9
c9629bd
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-2
c9629bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c9629bd
Fabian Affolter c472e27
* Sun Mar 15 2015 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.7-1
Fabian Affolter c472e27
- Update spec file
Fabian Affolter c472e27
- Update to latest upstream release 1.0.7
Fabian Affolter c472e27
Fabian Affolter c472e27
* Fri Sep 13 2013 Ian Weller <iweller@redhat.com> - 1.0.5.4-1
Fabian Affolter c472e27
- Initial package build