libproxy/libproxy.spec

164 lines
4.5 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:57:39 -04:00
Name: libproxy
2023-08-04 03:35:40 +00:00
Version: 0.5.3
Release: 2
2019-09-30 10:57:39 -04:00
Summary: Libproxy is a library that provides automatic proxy configuration management
2023-08-04 03:35:40 +00:00
License: LGPL-2.1-or-later
2019-09-30 10:57:39 -04:00
URL: https://libproxy.github.io/libproxy/
2023-08-04 03:35:40 +00:00
Source0: https://github.com/libproxy/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
2019-09-30 10:57:39 -04:00
BuildRequires: gcc meson vala gi-docgen chrpath
2023-08-04 03:35:40 +00:00
BuildRequires: pkgconfig(gio-2.0) >= 2.71.3 pkgconfig(gsettings-desktop-schemas) python3-devel
BuildRequires: pkgconfig(duktape) pkgconfig(gobject-introspection-1.0) pkgconfig(libcurl)
2019-09-30 10:57:39 -04:00
Provides: %{name}-bin %{name}-gnome %{name}-kde %{name}-networkmanager %{name}-pacrunner
2019-12-13 15:39:12 +08:00
Obsoletes: %{name}-bin %{name}-gnome %{name}-kde %{name}-mozjs %{name}-networkmanager %{name}-pacrunner
2023-08-04 03:35:40 +00:00
Provides: %{name}-duktape = %{version}-%{release} python3-%{name} = %{version}-%{release}
Obsoletes: %{name}-duktape < %{version}-%{release} python3-%{name} < %{version}-%{release}
2019-09-30 10:57:39 -04:00
%description
libproxy offers the following features:
* extremely small core footprint (< 35K).
* no external dependencies within libproxy core.
(libproxy plugins 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.
%package devel
Summary: Libproxy provides consistent proxy configuration to applications - Development Files
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package contains libraries and header files for developing applications.
2019-11-06 19:39:36 +08:00
%package_help
2019-09-30 10:57:39 -04:00
%prep
%autosetup -p1
%build
2023-08-04 03:35:40 +00:00
%meson -Dconfig-gnome=true -Dconfig-kde=true -Dconfig-osx=false -Dconfig-windows=false -Dintrospection=true -Dtests=true -Dvapi=true
%meson_build
2019-09-30 10:57:39 -04:00
%install
2023-08-04 03:35:40 +00:00
%meson_install
chrpath -d $RPM_BUILD_ROOT%{_libdir}/*.so*
chrpath -d $RPM_BUILD_ROOT%{_libdir}/%{name}/*.so
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
echo "/usr/lib64/libproxy" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
2019-09-30 10:57:39 -04:00
%check
2023-08-04 03:35:40 +00:00
%meson_test
2019-09-30 10:57:39 -04:00
%ldconfig_scriptlets
%files
2019-12-13 15:39:12 +08:00
%defattr(-,root,root)
2023-08-04 03:35:40 +00:00
%doc CHANGELOG.md README.md
2019-12-13 15:39:12 +08:00
%license COPYING
%config(noreplace) /etc/ld.so.conf.d/*
2019-09-30 10:57:39 -04:00
%{_libdir}/*.so.*
2023-08-04 03:35:40 +00:00
%{_libdir}/libproxy/libpxbackend-1.0.so
%{_libdir}/girepository-1.0/
2019-09-30 10:57:39 -04:00
%{_bindir}/proxy
2019-12-13 15:39:12 +08:00
2019-09-30 10:57:39 -04:00
%files devel
2019-12-13 15:39:12 +08:00
%defattr(-,root,root)
2023-08-04 03:35:40 +00:00
%{_includedir}/libproxy/
%{_libdir}/libproxy.so
2019-09-30 10:57:39 -04:00
%{_libdir}/pkgconfig/libproxy-1.0.pc
2023-08-04 03:35:40 +00:00
%{_datadir}/vala/vapi/
%{_datadir}/gir-1.0
2019-09-30 10:57:39 -04:00
%files help
2019-12-13 15:39:12 +08:00
%defattr(-,root,root)
2023-08-04 03:35:40 +00:00
%{_mandir}/man8/proxy.8*
%{_datadir}/doc/libproxy-1.0/
2019-09-30 10:57:39 -04:00
%changelog
* Tue Aug 29 2023 zhouyihang <zhouyihang3@h-partners.com> - 0.5.3-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:remove rpath
2023-08-04 03:35:40 +00:00
* Fri Aug 04 2023 zhouyihang <zhouyihang3@h-partners.com> - 0.5.3-1
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update libproxy to 0.5.3
2022-11-08 02:16:18 +00:00
* Tue Nov 08 2022 zhouyihang <zhouyihang3@h-partners.com> - 0.4.18-1
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update libproxy to 0.4.18
* Sat Apr 16 2022 yanglu <yanglu72@h-partners.com> - 0.4.17-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix libproxy compile error based on python3.10
2021-01-28 15:31:39 +08:00
* Thu Jan 28 2021 xihaochen <xihaochen@huawei.com> - 0.4.17-1
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update libproxy to 0.4.17
* Wed Dec 02 2020 xihaochen <xihaochen@huawei.com> - 0.4.15-19
- Type:requirements
- Id:NA
- SUG:NA
- DESC:delete mozjs-68 dependency
2022-06-15 03:40:22 +00:00
* Fri Oct 30 2020 xihaochen <xihaochen@huawei.com> - 0.4.15-18
- Type:requirements
- Id:NA
- SUG:NA
- DESC:delete python2 dependency
2022-06-15 03:40:22 +00:00
* Thu Oct 29 2020 liuxin <liuxin264@huawei.com> - 0.4.15-17
- Type:cves
- Id:NA
- SUG:NA
- DESC:Disable mozjs backend by default and fix CVE-2020-25219
2022-06-15 03:40:22 +00:00
* Tue Oct 27 2020 orange-snn <songnannan2@huawei.com> - 0.4.15-16
- change the mozjs52 to mozjs68 in buildRequires
2022-06-15 03:40:22 +00:00
* Tue Oct 20 2020 hanzhijun <hanzhijun1@huawei.com> - 0.4.15-15
2020-10-20 11:40:27 +08:00
- Type:cves
- Id:NA
- SUG:NA
- DESC:fix CVE-2020-26154
2020-08-06 15:58:25 +08:00
* Thu Aug 6 2020 zengwefeng <zwfeng@huawei.com> - 0.4.15-14
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:drop dependency of libmodman
2020-10-20 11:40:27 +08:00
2020-01-11 16:48:54 +08:00
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.4.15-13
- Type:NA
- ID:NA
- SUG:NA
- DESC:fix patch source
2019-12-13 15:39:12 +08:00
* Thu Nov 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.4.15-12
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:remove the webkitgtk4 package from main package
* Thu Oct 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.4.15-11
2019-11-06 19:39:36 +08:00
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:remove the /usr/bin/kreadconfig5 in buildRequires.
2019-09-30 10:57:39 -04:00
* Tue Sep 10 2019 liyongqiang<liyongqiang10@huawei.com> - 0.4.15-10
- Package init