|
Orion Poplawski |
610e314 |
%global srcname pkgconfig
|
|
|
6ebef6d |
%if 0%{?fedora} && 0%{?fedora} <= 30
|
|
|
6ebef6d |
%bcond_without python2
|
|
|
067b54a |
%else
|
|
|
067b54a |
%bcond_with python2
|
|
|
6ebef6d |
%endif
|
|
Orion Poplawski |
610e314 |
|
|
Orion Poplawski |
610e314 |
Name: python-%{srcname}
|
|
|
7d84003 |
Version: 1.5.5
|
|
|
efbf99b |
Release: 2%{?dist}
|
|
|
dfd8404 |
Summary: Python interface to the pkg-config command line tool
|
|
Orion Poplawski |
610e314 |
|
|
Orion Poplawski |
610e314 |
License: MIT
|
|
|
de4750d |
URL: https://github.com/matze/pkgconfig
|
|
|
d5c1375 |
Source: %{pypi_source}
|
|
Orion Poplawski |
610e314 |
|
|
Orion Poplawski |
610e314 |
BuildArch: noarch
|
|
|
7741601 |
|
|
|
7741601 |
%description
|
|
|
7741601 |
pkgconfig is a Python module to interface with the pkg-config command line
|
|
|
7741601 |
tool and supports Python 2.6+.
|
|
|
7741601 |
|
|
|
7741601 |
It can be used to
|
|
|
7741601 |
|
|
|
7741601 |
* check if a package exists
|
|
|
7741601 |
* check if a package meets certain version requirements
|
|
|
7741601 |
* query CFLAGS and LDFLAGS
|
|
|
7741601 |
* parse the output to build extensions with setup.py
|
|
|
7741601 |
|
|
|
7741601 |
If pkg-config is not on the path, raises EnvironmentError.
|
|
|
7741601 |
|
|
|
6ebef6d |
%if %{with python2}
|
|
|
7741601 |
%package -n python2-%{srcname}
|
|
|
d5c1375 |
Summary: Python2 interface to the pkg-config ocmmand line tool
|
|
|
7741601 |
%{?python_provide:%python_provide python2-%{srcname}}
|
|
Orion Poplawski |
610e314 |
BuildRequires: python2-devel
|
|
|
7741601 |
BuildRequires: python2-setuptools
|
|
|
30b00e3 |
Requires: %{_bindir}/pkg-config
|
|
Orion Poplawski |
610e314 |
|
|
|
7741601 |
%description -n python2-%{srcname}
|
|
Orion Poplawski |
610e314 |
pkgconfig is a Python module to interface with the pkg-config command line
|
|
Orion Poplawski |
610e314 |
tool and supports Python 2.6+.
|
|
Orion Poplawski |
610e314 |
|
|
Orion Poplawski |
610e314 |
It can be used to
|
|
Orion Poplawski |
610e314 |
|
|
Orion Poplawski |
610e314 |
* check if a package exists
|
|
Orion Poplawski |
610e314 |
* check if a package meets certain version requirements
|
|
Orion Poplawski |
610e314 |
* query CFLAGS and LDFLAGS
|
|
Orion Poplawski |
610e314 |
* parse the output to build extensions with setup.py
|
|
Orion Poplawski |
610e314 |
|
|
Orion Poplawski |
610e314 |
If pkg-config is not on the path, raises EnvironmentError.
|
|
Orion Poplawski |
610e314 |
|
|
|
7741601 |
Python 2 version.
|
|
|
6ebef6d |
%endif
|
|
|
7741601 |
|
|
|
dfd8404 |
%package -n python3-%{srcname}
|
|
|
d5c1375 |
Summary: Python3 interface to the pkg-config command line tool
|
|
|
dfd8404 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
dfd8404 |
BuildRequires: python3-devel
|
|
|
6ebef6d |
BuildRequires: python3-setuptools
|
|
|
30b00e3 |
Requires: %{_bindir}/pkg-config
|
|
Orion Poplawski |
610e314 |
|
|
|
dfd8404 |
%description -n python3-%{srcname}
|
|
|
7741601 |
pkgconfig is a Python module to interface with the pkg-config command line
|
|
Orion Poplawski |
610e314 |
tool and supports Python 2.6+.
|
|
Orion Poplawski |
610e314 |
|
|
Orion Poplawski |
610e314 |
It can be used to
|
|
Orion Poplawski |
610e314 |
|
|
Orion Poplawski |
610e314 |
* check if a package exists
|
|
Orion Poplawski |
610e314 |
* check if a package meets certain version requirements
|
|
Orion Poplawski |
610e314 |
* query CFLAGS and LDFLAGS
|
|
Orion Poplawski |
610e314 |
* parse the output to build extensions with setup.py
|
|
Orion Poplawski |
610e314 |
|
|
Orion Poplawski |
610e314 |
If pkg-config is not on the path, raises EnvironmentError.
|
|
Orion Poplawski |
610e314 |
|
|
|
7741601 |
Python 3 version.
|
|
Orion Poplawski |
610e314 |
|
|
|
7741601 |
%prep
|
|
|
7741601 |
%autosetup -n %{srcname}-%{version}
|
|
|
6ebef6d |
# We need to keep egg-info as a directory
|
|
|
6ebef6d |
# https://github.com/sdispater/poetry/issues/866
|
|
|
6ebef6d |
sed -i -e s/distutils.core/setuptools/ setup.py
|
|
Orion Poplawski |
610e314 |
|
|
Orion Poplawski |
610e314 |
%build
|
|
|
6ebef6d |
%if %{with python2}
|
|
|
7741601 |
%py2_build
|
|
|
6ebef6d |
%endif
|
|
|
7741601 |
%py3_build
|
|
Orion Poplawski |
610e314 |
|
|
Orion Poplawski |
610e314 |
%install
|
|
|
6ebef6d |
%if %{with python2}
|
|
|
7741601 |
%py2_install
|
|
|
6ebef6d |
%endif
|
|
|
7741601 |
%py3_install
|
|
Orion Poplawski |
610e314 |
|
|
|
6ebef6d |
%if %{with python2}
|
|
|
7741601 |
%files -n python2-%{srcname}
|
|
Orion Poplawski |
3f1c088 |
%license LICENSE
|
|
Orion Poplawski |
3f1c088 |
%doc README.rst
|
|
|
6ebef6d |
%{python2_sitelib}/%{srcname}-*.egg-info/
|
|
|
de4750d |
%{python2_sitelib}/%{srcname}/
|
|
|
6ebef6d |
%endif
|
|
Orion Poplawski |
610e314 |
|
|
|
dfd8404 |
%files -n python3-%{srcname}
|
|
Orion Poplawski |
3f1c088 |
%license LICENSE
|
|
Orion Poplawski |
3f1c088 |
%doc README.rst
|
|
|
6ebef6d |
%{python3_sitelib}/%{srcname}-*.egg-info/
|
|
|
de4750d |
%{python3_sitelib}/%{srcname}/
|
|
Orion Poplawski |
610e314 |
|
|
Orion Poplawski |
610e314 |
%changelog
|
|
|
efbf99b |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-2
|
|
|
efbf99b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
efbf99b |
|
|
|
7d84003 |
* Thu Aug 05 2021 Chedi Toueiti <chedi.toueiti@gmail.com> - 1.5.5-1
|
|
|
7d84003 |
- Update to version 1.5.5 (#1967782)
|
|
|
7d84003 |
|
|
|
acf2637 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-3
|
|
|
acf2637 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
acf2637 |
|
|
|
8a07d75 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.5.2-2
|
|
|
8a07d75 |
- Rebuilt for Python 3.10
|
|
|
8a07d75 |
|
|
|
ee51e98 |
* Sun Mar 21 2021 Chedi Toueiti <chedi.toueiti@gmail.com> - 1.5.2-1
|
|
|
ee51e98 |
- Update to version 1.5.2
|
|
|
ee51e98 |
|
|
|
79f4366 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-9
|
|
|
79f4366 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
79f4366 |
|
|
|
d93b4d2 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-8
|
|
|
d93b4d2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
d93b4d2 |
|
|
|
52775ae |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-7
|
|
|
52775ae |
- Rebuilt for Python 3.9
|
|
|
52775ae |
|
|
|
b9e667c |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-6
|
|
|
b9e667c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
b9e667c |
|
|
|
1c4b2dc |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-5
|
|
|
1c4b2dc |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
1c4b2dc |
|
|
|
efeff0a |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-4
|
|
|
efeff0a |
- Rebuilt for Python 3.8
|
|
|
efeff0a |
|
|
|
6c7872a |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-3
|
|
|
6c7872a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
6c7872a |
|
|
|
067b54a |
* Mon Jul 22 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-2
|
|
|
067b54a |
- Drop python2 for Fedora 31+ (bug #1694619)
|
|
|
067b54a |
|
|
|
6ebef6d |
* Mon Apr 1 2019 Orion Poplawski <orion@nwra.com> - 1.5.1-1
|
|
|
6ebef6d |
- Update to 1.5.1
|
|
|
6ebef6d |
- Patch setup.py to revert to setuptools
|
|
|
6ebef6d |
|
|
|
dfd8404 |
* Sun Mar 31 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.0-1
|
|
|
dfd8404 |
- Update to 1.5.0
|
|
|
dfd8404 |
|
|
|
97adf60 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-4
|
|
|
97adf60 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
97adf60 |
|
|
|
6230cba |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
|
|
|
6230cba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
6230cba |
|
|
|
66848d5 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.3.1-2
|
|
|
66848d5 |
- Rebuilt for Python 3.7
|
|
|
66848d5 |
|
|
|
30b00e3 |
* Sun Feb 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.1-1
|
|
|
30b00e3 |
- Update to 1.3.1
|
|
|
30b00e3 |
|
|
|
9f863c9 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-5
|
|
|
9f863c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
9f863c9 |
|
|
|
cd14ce7 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-4
|
|
|
cd14ce7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
cd14ce7 |
|
|
|
8c43df2 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-3
|
|
|
8c43df2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
8c43df2 |
|
|
|
9c9351e |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.2.2-2
|
|
|
9c9351e |
- Rebuild for Python 3.6
|
|
|
9c9351e |
|
|
|
de4750d |
* Sun Dec 04 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.2.2-1
|
|
|
de4750d |
- Update to 1.2.2
|
|
|
de4750d |
|
|
Orion Poplawski |
3fe3ff1 |
* Wed Oct 12 2016 Orion Poplawski <orion@cora.nwra.com> - 1.1.0-7
|
|
Orion Poplawski |
3fe3ff1 |
- Fix build for EPEL
|
|
Orion Poplawski |
3fe3ff1 |
|
|
|
4935705 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-6
|
|
|
4935705 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
4935705 |
|
|
|
7741601 |
* Sun Feb 14 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.1.0-5
|
|
|
7741601 |
- Make package compliant with new packaging guidelines
|
|
|
7741601 |
|
|
|
49cc90b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
|
|
|
49cc90b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
49cc90b |
|
|
|
709a605 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
|
|
|
709a605 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
709a605 |
|
|
|
747174b |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
|
|
|
747174b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
747174b |
|
|
Orion Poplawski |
3f1c088 |
* Mon May 18 2015 Orion Poplawski <orion@cora.nwra.com> - 1.1.0-1
|
|
Orion Poplawski |
3f1c088 |
- Add BR on python-nose
|
|
Orion Poplawski |
3f1c088 |
- Combined build
|
|
Orion Poplawski |
3f1c088 |
|
|
Orion Poplawski |
610e314 |
* Sun May 17 2015 Orion Poplawski <orion@cora.nwra.com> - 1.1.0-1
|
|
Orion Poplawski |
610e314 |
- Initial package
|