update to 0.4.18 [release 0.4.18-1mamba;Sun Jul 31 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 05:27:18 +01:00
parent 6550093423
commit 72d02e0e6d

View File

@ -1,12 +1,12 @@
Name: libproxy
Version: 0.4.17
Version: 0.4.18
Release: 1mamba
Summary: A library that provides automatic proxy configuration management.
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://libproxy.googlecode.com
URL: http://libproxy.github.io/libproxy/
Source: https://github.com/libproxy/libproxy.git/%{version}/libproxy-%{version}.tar.bz2
Patch0: libproxy-0.4.7-gcc-4.7.patch
Patch1: libproxy-0.4.7-xulrunner.patch
@ -15,15 +15,15 @@ Patch3: libproxy-0.4.16-upstream-fix-python-argtypes_must_be_a_sequence.p
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libdbus-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libnm-devel
BuildRequires: libperl
BuildRequires: libpython3-devel
BuildRequires: libpython310-devel
BuildRequires: libstdc++6-devel
BuildRequires: perl-devel
BuildRequires: python3
## AUTOBUILDREQ-END
#%if "%{stage1}" != "1"
#BuildRequires: xulrunner-devel
@ -31,10 +31,9 @@ BuildRequires: python3
BuildRequires: glproto-devel
BuildRequires: libnm-devel
Provides: %{name}-mozjs
Obsoletes: %{name}-mozjs
Obsoletes: %{name}-mozjs < 0.4.18
Provides: %{name}-webkit
Obsoletes: %{name}-webkit
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Obsoletes: %{name}-webkit < 0.4.18
%description
libproxy is a library that provides automatic proxy configuration management.
@ -48,11 +47,11 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
A simple application that will use libproxy to give the results you can expect from other applications.
It can be used to debug what would happen in various cases.
%package -n python-libproxy
Summary: Python 2.7 binding for %{name}
%package -n python-libproxy-py310
Summary: Python 3.10 bindings for %{name}
Group: System/Libraries/Python
%description -n python-libproxy
%description -n python-libproxy-py310
%{summary}.
%package -n python-libproxy-py3
@ -157,24 +156,24 @@ This package contains the Webkit plugin.
%make
cd ..
%ifnarch aarch64
%cmake -d build_py36 \
-DPERL_VENDORINSTALL=yes \
-DWITH_WEBKIT3=OFF \
-DWITH_WEBKIT=OFF \
-DLIBEXEC_INSTALL_DIR=%{_libexecdir} \
-DPYTHON3_EXECUTABLE=%{__python36}
%make
%endif
#cd ..
#
#% ifnarch aarch64
#% cmake -d build_py36 \
# -DPERL_VENDORINSTALL=yes \
# -DWITH_WEBKIT3=OFF \
# -DWITH_WEBKIT=OFF \
# -DLIBEXEC_INSTALL_DIR=%{_libexecdir} \
# -DPYTHON3_EXECUTABLE=%{__python36}
#
#% make
#% endif
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%ifnarch aarch64
%makeinstall -C build_py36
%endif
#%ifnarch aarch64
#% makeinstall -C build_py36
#%endif
%makeinstall -C build
@ -199,19 +198,19 @@ mv %{buildroot}%{_prefix}/lib/python3* %{buildroot}%{_libdir}
%defattr(-,root,root)
%{_bindir}/proxy
%files -n python-libproxy
%defattr(-,root,root)
%{python_sitelib}/libproxy.py
%files -n python-libproxy-py3
%defattr(-,root,root)
%{python3_sitearch}/libproxy.py
%ifnarch aarch64
%files -n python-libproxy-py36
#%ifnarch aarch64
#%files -n python-libproxy-py36
#%defattr(-,root,root)
#%{python36_sitearch}/libproxy.py
#%endif
%files -n python-libproxy-py310
%defattr(-,root,root)
%{python36_sitearch}/libproxy.py
%endif
%{python310_sitearch}/libproxy.py
%files -n perl-Net-Libproxy
%defattr(-,root,root)
@ -255,6 +254,9 @@ mv %{buildroot}%{_prefix}/lib/python3* %{buildroot}%{_libdir}
%changelog
* Sun Jul 31 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.18-1mamba
- update to 0.4.18
* Thu Jan 14 2021 Automatic Build System <autodist@mambasoft.it> 0.4.17-1mamba
- automatic version update by autodist