diff --git a/libproxy.spec b/libproxy.spec index d161d55..2974833 100644 --- a/libproxy.spec +++ b/libproxy.spec @@ -1,6 +1,6 @@ Name: libproxy Version: 0.4.15 -Release: 1mamba +Release: 2mamba Summary: A library that provides automatic proxy configuration management. Group: System/Libraries Vendor: openmamba @@ -14,26 +14,14 @@ Patch2: libproxy-0.4.11-kde-4.10.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -%if "%{stage1}" != "1" -BuildRequires: kdelibs-devel -%endif -BuildRequires: libatk-devel -BuildRequires: libcairo-devel BuildRequires: libdbus-devel -BuildRequires: libfontconfig-devel -BuildRequires: libfreetype-devel BuildRequires: libgcc -BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel -BuildRequires: libgtk2-devel -BuildRequires: libpango-devel +BuildRequires: libnm-devel +BuildRequires: libperl BuildRequires: libpython-devel -BuildRequires: libqt4-devel -BuildRequires: libsoup-devel BuildRequires: libstdc++6-devel -BuildRequires: libwebkit-gtk-devel BuildRequires: perl-devel -BuildRequires: pkg-config ## AUTOBUILDREQ-END #%if "%{stage1}" != "1" #BuildRequires: xulrunner-devel @@ -65,6 +53,13 @@ Group: System/Libraries/Python %description -n python-libproxy %{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 Summary: Perl binding for %{name} Group: System/Libraries/Perl @@ -139,7 +134,8 @@ This package contains the Webkit plugin. -DPERL_VENDORINSTALL=yes \ -DWITH_WEBKIT3=OFF \ -DWITH_WEBKIT=OFF \ - -DLIBEXEC_INSTALL_DIR=%{_libexecdir} + -DLIBEXEC_INSTALL_DIR=%{_libexecdir} \ + -DPYTHON3_EXECUTABLE=%{__python36} %make @@ -147,6 +143,10 @@ This package contains the Webkit plugin. [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall +%ifarch x86_64 +mv %{buildroot}%{_prefix}/lib/python3.6 %{buildroot}%{_libdir} +%endif + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -167,7 +167,10 @@ This package contains the Webkit plugin. %files -n python-libproxy %defattr(-,root,root) %{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 %defattr(-,root,root) @@ -206,6 +209,9 @@ This package contains the Webkit plugin. %{_libdir}/libproxy/%{version}/modules/network_networkmanager.so %changelog +* Sun Mar 31 2019 Silvan Calarco 0.4.15-2mamba +- rebuilt with python 3.6 support + * Tue Aug 08 2017 Automatic Build System 0.4.15-1mamba - automatic version update by autodist