forked from pool/libproxy
Accepting request 522333 from GNOME:Factory
- Update descriptions and RPM categories. (forwarded request 522148 from jengelh) OBS-URL: https://build.opensuse.org/request/show/522333 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libproxy?expand=0&rev=70
This commit is contained in:
commit
a279411a9e
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6220a6cab837a8996116a0568324cadfd09a07ec16b930d2a330e16d5c2e1eb6
|
||||
size 92783
|
3
0.4.15.tar.gz
Normal file
3
0.4.15.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:18f58b0a0043b6881774187427ead158d310127fc46a1c668ad6d207fb28b4e0
|
||||
size 93084
|
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 7 19:29:58 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Update descriptions and RPM categories.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 11 09:36:16 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
- Update to version 0.4.15:
|
||||
+ Port to, and require, SpiderMonkey 38.
|
||||
+ Fix "NetworkManager plugin not being built"
|
||||
(gh#libproxy/libproxy#53).
|
||||
+ Fix "networkmanager plugin not working
|
||||
(gh#libproxy/libproxy#58).
|
||||
+ Fix "Invalid read after free" (gh#libproxy/libproxy#59).
|
||||
+ Fix intermittent unit test failures.
|
||||
- Replace pkgconfig(mozjs185) buildRequires with
|
||||
pkgconfig(mozjs-38), following upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 6 12:30:17 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
|
@ -23,24 +23,24 @@
|
||||
%else
|
||||
%bcond_with mono
|
||||
%endif
|
||||
|
||||
Url: http://code.google.com/p/libproxy/
|
||||
%define _name libproxy
|
||||
|
||||
Name: libproxy-plugins
|
||||
Summary: Libproxy provides consistent proxy configuration to applications
|
||||
License: GPL-2.0+ and LGPL-2.1+
|
||||
Group: System/Libraries
|
||||
Version: 0.4.14
|
||||
Release: 0
|
||||
%if 0%{?build_snapshot}
|
||||
%define _sourcename %{_name}
|
||||
%else
|
||||
%define _sourcename %{_name}-%{version}
|
||||
%endif
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
%{!?_assemblies_dir: %global _assemblies_dir %(pkg-config cecil --variable=assemblies_dir)}
|
||||
Name: libproxy-plugins
|
||||
Version: 0.4.15
|
||||
Release: 0
|
||||
Summary: Automatic proxy configuration management for applications
|
||||
License: GPL-2.0+ AND LGPL-2.1+
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://code.google.com/p/libproxy/
|
||||
Source: https://github.com/libproxy/%{_name}/archive/%{version}.tar.gz
|
||||
Source99: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libmodman-devel
|
||||
@ -50,11 +50,15 @@ BuildRequires: pkgconfig
|
||||
BuildRequires: zlib-devel
|
||||
%if !%{build_core_not_modules}
|
||||
%if ! 0%{?windows}
|
||||
BuildRequires: NetworkManager-devel
|
||||
BuildRequires: dbus-1-devel
|
||||
BuildRequires: gconf2-devel
|
||||
# For directory ownership, but also because we want to rebuild the modules if
|
||||
# the library changed
|
||||
BuildRequires: libproxy1 = %{version}
|
||||
BuildRequires: perl
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python3-devel
|
||||
%if 0%{?favor_gtk2}
|
||||
BuildRequires: pkgconfig(gconf-2.0)
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
@ -64,98 +68,74 @@ BuildRequires: pkgconfig(gio-2.0) >= 2.26
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
BuildRequires: pkgconfig(javascriptcoregtk-4.0)
|
||||
%endif
|
||||
BuildRequires: NetworkManager-devel
|
||||
%if 0%{?is_opensuse}
|
||||
BuildRequires: libKF5ConfigCore5
|
||||
%endif
|
||||
%if %{build_mozjs}
|
||||
BuildRequires: pkgconfig(mozjs185)
|
||||
BuildRequires: pkgconfig(mozjs-38)
|
||||
%endif
|
||||
%if %{with mono}
|
||||
BuildRequires: mono-devel
|
||||
%endif
|
||||
BuildRequires: perl
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python3-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%{!?python_sitelib: %global python_sitelib %(%__python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%__python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
%{!?_assemblies_dir: %global _assemblies_dir %(pkg-config cecil --variable=assemblies_dir)}
|
||||
|
||||
%description
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
|
||||
* no external dependencies within libproxy core (libproxy modules
|
||||
may have dependencies)
|
||||
* only 3 functions in the stable external API
|
||||
* dynamic adjustment to changing network topology
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
|
||||
libproxy is a library that provides automatic proxy configuration
|
||||
management.
|
||||
|
||||
%if %build_core_not_modules
|
||||
|
||||
%package tools
|
||||
Summary: A simple application using libproxy
|
||||
Summary: An example application using libproxy
|
||||
Group: System/Libraries
|
||||
Requires: libproxy1 = %{version}
|
||||
|
||||
%description tools
|
||||
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
|
||||
An example application that will use libproxy to give the results that can
|
||||
be expected from other applications. It can be used to debug what would
|
||||
happen in various cases.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Libproxy provides consistent proxy configuration to applications - Development Files
|
||||
Summary: Development files for libproxy, a library to do PAC/WPAD
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libproxy1 = %{version}
|
||||
|
||||
%description devel
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
|
||||
* no external dependencies within libproxy core (libproxy modules
|
||||
may have dependencies)
|
||||
* only 3 functions in the stable external API
|
||||
* dynamic adjustment to changing network topology
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
libproxy is a library that provides automatic proxy configuration
|
||||
management.
|
||||
|
||||
This subpackage contains header files for developing applications
|
||||
that want to make use of libproxy.
|
||||
|
||||
%package -n libproxy1
|
||||
Summary: Libproxy provides consistent proxy configuration to applications
|
||||
Summary: Automatic proxy configuration management for applications
|
||||
Group: System/Libraries
|
||||
%if !%{build_mozjs}
|
||||
Obsoletes: libproxy1-pacrunner-mozjs <= %{version}
|
||||
%endif
|
||||
|
||||
%description -n libproxy1
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
libproxy is a library that provides automatic proxy configuration
|
||||
management.
|
||||
|
||||
* no external dependencies within libproxy core (libproxy modules
|
||||
may have dependencies)
|
||||
* only 3 functions in the stable external API
|
||||
* dynamic adjustment to changing network topology
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
Proxy autoconfiguration (PAC) requires JavaScript (which most
|
||||
applications do not have), and determing the PAC script location
|
||||
requires a WPAD protocol implementation, which complicate proxy
|
||||
support. libproxy exists to abstract this issue and provides
|
||||
an answer how to reach a certain network resource.
|
||||
|
||||
%else
|
||||
|
||||
%if 0%{?favor_gtk2}
|
||||
|
||||
%package -n libproxy1-config-gnome
|
||||
|
||||
Summary: Libproxy module for GNOME configuration
|
||||
Group: System/Libraries
|
||||
%else
|
||||
|
||||
%package -n libproxy1-config-gnome3
|
||||
Summary: Libproxy module for GNOME3 configuration
|
||||
Group: System/Libraries
|
||||
%endif
|
||||
Requires: libproxy1 = %{version}
|
||||
|
||||
%if 0%{?suse_version}
|
||||
Recommends: libproxy1-pacrunner = %{version}
|
||||
%if 0%{?favor_gtk2}
|
||||
@ -170,11 +150,9 @@ Provides: libproxy-gnome = %{version}
|
||||
Obsoletes: libproxy-gnome < %{version}
|
||||
|
||||
%if 0%{?favor_gtk2}
|
||||
|
||||
%description -n libproxy1-config-gnome
|
||||
|
||||
%else
|
||||
|
||||
%description -n libproxy1-config-gnome3
|
||||
|
||||
%endif
|
||||
@ -183,10 +161,14 @@ proxy settings.
|
||||
|
||||
%package -n libproxy1-config-kde
|
||||
Summary: Libproxy module for KDE configuration
|
||||
Group: System/Libraries
|
||||
Requires: libproxy1 = %{version}
|
||||
# We don't really need the library, but this package brings kreadconfig5
|
||||
Group: System/Libraries
|
||||
Requires: libKF5ConfigCore5
|
||||
Requires: libproxy1 = %{version}
|
||||
Provides: libproxy-kde = %{version}
|
||||
Obsoletes: libproxy-kde < %{version}
|
||||
# A generic KDE config loader was introduced in 0.4.12
|
||||
Obsoletes: libproxy1-config-kde4 < 0.4.12
|
||||
# The kde plugin requires 'qtpaths', which is part of libqt5-qtpaths in TW / libqt5-qttools in older releases
|
||||
%if %{?suse_version} > 1320
|
||||
Requires: libqt5-qtpaths
|
||||
@ -200,35 +182,31 @@ Supplements: packageand(libproxy1:plasma5-session)
|
||||
%else
|
||||
Requires: libproxy1-pacrunner = %{version}
|
||||
%endif
|
||||
Provides: libproxy-kde = %{version}
|
||||
Obsoletes: libproxy-kde < %{version}
|
||||
# A generic KDE config loader was introduced in 0.4.12
|
||||
Obsoletes: libproxy1-config-kde4 < 0.4.12
|
||||
|
||||
%description -n libproxy1-config-kde
|
||||
A module to extend libproxy with capabilities to query KDE4 about proxy
|
||||
settings.
|
||||
|
||||
%if %{build_mozjs}
|
||||
%package -n libproxy1-pacrunner-mozjs
|
||||
Summary: Libproxy module to support wpad/pac parsing via Mozilla JavaScript Engine
|
||||
Summary: Libproxy module to support WPAD/PAC parsing via the Mozilla JavaScript Engine
|
||||
Group: System/Libraries
|
||||
Requires: libproxy1 = %{version}
|
||||
# A virtual symbol to identify that this is a pacrunner.
|
||||
Provides: libproxy1-pacrunner = %{version}
|
||||
%if 0%{?suse_version}
|
||||
Supplements: packageand(libproxy1:libmozjs185-1_0)
|
||||
%endif
|
||||
# A virtual symbol to identify that this is a pacrunner.
|
||||
Provides: libproxy1-pacrunner = %{version}
|
||||
|
||||
%description -n libproxy1-pacrunner-mozjs
|
||||
A module to extend libproxy with capabilities to pass addresses to a
|
||||
WPAD/PAC script and have it find the correct proxy.
|
||||
%endif
|
||||
|
||||
%package -n libproxy1-pacrunner-webkit
|
||||
Summary: Libproxy module to support WPAD/PAC parsing via WebKit JavaScript Engine
|
||||
Summary: Libproxy module to support WPAD/PAC parsing via the WebKit JavaScript Engine
|
||||
Group: System/Libraries
|
||||
Requires: libproxy1 = %{version}
|
||||
# A virtual symbol to identify that this is a pacrunner.
|
||||
Provides: libproxy1-pacrunner = %{version}
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?favor_gtk2}
|
||||
Supplements: packageand(libproxy1:libjavascriptcoregtk-1_0-0)
|
||||
@ -236,8 +214,6 @@ Supplements: packageand(libproxy1:libjavascriptcoregtk-1_0-0)
|
||||
Supplements: packageand(libproxy1:libjavascriptcoregtk-3_0-0)
|
||||
%endif
|
||||
%endif
|
||||
# A virtual symbol to identify that this is a pacrunner.
|
||||
Provides: libproxy1-pacrunner = %{version}
|
||||
|
||||
%description -n libproxy1-pacrunner-webkit
|
||||
A module to extend libproxy with capabilities to pass addresses to a
|
||||
@ -257,44 +233,36 @@ about network configuration changes.
|
||||
|
||||
%package -n python3-libproxy
|
||||
Summary: Python3 bindings for libproxy
|
||||
Group: System/Libraries
|
||||
Group: Development/Languages/Python
|
||||
Requires: libproxy1 = %{version}
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
Requires: libproxy1 = %{version}
|
||||
|
||||
%description -n python3-libproxy
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
libproxy is a library that provides automatic proxy configuration
|
||||
management.
|
||||
|
||||
* no external dependencies within libproxy core (libproxy modules
|
||||
may have dependencies)
|
||||
* only 3 functions in the stable external API
|
||||
* dynamic adjustment to changing network topology
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
This package contains the Python 3 bindings for libproxy.
|
||||
|
||||
%package -n python-libproxy
|
||||
Summary: Python bindings for libproxy
|
||||
Group: System/Libraries
|
||||
Group: Development/Languages/Python
|
||||
Requires: libproxy1 = %{version}
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%py_requires
|
||||
%endif
|
||||
Requires: libproxy1 = %{version}
|
||||
|
||||
%description -n python-libproxy
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
libproxy is a library that provides automatic proxy configuration
|
||||
management.
|
||||
|
||||
* no external dependencies within libproxy core (libproxy modules
|
||||
may have dependencies)
|
||||
* only 3 functions in the stable external API
|
||||
* dynamic adjustment to changing network topology
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
This package contains the Python 2 bindings for libproxy.
|
||||
|
||||
%package -n perl-Net-Libproxy
|
||||
Summary: Perl bindings for libproxy
|
||||
Group: Development/Libraries/Perl
|
||||
Group: Development/Languages/Perl
|
||||
Requires: libproxy1 = %{version}
|
||||
%if 0%{?perl_requires:1}
|
||||
%{perl_requires}
|
||||
@ -304,16 +272,10 @@ Requires: perl >= %{perl_version}
|
||||
%endif
|
||||
|
||||
%description -n perl-Net-Libproxy
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
libproxy is a library that provides automatic proxy configuration
|
||||
management.
|
||||
|
||||
* no external dependencies within libproxy core (libproxy modules
|
||||
may have dependencies)
|
||||
* only 3 functions in the stable external API
|
||||
* dynamic adjustment to changing network topology
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
|
||||
%if %{with mono}
|
||||
This package contains the Perl for libproxy.
|
||||
|
||||
%package -n libproxy-sharp
|
||||
Summary: .Net bindings for libproxy
|
||||
@ -321,17 +283,12 @@ Group: Development/Languages/Mono
|
||||
Requires: libproxy1 = %{version}
|
||||
|
||||
%description -n libproxy-sharp
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
libproxy is a library that provides automatic proxy configuration
|
||||
management.
|
||||
|
||||
* no external dependencies within libproxy core (libproxy modules
|
||||
may have dependencies)
|
||||
* only 3 functions in the stable external API
|
||||
* dynamic adjustment to changing network topology
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
%endif
|
||||
This package contains the Mono/.NET for libproxy.
|
||||
|
||||
%endif
|
||||
%endif # build_core_not_modules
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_sourcename}
|
||||
@ -393,7 +350,7 @@ cmake \
|
||||
-DWITH_GNOME3=ON \
|
||||
%endif
|
||||
..
|
||||
%{__make} VERBOSE=1
|
||||
make VERBOSE=1
|
||||
|
||||
%install
|
||||
cd build
|
||||
@ -426,7 +383,6 @@ cd build
|
||||
make test
|
||||
|
||||
%if %build_core_not_modules
|
||||
|
||||
%post -n libproxy1 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libproxy1 -p /sbin/ldconfig
|
||||
@ -460,7 +416,6 @@ make test
|
||||
%endif
|
||||
|
||||
%else
|
||||
|
||||
%if ! 0%{?windows}
|
||||
%if 0%{?is_opensuse}
|
||||
%files -n libproxy1-config-kde
|
||||
@ -469,13 +424,11 @@ make test
|
||||
%endif
|
||||
|
||||
%if 0%{?favor_gtk2}
|
||||
|
||||
%files -n libproxy1-config-gnome
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libproxy-%{version}/modules/config_gnome.so
|
||||
%{_libexecdir}/libproxy-%{version}/pxgconf
|
||||
%else
|
||||
|
||||
%files -n libproxy1-config-gnome3
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libproxy-%{version}/modules/config_gnome3.so
|
||||
@ -513,7 +466,6 @@ make test
|
||||
%{perl_vendorarch}/auto/Net/Libproxy/Libproxy.so
|
||||
|
||||
%if %{with mono}
|
||||
|
||||
%files -n libproxy-sharp
|
||||
%defattr(-, root, root)
|
||||
%{_assemblies_dir}/gac/libproxy-sharp
|
||||
|
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 7 19:29:58 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Update descriptions and RPM categories.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 11 09:36:16 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
- Update to version 0.4.15:
|
||||
+ Port to, and require, SpiderMonkey 38.
|
||||
+ Fix "NetworkManager plugin not being built"
|
||||
(gh#libproxy/libproxy#53).
|
||||
+ Fix "networkmanager plugin not working
|
||||
(gh#libproxy/libproxy#58).
|
||||
+ Fix "Invalid read after free" (gh#libproxy/libproxy#59).
|
||||
+ Fix intermittent unit test failures.
|
||||
- Replace pkgconfig(mozjs185) buildRequires with
|
||||
pkgconfig(mozjs-38), following upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 6 12:30:17 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
|
178
libproxy.spec
178
libproxy.spec
@ -23,24 +23,24 @@
|
||||
%else
|
||||
%bcond_with mono
|
||||
%endif
|
||||
|
||||
Url: http://code.google.com/p/libproxy/
|
||||
%define _name libproxy
|
||||
|
||||
Name: libproxy
|
||||
Summary: Libproxy provides consistent proxy configuration to applications
|
||||
License: GPL-2.0+ and LGPL-2.1+
|
||||
Group: System/Libraries
|
||||
Version: 0.4.14
|
||||
Release: 0
|
||||
%if 0%{?build_snapshot}
|
||||
%define _sourcename %{_name}
|
||||
%else
|
||||
%define _sourcename %{_name}-%{version}
|
||||
%endif
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
%{!?_assemblies_dir: %global _assemblies_dir %(pkg-config cecil --variable=assemblies_dir)}
|
||||
Name: libproxy
|
||||
Version: 0.4.15
|
||||
Release: 0
|
||||
Summary: Automatic proxy configuration management for applications
|
||||
License: GPL-2.0+ AND LGPL-2.1+
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://code.google.com/p/libproxy/
|
||||
Source: https://github.com/libproxy/%{_name}/archive/%{version}.tar.gz
|
||||
Source99: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libmodman-devel
|
||||
@ -50,11 +50,15 @@ BuildRequires: pkgconfig
|
||||
BuildRequires: zlib-devel
|
||||
%if !%{build_core_not_modules}
|
||||
%if ! 0%{?windows}
|
||||
BuildRequires: NetworkManager-devel
|
||||
BuildRequires: dbus-1-devel
|
||||
BuildRequires: gconf2-devel
|
||||
# For directory ownership, but also because we want to rebuild the modules if
|
||||
# the library changed
|
||||
BuildRequires: libproxy1 = %{version}
|
||||
BuildRequires: perl
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python3-devel
|
||||
%if 0%{?favor_gtk2}
|
||||
BuildRequires: pkgconfig(gconf-2.0)
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
@ -64,98 +68,74 @@ BuildRequires: pkgconfig(gio-2.0) >= 2.26
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
BuildRequires: pkgconfig(javascriptcoregtk-4.0)
|
||||
%endif
|
||||
BuildRequires: NetworkManager-devel
|
||||
%if 0%{?is_opensuse}
|
||||
BuildRequires: libKF5ConfigCore5
|
||||
%endif
|
||||
%if %{build_mozjs}
|
||||
BuildRequires: pkgconfig(mozjs185)
|
||||
BuildRequires: pkgconfig(mozjs-38)
|
||||
%endif
|
||||
%if %{with mono}
|
||||
BuildRequires: mono-devel
|
||||
%endif
|
||||
BuildRequires: perl
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python3-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%{!?python_sitelib: %global python_sitelib %(%__python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%__python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
%{!?_assemblies_dir: %global _assemblies_dir %(pkg-config cecil --variable=assemblies_dir)}
|
||||
|
||||
%description
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
|
||||
* no external dependencies within libproxy core (libproxy modules
|
||||
may have dependencies)
|
||||
* only 3 functions in the stable external API
|
||||
* dynamic adjustment to changing network topology
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
|
||||
libproxy is a library that provides automatic proxy configuration
|
||||
management.
|
||||
|
||||
%if %build_core_not_modules
|
||||
|
||||
%package tools
|
||||
Summary: A simple application using libproxy
|
||||
Summary: An example application using libproxy
|
||||
Group: System/Libraries
|
||||
Requires: libproxy1 = %{version}
|
||||
|
||||
%description tools
|
||||
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
|
||||
An example application that will use libproxy to give the results that can
|
||||
be expected from other applications. It can be used to debug what would
|
||||
happen in various cases.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Libproxy provides consistent proxy configuration to applications - Development Files
|
||||
Summary: Development files for libproxy, a library to do PAC/WPAD
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libproxy1 = %{version}
|
||||
|
||||
%description devel
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
|
||||
* no external dependencies within libproxy core (libproxy modules
|
||||
may have dependencies)
|
||||
* only 3 functions in the stable external API
|
||||
* dynamic adjustment to changing network topology
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
libproxy is a library that provides automatic proxy configuration
|
||||
management.
|
||||
|
||||
This subpackage contains header files for developing applications
|
||||
that want to make use of libproxy.
|
||||
|
||||
%package -n libproxy1
|
||||
Summary: Libproxy provides consistent proxy configuration to applications
|
||||
Summary: Automatic proxy configuration management for applications
|
||||
Group: System/Libraries
|
||||
%if !%{build_mozjs}
|
||||
Obsoletes: libproxy1-pacrunner-mozjs <= %{version}
|
||||
%endif
|
||||
|
||||
%description -n libproxy1
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
libproxy is a library that provides automatic proxy configuration
|
||||
management.
|
||||
|
||||
* no external dependencies within libproxy core (libproxy modules
|
||||
may have dependencies)
|
||||
* only 3 functions in the stable external API
|
||||
* dynamic adjustment to changing network topology
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
Proxy autoconfiguration (PAC) requires JavaScript (which most
|
||||
applications do not have), and determing the PAC script location
|
||||
requires a WPAD protocol implementation, which complicate proxy
|
||||
support. libproxy exists to abstract this issue and provides
|
||||
an answer how to reach a certain network resource.
|
||||
|
||||
%else
|
||||
|
||||
%if 0%{?favor_gtk2}
|
||||
|
||||
%package -n libproxy1-config-gnome
|
||||
|
||||
Summary: Libproxy module for GNOME configuration
|
||||
Group: System/Libraries
|
||||
%else
|
||||
|
||||
%package -n libproxy1-config-gnome3
|
||||
Summary: Libproxy module for GNOME3 configuration
|
||||
Group: System/Libraries
|
||||
%endif
|
||||
Requires: libproxy1 = %{version}
|
||||
|
||||
%if 0%{?suse_version}
|
||||
Recommends: libproxy1-pacrunner = %{version}
|
||||
%if 0%{?favor_gtk2}
|
||||
@ -170,11 +150,9 @@ Provides: libproxy-gnome = %{version}
|
||||
Obsoletes: libproxy-gnome < %{version}
|
||||
|
||||
%if 0%{?favor_gtk2}
|
||||
|
||||
%description -n libproxy1-config-gnome
|
||||
|
||||
%else
|
||||
|
||||
%description -n libproxy1-config-gnome3
|
||||
|
||||
%endif
|
||||
@ -183,10 +161,14 @@ proxy settings.
|
||||
|
||||
%package -n libproxy1-config-kde
|
||||
Summary: Libproxy module for KDE configuration
|
||||
Group: System/Libraries
|
||||
Requires: libproxy1 = %{version}
|
||||
# We don't really need the library, but this package brings kreadconfig5
|
||||
Group: System/Libraries
|
||||
Requires: libKF5ConfigCore5
|
||||
Requires: libproxy1 = %{version}
|
||||
Provides: libproxy-kde = %{version}
|
||||
Obsoletes: libproxy-kde < %{version}
|
||||
# A generic KDE config loader was introduced in 0.4.12
|
||||
Obsoletes: libproxy1-config-kde4 < 0.4.12
|
||||
# The kde plugin requires 'qtpaths', which is part of libqt5-qtpaths in TW / libqt5-qttools in older releases
|
||||
%if %{?suse_version} > 1320
|
||||
Requires: libqt5-qtpaths
|
||||
@ -200,35 +182,31 @@ Supplements: packageand(libproxy1:plasma5-session)
|
||||
%else
|
||||
Requires: libproxy1-pacrunner = %{version}
|
||||
%endif
|
||||
Provides: libproxy-kde = %{version}
|
||||
Obsoletes: libproxy-kde < %{version}
|
||||
# A generic KDE config loader was introduced in 0.4.12
|
||||
Obsoletes: libproxy1-config-kde4 < 0.4.12
|
||||
|
||||
%description -n libproxy1-config-kde
|
||||
A module to extend libproxy with capabilities to query KDE4 about proxy
|
||||
settings.
|
||||
|
||||
%if %{build_mozjs}
|
||||
%package -n libproxy1-pacrunner-mozjs
|
||||
Summary: Libproxy module to support wpad/pac parsing via Mozilla JavaScript Engine
|
||||
Summary: Libproxy module to support WPAD/PAC parsing via the Mozilla JavaScript Engine
|
||||
Group: System/Libraries
|
||||
Requires: libproxy1 = %{version}
|
||||
# A virtual symbol to identify that this is a pacrunner.
|
||||
Provides: libproxy1-pacrunner = %{version}
|
||||
%if 0%{?suse_version}
|
||||
Supplements: packageand(libproxy1:libmozjs185-1_0)
|
||||
%endif
|
||||
# A virtual symbol to identify that this is a pacrunner.
|
||||
Provides: libproxy1-pacrunner = %{version}
|
||||
|
||||
%description -n libproxy1-pacrunner-mozjs
|
||||
A module to extend libproxy with capabilities to pass addresses to a
|
||||
WPAD/PAC script and have it find the correct proxy.
|
||||
%endif
|
||||
|
||||
%package -n libproxy1-pacrunner-webkit
|
||||
Summary: Libproxy module to support WPAD/PAC parsing via WebKit JavaScript Engine
|
||||
Summary: Libproxy module to support WPAD/PAC parsing via the WebKit JavaScript Engine
|
||||
Group: System/Libraries
|
||||
Requires: libproxy1 = %{version}
|
||||
# A virtual symbol to identify that this is a pacrunner.
|
||||
Provides: libproxy1-pacrunner = %{version}
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?favor_gtk2}
|
||||
Supplements: packageand(libproxy1:libjavascriptcoregtk-1_0-0)
|
||||
@ -236,8 +214,6 @@ Supplements: packageand(libproxy1:libjavascriptcoregtk-1_0-0)
|
||||
Supplements: packageand(libproxy1:libjavascriptcoregtk-3_0-0)
|
||||
%endif
|
||||
%endif
|
||||
# A virtual symbol to identify that this is a pacrunner.
|
||||
Provides: libproxy1-pacrunner = %{version}
|
||||
|
||||
%description -n libproxy1-pacrunner-webkit
|
||||
A module to extend libproxy with capabilities to pass addresses to a
|
||||
@ -257,44 +233,36 @@ about network configuration changes.
|
||||
|
||||
%package -n python3-libproxy
|
||||
Summary: Python3 bindings for libproxy
|
||||
Group: System/Libraries
|
||||
Group: Development/Languages/Python
|
||||
Requires: libproxy1 = %{version}
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
Requires: libproxy1 = %{version}
|
||||
|
||||
%description -n python3-libproxy
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
libproxy is a library that provides automatic proxy configuration
|
||||
management.
|
||||
|
||||
* no external dependencies within libproxy core (libproxy modules
|
||||
may have dependencies)
|
||||
* only 3 functions in the stable external API
|
||||
* dynamic adjustment to changing network topology
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
This package contains the Python 3 bindings for libproxy.
|
||||
|
||||
%package -n python-libproxy
|
||||
Summary: Python bindings for libproxy
|
||||
Group: System/Libraries
|
||||
Group: Development/Languages/Python
|
||||
Requires: libproxy1 = %{version}
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%py_requires
|
||||
%endif
|
||||
Requires: libproxy1 = %{version}
|
||||
|
||||
%description -n python-libproxy
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
libproxy is a library that provides automatic proxy configuration
|
||||
management.
|
||||
|
||||
* no external dependencies within libproxy core (libproxy modules
|
||||
may have dependencies)
|
||||
* only 3 functions in the stable external API
|
||||
* dynamic adjustment to changing network topology
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
This package contains the Python 2 bindings for libproxy.
|
||||
|
||||
%package -n perl-Net-Libproxy
|
||||
Summary: Perl bindings for libproxy
|
||||
Group: Development/Libraries/Perl
|
||||
Group: Development/Languages/Perl
|
||||
Requires: libproxy1 = %{version}
|
||||
%if 0%{?perl_requires:1}
|
||||
%{perl_requires}
|
||||
@ -304,16 +272,10 @@ Requires: perl >= %{perl_version}
|
||||
%endif
|
||||
|
||||
%description -n perl-Net-Libproxy
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
libproxy is a library that provides automatic proxy configuration
|
||||
management.
|
||||
|
||||
* no external dependencies within libproxy core (libproxy modules
|
||||
may have dependencies)
|
||||
* only 3 functions in the stable external API
|
||||
* dynamic adjustment to changing network topology
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
|
||||
%if %{with mono}
|
||||
This package contains the Perl for libproxy.
|
||||
|
||||
%package -n libproxy-sharp
|
||||
Summary: .Net bindings for libproxy
|
||||
@ -321,17 +283,12 @@ Group: Development/Languages/Mono
|
||||
Requires: libproxy1 = %{version}
|
||||
|
||||
%description -n libproxy-sharp
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
libproxy is a library that provides automatic proxy configuration
|
||||
management.
|
||||
|
||||
* no external dependencies within libproxy core (libproxy modules
|
||||
may have dependencies)
|
||||
* only 3 functions in the stable external API
|
||||
* dynamic adjustment to changing network topology
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
%endif
|
||||
This package contains the Mono/.NET for libproxy.
|
||||
|
||||
%endif
|
||||
%endif # build_core_not_modules
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_sourcename}
|
||||
@ -393,7 +350,7 @@ cmake \
|
||||
-DWITH_GNOME3=ON \
|
||||
%endif
|
||||
..
|
||||
%{__make} VERBOSE=1
|
||||
make VERBOSE=1
|
||||
|
||||
%install
|
||||
cd build
|
||||
@ -426,7 +383,6 @@ cd build
|
||||
make test
|
||||
|
||||
%if %build_core_not_modules
|
||||
|
||||
%post -n libproxy1 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libproxy1 -p /sbin/ldconfig
|
||||
@ -460,7 +416,6 @@ make test
|
||||
%endif
|
||||
|
||||
%else
|
||||
|
||||
%if ! 0%{?windows}
|
||||
%if 0%{?is_opensuse}
|
||||
%files -n libproxy1-config-kde
|
||||
@ -469,13 +424,11 @@ make test
|
||||
%endif
|
||||
|
||||
%if 0%{?favor_gtk2}
|
||||
|
||||
%files -n libproxy1-config-gnome
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libproxy-%{version}/modules/config_gnome.so
|
||||
%{_libexecdir}/libproxy-%{version}/pxgconf
|
||||
%else
|
||||
|
||||
%files -n libproxy1-config-gnome3
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libproxy-%{version}/modules/config_gnome3.so
|
||||
@ -513,7 +466,6 @@ make test
|
||||
%{perl_vendorarch}/auto/Net/Libproxy/Libproxy.so
|
||||
|
||||
%if %{with mono}
|
||||
|
||||
%files -n libproxy-sharp
|
||||
%defattr(-, root, root)
|
||||
%{_assemblies_dir}/gac/libproxy-sharp
|
||||
|
Loading…
x
Reference in New Issue
Block a user