|
 |
c28d880 |
%global pypi_name wloc
|
|
 |
faea0c2 |
|
|
 |
7349b6e |
%global _description %{expand:
|
|
 |
7349b6e |
This package provides a Wi-Fi geolocation library and tool.
|
|
 |
faea0c2 |
|
|
 |
7349b6e |
WLoc is a simple command-line Wi-Fi geolocation tool, which can be used to
|
|
 |
7349b6e |
locate user by using global Wi-Fi database (no GPS required).
|
|
 |
7349b6e |
|
|
 |
7349b6e |
It supports different geolocation backends.}
|
|
 |
7349b6e |
|
|
 |
c28d880 |
Name: python-%{pypi_name}
|
|
 |
588309f |
Version: 1.0.1
|
|
 |
e573d1f |
Release: 2%{?dist}
|
|
 |
faea0c2 |
|
|
 |
49f543f |
# Main code - GPL-3.0-or-later.
|
|
 |
7349b6e |
# pywifi - MIT.
|
|
 |
49f543f |
# Icon - Apache-2.0.
|
|
 |
49f543f |
License: GPL-3.0-or-later AND MIT AND Apache-2.0
|
|
 |
7349b6e |
Summary: Simple Wi-Fi geolocation library and tool
|
|
 |
c28d880 |
URL: https://github.com/xvitaly/%{pypi_name}
|
|
 |
c28d880 |
Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
|
|
 |
c28d880 |
BuildArch: noarch
|
|
 |
faea0c2 |
|
|
 |
faea0c2 |
BuildRequires: doxygen
|
|
 |
7349b6e |
BuildRequires: pandoc
|
|
 |
7349b6e |
BuildRequires: python3-devel
|
|
 |
223c9df |
|
|
 |
7349b6e |
%description %_description
|
|
 |
faea0c2 |
|
|
 |
c28d880 |
%package -n python3-%{pypi_name}
|
|
 |
7349b6e |
Summary: %{summary}
|
|
 |
faea0c2 |
|
|
 |
c28d880 |
%description -n python3-%{pypi_name} %_description
|
|
 |
7349b6e |
|
|
 |
7349b6e |
%package doc
|
|
 |
7349b6e |
Summary: Documentation for the %{name}
|
|
 |
7349b6e |
|
|
 |
7349b6e |
%description doc
|
|
 |
7349b6e |
This package provides auto-generated by Doxygen documentation for
|
|
 |
7349b6e |
the %{name} package.
|
|
 |
faea0c2 |
|
|
 |
faea0c2 |
%prep
|
|
 |
c28d880 |
%autosetup -n %{pypi_name}-%{version} -p1
|
|
 |
c28d880 |
|
|
 |
c28d880 |
%generate_buildrequires
|
|
 |
c28d880 |
%pyproject_buildrequires -r
|
|
 |
faea0c2 |
|
|
 |
faea0c2 |
%build
|
|
 |
c28d880 |
%pyproject_wheel
|
|
 |
7349b6e |
doxygen
|
|
 |
c28d880 |
pandoc packaging/assets/manpage.md -s -t man > packaging/assets/%{pypi_name}.1
|
|
 |
7349b6e |
|
|
 |
faea0c2 |
%install
|
|
 |
c28d880 |
%pyproject_install
|
|
 |
c28d880 |
%pyproject_save_files %{pypi_name}
|
|
 |
3a6ae9a |
install -D -p -m 0644 packaging/assets/%{pypi_name}.1 %{buildroot}%{_mandir}/man1/%{pypi_name}.1
|
|
 |
7349b6e |
|
|
 |
c28d880 |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
 |
7349b6e |
%doc README.md
|
|
 |
cbd405b |
%license LICENSE licenses/*
|
|
 |
c28d880 |
%{_bindir}/%{pypi_name}
|
|
 |
c28d880 |
%{_mandir}/man1/%{pypi_name}.1*
|
|
 |
7349b6e |
|
|
 |
7349b6e |
%files doc
|
|
 |
3a6ae9a |
%doc docs/html/*
|
|
 |
faea0c2 |
|
|
 |
faea0c2 |
%changelog
|
|
 |
e573d1f |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
|
|
 |
e573d1f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
e573d1f |
|
|
 |
588309f |
* Thu Dec 15 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 1.0.1-1
|
|
 |
588309f |
- Updated to version 1.0.1.
|
|
 |
588309f |
|
|
 |
49f543f |
* Mon Dec 12 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 1.0.0-1
|
|
 |
49f543f |
- Updated to version 1.0.0.
|
|
 |
49f543f |
- Converted license tag to SPDX.
|
|
 |
49f543f |
|
|
 |
ffbae6d |
* Mon Aug 08 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.9.2-1
|
|
 |
ffbae6d |
- Updated to version 0.9.2.
|
|
 |
ffbae6d |
|
|
 |
dfa215f |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
|
|
 |
dfa215f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
dfa215f |
|
|
 |
ae9e0f5 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.9.1-2
|
|
 |
ae9e0f5 |
- Rebuilt for Python 3.11
|
|
 |
ae9e0f5 |
|
|
 |
a372a7b |
* Sat May 07 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.9.1-1
|
|
 |
a372a7b |
- Updated to version 0.9.1.
|
|
 |
a372a7b |
|
|
 |
e5df025 |
* Sat May 07 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.9.0-1
|
|
 |
e5df025 |
- Updated to version 0.9.0.
|
|
 |
e5df025 |
|
|
 |
3a6ae9a |
* Mon Apr 18 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.0-1
|
|
 |
3a6ae9a |
- Updated to version 0.8.0.
|
|
 |
3a6ae9a |
|
|
 |
0f9ec95 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-4
|
|
 |
0f9ec95 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
0f9ec95 |
|
|
 |
c28d880 |
* Sun Dec 12 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.7.0-3
|
|
 |
c28d880 |
- Converted SPEC to 201x-era guidelines.
|
|
 |
c28d880 |
|
|
 |
6684287 |
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
|
|
 |
6684287 |
- Second attempt - Rebuilt for
|
|
 |
6684287 |
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
6684287 |
|
|
 |
cc2ca25 |
* Sat Jun 19 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.7.0-1
|
|
 |
cc2ca25 |
- Updated to version 0.7.0.
|
|
 |
cc2ca25 |
|
|
 |
879b776 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.6.0-2
|
|
 |
879b776 |
- Rebuilt for Python 3.10
|
|
 |
879b776 |
|
|
 |
7349b6e |
* Sun May 30 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.0-1
|
|
 |
7349b6e |
- Updated to version 0.6.0.
|
|
 |
7349b6e |
|
|
 |
223c9df |
* Sat May 15 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.0-1
|
|
 |
223c9df |
- Updated to version 0.5.0.
|
|
 |
223c9df |
|
|
 |
ed4ae7f |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-6
|
|
 |
ed4ae7f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
ed4ae7f |
|
|
 |
80cdcff |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-5
|
|
 |
80cdcff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
80cdcff |
|
|
 |
a9aeab7 |
* Wed Jun 24 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.0-4
|
|
 |
a9aeab7 |
- Added python3-setuptools to build requirements.
|
|
 |
a9aeab7 |
|
|
 |
a6d9de0 |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.4.0-3
|
|
 |
a6d9de0 |
- Rebuilt for Python 3.9
|
|
 |
a6d9de0 |
|
|
 |
07207c3 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
|
|
 |
07207c3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
07207c3 |
|
|
 |
faea0c2 |
* Tue Dec 24 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.0-1
|
|
 |
faea0c2 |
- Updated to version 0.4.0.
|