95 lines
3.0 KiB
RPMSpec
95 lines
3.0 KiB
RPMSpec
Name: python-cssselect
|
|
Version: 1.2.0
|
|
Release: 2mamba
|
|
Summary: cssselect parses CSS3 Selectors and translates them to XPath 1.0
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://pypi.org/project/cssselect/
|
|
Source: http://pypi.debian.net/cssselect/cssselect-%{version}.tar.gz
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython311-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
|
BuildRequires: libpython3-devel >= 3.7.4
|
|
Requires: python >= %python_version
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%if "%{?with_pyver}"
|
|
%pyver_package
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -n cssselect-%{version}
|
|
|
|
%build
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%{__python} setup.py install \
|
|
-O1 --skip-build \
|
|
--root="%{buildroot}" \
|
|
--install-headers=%{_includedir}/python \
|
|
--install-lib=%{python_sitearch} \
|
|
--single-version-externally-managed \
|
|
--record=%{name}.filelist
|
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
## note: this list is just an example; modify as required
|
|
# %{python_sitearch}/%{name}.py*
|
|
# %{python_sitearch}/%{name}.so
|
|
%doc AUTHORS LICENSE
|
|
## note: eventually add the remaining documents (if any)
|
|
# %doc CHANGES README.rst
|
|
|
|
%changelog
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 1.2.0-2mamba
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
* Fri Oct 28 2022 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Aug 29 2019 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-2mamba
|
|
- rebuilt with python3 3.7.4
|
|
|
|
* Thu Dec 28 2017 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jan 11 2017 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Oct 25 2016 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jun 18 2016 Automatic Build System <autodist@mambasoft.it> 0.9.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jun 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-2mamba
|
|
- rebuilt with -py3 package
|
|
|
|
* Thu Nov 21 2013 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Oct 15 2013 Automatic Build System <autodist@mambasoft.it> 0.9-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8-2mamba
|
|
- python 2.7 mass rebuild
|
|
|
|
* Tue Mar 19 2013 Automatic Build System <autodist@mambasoft.it> 0.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Dec 23 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-1mamba
|
|
- package created by silvan using the webbuild interface
|