update libproxy to 0.4.18

This commit is contained in:
sherlock2010 2022-11-03 13:30:41 +00:00
parent 32254a7475
commit 520e33fb92
3 changed files with 16 additions and 10 deletions

Binary file not shown.

BIN
libproxy-0.4.18.tar.gz Normal file

Binary file not shown.

View File

@ -1,5 +1,5 @@
Name: libproxy
Version: 0.4.17
Version: 0.4.18
Release: 1
Summary: Libproxy is a library that provides automatic proxy configuration management
@ -11,7 +11,7 @@ Source1: proxy.1
BuildRequires: cmake >= 2.6.0 gcc-c++
BuildRequires: pkgconfig(gio-2.0) >= 2.26 pkgconfig(libnm) python3-devel
BuildRequires: pkgconfig(dbus-1) pkgconfig(javascriptcoregtk-4.0)
BuildRequires: pkgconfig(dbus-1) pkgconfig(duktape)
Provides: %{name}-bin %{name}-gnome %{name}-kde %{name}-networkmanager %{name}-pacrunner
Obsoletes: %{name}-bin %{name}-gnome %{name}-kde %{name}-mozjs %{name}-networkmanager %{name}-pacrunner
@ -34,13 +34,13 @@ BuildArch: noarch
%description -n python3-%{name}
The python3 binding for libproxy.
%package webkitgtk4
Summary: plugin for webkit2gtk3
%package duktape
Summary: plugin for duktape
Requires: %{name} = %{version}-%{release}
Provides: %{name}-pac = %{version}-%{release}
%description webkitgtk4
plugin for webkit2gtk3.
%description duktape
plugin for duktape.
%package devel
Summary: Libproxy provides consistent proxy configuration to applications - Development Files
@ -59,7 +59,7 @@ This package contains libraries and header files for developing applications.
-DMODULE_INSTALL_DIR=%{_libdir}/%{name}/%{version}/modules \
-DBIPR=OFF \
-DWITH_PERL=OFF -DWITH_GNOME3=ON \
-DWITH_PYTHON3=ON -DWITH_WEBKIT3=ON -DWITH_MOZJS=OFF .
-DWITH_PYTHON3=ON -DWITH_WEBKIT3=OFF -DWITH_DUKTAPE=ON -DWITH_MOZJS=OFF .
%make_build
%install
@ -81,16 +81,16 @@ make test
%{_bindir}/proxy
%{_libdir}/%{name}/%{version}/modules/*
%{_libexecdir}/pxgsettings
%exclude %{_libdir}/%{name}/%{version}/modules/pacrunner_webkit.so
%exclude %{_libdir}/%{name}/%{version}/modules/pacrunner_duktape.so
%files -n python3-%{name}
%defattr(-,root,root)
%{python3_sitelib}/__pycache__/*
%{python3_sitelib}/%{name}.*
%files webkitgtk4
%files duktape
%defattr(-,root,root)
%{_libdir}/%{name}/%{version}/modules/pacrunner_webkit.so
%{_libdir}/%{name}/%{version}/modules/pacrunner_duktape.so
%files devel
%defattr(-,root,root)
@ -104,6 +104,12 @@ make test
%{_mandir}/man1/proxy.1*
%changelog
* Thu Nov 03 2022 zhouyihang <zhouyihang3@h-partners.com> - 0.4.18-1
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update libproxy to 0.4.18
* Thu Jan 28 2021 xihaochen <xihaochen@huawei.com> - 0.4.17-1
- Type:requirements
- Id:NA