2023-05-17 07:37:58 +00:00
|
|
|
%global _privatelibs libpxbackend-1.0[.]so.*
|
|
|
|
%global __provides_exclude ^(%{_privatelibs})$
|
|
|
|
%global __requires_exclude ^(%{_privatelibs})$
|
2011-04-12 15:37:33 +00:00
|
|
|
|
2009-01-23 15:09:44 +00:00
|
|
|
Name: libproxy
|
2024-04-18 17:55:59 +00:00
|
|
|
Version: 0.5.5
|
2024-04-18 17:52:49 +00:00
|
|
|
Release: %autorelease
|
2009-01-23 15:09:44 +00:00
|
|
|
Summary: A library handling all the details of proxy configuration
|
|
|
|
|
2023-05-17 07:37:58 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2016-02-29 11:27:32 +00:00
|
|
|
URL: https://libproxy.github.io/libproxy/
|
2023-05-24 07:10:27 +00:00
|
|
|
Source0: https://github.com/libproxy/%{name}/archive/refs/tags/%{version}.tar.gz
|
2023-05-17 07:37:58 +00:00
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: /usr/bin/gi-docgen
|
|
|
|
BuildRequires: /usr/bin/vapigen
|
|
|
|
|
2022-07-20 22:21:24 +00:00
|
|
|
BuildRequires: pkgconfig(duktape)
|
2023-05-17 07:37:58 +00:00
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.71.3
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
2016-04-04 08:43:52 +00:00
|
|
|
BuildRequires: python3-devel
|
2023-05-17 07:37:58 +00:00
|
|
|
# For config-gnome
|
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
|
|
|
|
|
|
|
# Folded into main package in 0.5.0. Remove in F41.
|
|
|
|
Provides: python3-%{name} = %{version}-%{release}
|
|
|
|
Provides: %{name}-pac = %{version}-%{release}
|
|
|
|
|
|
|
|
# Obsoletes of subpackages prior to 0.5.0 rewrite. Remove in F41.
|
|
|
|
Provides: %{name}-gnome = %{version}-%{release}
|
|
|
|
Obsoletes: %{name}-gnome < %{version}-%{release}
|
|
|
|
Provides: %{name}-kde = %{version}-%{release}
|
|
|
|
Obsoletes: %{name}-kde < %{version}-%{release}
|
|
|
|
Provides: %{name}-mozjs = %{version}-%{release}
|
|
|
|
Obsoletes: %{name}-mozjs < %{version}-%{release}
|
|
|
|
Provides: %{name}-pacrunner = %{version}-%{release}
|
|
|
|
Obsoletes: %{name}-pacrunner < %{version}-%{release}
|
|
|
|
Provides: %{name}-webkitgtk4 = %{version}-%{release}
|
|
|
|
Obsoletes: %{name}-webkitgtk4 < %{version}-%{release}
|
2023-05-23 00:23:06 +00:00
|
|
|
Provides: %{name}-duktape = %{version}-%{release}
|
|
|
|
Obsoletes: %{name}-duktape < %{version}-%{release}
|
2010-11-24 11:02:09 +00:00
|
|
|
|
2009-01-23 15:09:44 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
libproxy offers the following features:
|
|
|
|
|
2023-05-23 00:23:06 +00:00
|
|
|
* extremely small core footprint
|
|
|
|
* minimal dependencies within libproxy core
|
|
|
|
* only 4 functions in the stable-ish external API
|
2009-01-23 15:09:44 +00:00
|
|
|
* dynamic adjustment to changing network topology
|
|
|
|
* a standard way of dealing with proxy settings across all scenarios
|
2020-08-04 06:40:44 +00:00
|
|
|
* a sublime sense of joy and accomplishment
|
2009-01-23 15:09:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package bin
|
|
|
|
Summary: Binary to test %{name}
|
2016-02-29 09:54:40 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2009-01-23 15:09:44 +00:00
|
|
|
|
|
|
|
%description bin
|
|
|
|
The %{name}-bin package contains the proxy binary for %{name}
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
2016-02-29 09:54:40 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2009-01-23 15:09:44 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
2023-05-24 07:10:27 +00:00
|
|
|
%autosetup -p1
|
2010-11-24 11:02:09 +00:00
|
|
|
|
2017-01-01 17:56:33 +00:00
|
|
|
|
2009-01-23 15:09:44 +00:00
|
|
|
%build
|
2023-05-17 07:37:58 +00:00
|
|
|
%meson \
|
|
|
|
-Dconfig-gnome=true \
|
|
|
|
-Dconfig-kde=true \
|
|
|
|
-Dconfig-osx=false \
|
|
|
|
-Dconfig-windows=false \
|
|
|
|
-Dintrospection=true \
|
|
|
|
-Dtests=true \
|
|
|
|
-Dvapi=true
|
|
|
|
%meson_build
|
2010-03-24 23:39:12 +00:00
|
|
|
|
2010-09-06 19:17:34 +00:00
|
|
|
|
|
|
|
%install
|
2023-05-17 07:37:58 +00:00
|
|
|
%meson_install
|
2010-09-06 15:38:24 +00:00
|
|
|
|
2016-04-04 08:43:52 +00:00
|
|
|
|
2010-07-03 20:30:02 +00:00
|
|
|
%check
|
2023-05-17 07:37:58 +00:00
|
|
|
%meson_test
|
2009-01-23 15:09:44 +00:00
|
|
|
|
2018-05-04 08:51:24 +00:00
|
|
|
%ldconfig_scriptlets
|
2009-01-23 15:09:44 +00:00
|
|
|
|
|
|
|
|
2020-08-04 06:40:44 +00:00
|
|
|
%files
|
2023-05-17 07:37:58 +00:00
|
|
|
%doc CHANGELOG.md README.md
|
2016-02-29 10:00:05 +00:00
|
|
|
%license COPYING
|
2023-05-17 07:37:58 +00:00
|
|
|
%dir %{_libdir}/girepository-1.0
|
|
|
|
%{_libdir}/girepository-1.0/Libproxy-1.0.typelib
|
|
|
|
%{_libdir}/libproxy.so.*
|
|
|
|
%dir %{_libdir}/libproxy
|
|
|
|
%{_libdir}/libproxy/libpxbackend-1.0.so
|
2009-01-23 15:09:44 +00:00
|
|
|
|
|
|
|
%files bin
|
|
|
|
%{_bindir}/proxy
|
2023-05-17 07:37:58 +00:00
|
|
|
%{_mandir}/man8/proxy.8*
|
2013-07-18 13:30:13 +00:00
|
|
|
|
2009-01-23 15:09:44 +00:00
|
|
|
%files devel
|
2023-05-17 07:37:58 +00:00
|
|
|
%{_docdir}/libproxy-1.0/
|
|
|
|
%{_includedir}/libproxy/
|
|
|
|
%{_libdir}/libproxy.so
|
2009-01-23 15:09:44 +00:00
|
|
|
%{_libdir}/pkgconfig/libproxy-1.0.pc
|
2023-05-17 07:37:58 +00:00
|
|
|
%dir %{_datadir}/gir-1.0
|
|
|
|
%{_datadir}/gir-1.0/Libproxy-1.0.gir
|
|
|
|
%dir %{_datadir}/vala/vapi/
|
|
|
|
%{_datadir}/vala/vapi/libproxy-1.0.deps
|
|
|
|
%{_datadir}/vala/vapi/libproxy-1.0.vapi
|
2009-01-23 15:09:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-04-18 17:52:49 +00:00
|
|
|
%autochangelog
|