libproxy/libproxy.spec

218 lines
6.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libproxy
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define flavor @BUILD_FLAVOR@%nil
%if "%{flavor}" == ""
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
ExclusiveArch: do-not-build
%else
%if "%{flavor}" == "client"
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%define name_suffix %{flavor}
%define dash -
%define mini -mini
%else
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%define name_suffix %{flavor}
%define dash -
%endif
%endif
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%define _name libproxy
Name: libproxy%{?dash}%{?name_suffix}
Version: 0.5.4
Release: 0
Summary: Automatic proxy configuration management for applications
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: http://libproxy.github.io/libproxy/
Source: %{_name}-%{version}.tar.zst
Source99: baselibs.conf
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
BuildRequires: meson
BuildRequires: sysuser-tools
BuildRequires: vala
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%if "%{flavor}" == "backend"
BuildRequires: pkgconfig(duktape)
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
BuildRequires: pkgconfig(gi-docgen)
BuildRequires: pkgconfig(gsettings-desktop-schemas)
BuildRequires: pkgconfig(libcurl)
#!BuildIgnore: libproxy1
# We require a config module, at worst the env reader
Requires: PxPlugin(config)
# the env reader is part of this package
Provides: PxPlugin(config)
# If pac/wpad is used, we need to interpret it
Recommends: PxPlugin(pacrunner)
# config plugins envvar and sysconfig are shipped with the daemon
Provides: PxPlugin(config)
%endif
%description
libproxy is a library that provides automatic proxy configuration
management.
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%package -n libproxy-tools
Summary: An example application using libproxy
Group: System/Libraries
Requires: libproxy1 = %{version}
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%description -n libproxy-tools
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.
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%package -n libproxy-devel
Summary: Development files for libproxy, a library to do PAC/WPAD
Group: Development/Libraries/C and C++
Requires: libproxy1 = %{version}
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%description -n libproxy-devel
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.
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%package -n libproxy-devel-doc
Summary: Libproxy developers documentation
BuildArch: noarch
%description -n libproxy-devel-doc
The developers documentation to libproxy (consumer library)
%package -n libproxy1
Summary: Automatic proxy configuration management for applications
Group: System/Libraries
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
# Starting with version 0.5.0, libproxy, the client library, has no plugins
# all plugins are moved to the backend
Obsoletes: libproxy1-config-gnome3 < 0.5
Obsoletes: libproxy1-config-kde < 0.5
Obsoletes: libproxy1-networkmanager < 0.5
Obsoletes: libproxy1-pacrunner-duktape < 0.5
Obsoletes: libproxy1-pacrunner-webkit < 0.5
%description -n libproxy1
libproxy is a library that provides automatic proxy configuration
management.
Proxy autoconfiguration (PAC) requires JavaScript (which most
applications do not have), and determing the PAC script location
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
requires a WPAD protocol implementation, which complicates proxy
support. libproxy exists to abstract this issue and provides
an answer how to reach a certain network resource.
%package -n libpxbackend-1_0%{?mini}
Summary: Backend library for libproxy, handles plugin loading
Group: System/Libraries
%if "%{flavor}" == "client"
Conflicts: libpxbackend-1_0
Requires: this-is-only-for-build-envs
%endif
%description -n libpxbackend-1_0%{?mini}
libproxy is a library that provides automatic proxy configuration
management.
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
Proxy autoconfiguration (PAC) requires JavaScript (which most
applications do not have), and determing the PAC script location
requires a WPAD protocol implementation, which complicates proxy
support. libproxy exists to abstract this issue and provides
an answer how to reach a certain network resource.
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%package -n typelib-1_0-Libproxy-1_0
Summary: Gobject introspected access to libproxy
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%description -n typelib-1_0-Libproxy-1_0
Libproxy is using gobject-introspection and is thus usable
from a wide range of programming languages.
%prep
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%autosetup -p1 -n %{_name}-%{version}
%build
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%meson \
%if "%{flavor}" == "client"
-Dcurl=false \
-Dconfig-gnome=false \
-Dpacrunner-duktape=false \
-Ddocs=false \
-Dtests=false \
%endif
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%nil
%meson_build
%install
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%meson_install
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%if "%{flavor}" == "backend"
# this stuff is already shipped as part of the client library (built without cURL to break cycles)
rm %{buildroot}%{_bindir}/proxy
rm %{buildroot}%{_mandir}/man8/proxy*
rm %{buildroot}%{_libdir}/libproxy.so*
rm %{buildroot}%{_libdir}/girepository-1.0/Libproxy*.typelib
rm -rf %{buildroot}%{_includedir}/libproxy
rm -rf %{buildroot}%{_datadir}/gir-1.0
rm -rf %{buildroot}%{_datadir}/vala
rm %{buildroot}%{_libdir}/pkgconfig/libproxy-1.0.pc
%endif
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%if "%{flavor}" == "backend"
%check
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%meson_test ||:
%endif
%ldconfig_scriptlets -n libpxbackend-1_0%{?mini}
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%if "%{flavor}" == "client"
%ldconfig_scriptlets -n libproxy1
%endif
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%if "%{flavor}" == "client"
%files -n libproxy1
%{_libdir}/libproxy.so.*
%files -n libpxbackend-1_0%{?mini}
%dir %{_libdir}/libproxy
%{_libdir}/libproxy/libpxbackend-1.0.so
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%files -n libproxy-tools
%{_bindir}/proxy
%{_mandir}/man8/proxy.8%{?ext_man}
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%files -n typelib-1_0-Libproxy-1_0
%{_libdir}/girepository-1.0/Libproxy-1.0.typelib
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%files -n libproxy-devel
%{_datadir}/gir-1.0/Libproxy-1.0.gir
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/libproxy-1.0.*
%{_includedir}/libproxy/
%{_libdir}/libproxy.so
%{_libdir}/pkgconfig/libproxy-1.0.pc
%endif
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%if "%{flavor}" == "backend"
%files -n libpxbackend-1_0
%dir %{_libdir}/libproxy
%{_libdir}/libproxy/libpxbackend-1.0.so
Accepting request 1090471 from home:dimstar:Factory - Update to version 0.5.1: + Guard PxManager test with pacrunner-duktape option. + Install libpxbackend into pkglibdir. + Move glib2 inclusion out of c++ protection. + Replace libsoup with glib socket service functions. + Use glib-object header instead of gio. + Fix libproxy rpath. + Draft: Improve ignore checks. - Update to version 0.5.0: + Complete rewrite, now actively maintained by Volkswagen. - Drop libproxy-perl-cflags.patch: no longer applicable as the bindings were ported to gobject-introspection. - Adjusted build dependencies: + Dropped cmake, gcc-c++, netcfg, pkgconfig, zlib-devel, NetworkManager-devel, dbus-1-devel, perl, python-rpm-macros, python3-devel, python-devel, pkgconfig(gio-2.0) >= 2.26, pkgconfig(gobject-2.0), pkgconfig(javascriptcoregtk-4.0), libKF5ConfigCore5, pkgconfig(mozjs-38), mono-devel. + Added meson, sysuser-tools, vala, pkgconfig(glib-2.0), pkgconfig(libpeas-1.0), pkgconfig(gi-docgen), pkgconfig(gsettings-desktop-schemas), pkgconfig(libcurl), pkgconfig(libsoup-3.0). - Change multibuild flavors to build a client library (libproxy.so.1 plus consumer include files) and a backend flavor (pxbackend, linked against cURL, duktape; the lib doing the actual work. The split is needed to break up build cycles with curl). - Drop no longer existing subpackages libproxy1-config-kde, libproxy1-config-gnome3, libproxy1-config-pacrunner, OBS-URL: https://build.opensuse.org/request/show/1090471 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=164
2023-06-06 22:44:49 +02:00
%files -n libproxy-devel-doc
%{_datadir}/doc/libproxy-1.0
Accepting request 124317 from home:dimstar:branches:GNOME:Factory - Add libproxy-force-bipr.patch: Force building pacrunner as module This is required as libproxy, when building only one pacrunner, links the module internal. But as we only temporarly disable the mozjs, we do need to keep the webkit runner as an external module. - Also pass -DBIPR=0 to cmake, to enable the patch above. - Temporaryly disable the mozjs pacrunner: it casues crashes due to symbol conflicts in Firefox (bnc#759123): + Introduce build_mozjs defnies, currently set to 0 + Conditionally build the pacrunner-mozjs package + conditionally buildrequire pkgconfig(mozjs185) + When not building mozjs pacrunner, obsolete the package by libproxy1. - Add libproxy-force-bipr.patch: Force building pacrunner as module This is required as libproxy, when building only one pacrunner, links the module internal. But as we only temporarly disable the mozjs, we do need to keep the webkit runner as an external module. - Also pass -DBIPR=0 to cmake, to enable the patch above. - Temporaryly disable the mozjs pacrunner: it casues crashes due to symbol conflicts in Firefox (bnc#759123): + Introduce build_mozjs defnies, currently set to 0 + Conditionally build the pacrunner-mozjs package + conditionally buildrequire pkgconfig(mozjs185) + When not building mozjs pacrunner, obsolete the package by libproxy1. OBS-URL: https://build.opensuse.org/request/show/124317 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=78
2012-06-09 16:22:53 +02:00
%endif
%changelog