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