!47 update libproxy to 0.5.3
From: @sherlock2010 Reviewed-by: @gebidelidaye Signed-off-by: @gebidelidaye
This commit is contained in:
commit
74750205e4
Binary file not shown.
BIN
libproxy-0.5.3.tar.gz
Normal file
BIN
libproxy-0.5.3.tar.gz
Normal file
Binary file not shown.
@ -1,20 +1,20 @@
|
|||||||
Name: libproxy
|
Name: libproxy
|
||||||
Version: 0.4.18
|
Version: 0.5.3
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Libproxy is a library that provides automatic proxy configuration management
|
Summary: Libproxy is a library that provides automatic proxy configuration management
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPL-2.1-or-later
|
||||||
URL: https://libproxy.github.io/libproxy/
|
URL: https://libproxy.github.io/libproxy/
|
||||||
Source0: https://github.com/libproxy/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/libproxy/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
# Source1 comes from the Debian package.
|
|
||||||
Source1: proxy.1
|
|
||||||
|
|
||||||
BuildRequires: cmake >= 2.6.0 gcc-c++
|
BuildRequires: gcc meson vala gi-docgen
|
||||||
BuildRequires: pkgconfig(gio-2.0) >= 2.26 pkgconfig(libnm) python3-devel
|
BuildRequires: pkgconfig(gio-2.0) >= 2.71.3 pkgconfig(gsettings-desktop-schemas) python3-devel
|
||||||
BuildRequires: pkgconfig(dbus-1) pkgconfig(duktape)
|
BuildRequires: pkgconfig(duktape) pkgconfig(gobject-introspection-1.0) pkgconfig(libcurl)
|
||||||
|
|
||||||
Provides: %{name}-bin %{name}-gnome %{name}-kde %{name}-networkmanager %{name}-pacrunner
|
Provides: %{name}-bin %{name}-gnome %{name}-kde %{name}-networkmanager %{name}-pacrunner
|
||||||
Obsoletes: %{name}-bin %{name}-gnome %{name}-kde %{name}-mozjs %{name}-networkmanager %{name}-pacrunner
|
Obsoletes: %{name}-bin %{name}-gnome %{name}-kde %{name}-mozjs %{name}-networkmanager %{name}-pacrunner
|
||||||
|
Provides: %{name}-duktape = %{version}-%{release} python3-%{name} = %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-duktape < %{version}-%{release} python3-%{name} < %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libproxy offers the following features:
|
libproxy offers the following features:
|
||||||
@ -25,23 +25,6 @@ libproxy offers the following features:
|
|||||||
* dynamic adjustment to changing network topology.
|
* dynamic adjustment to changing network topology.
|
||||||
* a standard way of dealing with proxy settings across all scenarios.
|
* a standard way of dealing with proxy settings across all scenarios.
|
||||||
|
|
||||||
%package -n python3-%{name}
|
|
||||||
Summary: Binding for %{name} and python3
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
BuildArch: noarch
|
|
||||||
%{?python_provide:%python_provide python3-%{name}}
|
|
||||||
|
|
||||||
%description -n python3-%{name}
|
|
||||||
The python3 binding for libproxy.
|
|
||||||
|
|
||||||
%package duktape
|
|
||||||
Summary: plugin for duktape
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
Provides: %{name}-pac = %{version}-%{release}
|
|
||||||
|
|
||||||
%description duktape
|
|
||||||
plugin for duktape.
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Libproxy provides consistent proxy configuration to applications - Development Files
|
Summary: Libproxy provides consistent proxy configuration to applications - Development Files
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
@ -55,55 +38,46 @@ This package contains libraries and header files for developing applications.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{cmake} \
|
%meson -Dconfig-gnome=true -Dconfig-kde=true -Dconfig-osx=false -Dconfig-windows=false -Dintrospection=true -Dtests=true -Dvapi=true
|
||||||
-DMODULE_INSTALL_DIR=%{_libdir}/%{name}/%{version}/modules \
|
%meson_build
|
||||||
-DBIPR=OFF \
|
|
||||||
-DWITH_PERL=OFF -DWITH_GNOME3=ON \
|
|
||||||
-DWITH_PYTHON3=ON -DWITH_WEBKIT3=OFF -DWITH_DUKTAPE=ON -DWITH_MOZJS=OFF .
|
|
||||||
%make_build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%meson_install
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_libdir}/%{name}/%{version}/modules
|
|
||||||
install -Dpm 0644 %{SOURCE1} %{buildroot}/%{_mandir}/man1/proxy.1
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
%meson_test
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS README
|
%doc CHANGELOG.md README.md
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
%{_libdir}/libproxy/libpxbackend-1.0.so
|
||||||
|
%{_libdir}/girepository-1.0/
|
||||||
%{_bindir}/proxy
|
%{_bindir}/proxy
|
||||||
%{_libdir}/%{name}/%{version}/modules/*
|
|
||||||
%{_libexecdir}/pxgsettings
|
|
||||||
%exclude %{_libdir}/%{name}/%{version}/modules/pacrunner_duktape.so
|
|
||||||
|
|
||||||
%files -n python3-%{name}
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{python3_sitelib}/__pycache__/*
|
|
||||||
%{python3_sitelib}/%{name}.*
|
|
||||||
|
|
||||||
%files duktape
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/%{name}/%{version}/modules/pacrunner_duktape.so
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/proxy.h
|
%{_includedir}/libproxy/
|
||||||
%{_libdir}/*.so
|
%{_libdir}/libproxy.so
|
||||||
%{_libdir}/pkgconfig/libproxy-1.0.pc
|
%{_libdir}/pkgconfig/libproxy-1.0.pc
|
||||||
%{_datadir}/cmake/Modules/Findlibproxy.cmake
|
%{_datadir}/vala/vapi/
|
||||||
|
%{_datadir}/gir-1.0
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_mandir}/man1/proxy.1*
|
%{_mandir}/man8/proxy.8*
|
||||||
|
%{_datadir}/doc/libproxy-1.0/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 04 2023 zhouyihang <zhouyihang3@h-partners.com> - 0.5.3-1
|
||||||
|
- Type:requirements
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:update libproxy to 0.5.3
|
||||||
|
|
||||||
* Tue Nov 08 2022 zhouyihang <zhouyihang3@h-partners.com> - 0.4.18-1
|
* Tue Nov 08 2022 zhouyihang <zhouyihang3@h-partners.com> - 0.4.18-1
|
||||||
- Type:requirements
|
- Type:requirements
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
23
proxy.1
23
proxy.1
@ -1,23 +0,0 @@
|
|||||||
.TH PROXY "1" "September 2013" "libproxy" "User Commands"
|
|
||||||
.SH NAME
|
|
||||||
proxy \- Display the proxy server that should be used to reach a given a network resource
|
|
||||||
.SH SYNOPSIS
|
|
||||||
proxy
|
|
||||||
.SH DESCRIPTION
|
|
||||||
Display the proxy server that should be used to reach a given a network resource.
|
|
||||||
.PP
|
|
||||||
libproxy is a library that provides automatic proxy configuration management
|
|
||||||
using different backends.
|
|
||||||
.SH EXAMPLE
|
|
||||||
.B echo http://www.example.com/ | proxy
|
|
||||||
http://webcache:3128 direct://
|
|
||||||
.SH AUTHOR
|
|
||||||
This manual page was written by
|
|
||||||
.MT bigon@debian.org
|
|
||||||
Laurent Bigonville
|
|
||||||
.ME ,
|
|
||||||
for the Debian GNU/Linux system (but may be used by others).
|
|
||||||
.SH SEE ALSO
|
|
||||||
.UR http://code.google.com/p/libproxy/
|
|
||||||
libproxy
|
|
||||||
.UE .
|
|
||||||
Loading…
x
Reference in New Issue
Block a user