rebuilt with python 3.6 support [release 0.4.15-2mamba;Sun Mar 31 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 05:27:18 +01:00
parent 8d9a5194a9
commit e834e187ca

View File

@ -1,6 +1,6 @@
Name: libproxy Name: libproxy
Version: 0.4.15 Version: 0.4.15
Release: 1mamba Release: 2mamba
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
@ -14,26 +14,14 @@ Patch2: libproxy-0.4.11-kde-4.10.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
%if "%{stage1}" != "1"
BuildRequires: kdelibs-devel
%endif
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel BuildRequires: libdbus-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgtk2-devel BuildRequires: libnm-devel
BuildRequires: libpango-devel BuildRequires: libperl
BuildRequires: libpython-devel BuildRequires: libpython-devel
BuildRequires: libqt4-devel
BuildRequires: libsoup-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libwebkit-gtk-devel
BuildRequires: perl-devel BuildRequires: perl-devel
BuildRequires: pkg-config
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
#%if "%{stage1}" != "1" #%if "%{stage1}" != "1"
#BuildRequires: xulrunner-devel #BuildRequires: xulrunner-devel
@ -65,6 +53,13 @@ Group: System/Libraries/Python
%description -n python-libproxy %description -n python-libproxy
%{summary}. %{summary}.
%package -n python-libproxy-py36
Summary: Pythin binding for %{name}
Group: System/Libraries/Python
%description -n python-libproxy-py36
%{summary}.
%package -n perl-Net-Libproxy %package -n perl-Net-Libproxy
Summary: Perl binding for %{name} Summary: Perl binding for %{name}
Group: System/Libraries/Perl Group: System/Libraries/Perl
@ -139,7 +134,8 @@ This package contains the Webkit plugin.
-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}
%make %make
@ -147,6 +143,10 @@ This package contains the Webkit plugin.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
%ifarch x86_64
mv %{buildroot}%{_prefix}/lib/python3.6 %{buildroot}%{_libdir}
%endif
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -167,7 +167,10 @@ This package contains the Webkit plugin.
%files -n python-libproxy %files -n python-libproxy
%defattr(-,root,root) %defattr(-,root,root)
%{python_sitelib}/libproxy.py %{python_sitelib}/libproxy.py
%{python3_sitelib}/libproxy.py
%files -n python-libproxy-py36
%defattr(-,root,root)
%{python36_sitearch}/libproxy.py
%files -n perl-Net-Libproxy %files -n perl-Net-Libproxy
%defattr(-,root,root) %defattr(-,root,root)
@ -206,6 +209,9 @@ This package contains the Webkit plugin.
%{_libdir}/libproxy/%{version}/modules/network_networkmanager.so %{_libdir}/libproxy/%{version}/modules/network_networkmanager.so
%changelog %changelog
* Sun Mar 31 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.15-2mamba
- rebuilt with python 3.6 support
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 0.4.15-1mamba * Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 0.4.15-1mamba
- automatic version update by autodist - automatic version update by autodist