glib-networking/glib-networking.spec
2022-03-25 14:56:44 +08:00

101 lines
2.7 KiB
RPMSpec

Name: glib-networking
Version: 2.68.1
Release: 2
Summary: Network-related modules for glib
License: LGPLv2+
URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/glib-networking/2.66/%{name}-%{version}.tar.xz
Patch0: backport-allow-tls-unique-channel-binding-test-to-fail.patch
BuildRequires: meson gcc ca-certificates gettext systemd
BuildRequires: pkgconfig(glib-2.0) >= 2.67.0 pkgconfig(gnutls)
BuildRequires: pkgconfig(gio-2.0) pkgconfig(gsettings-desktop-schemas)
BuildRequires: pkgconfig(libproxy-1.0) pkgconfig(p11-kit-1)
Requires: ca-certificates gsettings-desktop-schemas glib2 >= 2.67.0
%description
glib-networking contains the implementations of certain GLib networking features
that cannot be implemented directly in GLib itself because of their dependencies.
%package tests
Summary: verify the Usability of the glib-networking package
Requires: %{name} = %{version}-%{release}
%description tests
verify the Usability of the glib-networking package.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%meson -Dinstalled_tests=true
%meson_build
%install
%meson_install
%find_lang %{name}
%check
%meson_test
%files -f %{name}.lang
%defattr(-,root,root)
%doc NEWS README
%license COPYING
%{_libdir}/gio/modules/*
%{_libexecdir}/glib-pacrunner
%{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service
%{_userunitdir}/glib-pacrunner.service
%files tests
%defattr(-,root,root)
%{_libexecdir}/installed-tests/glib-networking
%{_datadir}/installed-tests
%changelog
* Fri Jan 07 2022 xingwei <xingwei14@huawei.com> - 2.68.1-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:allow tls-unique channel binding test to fail
* Fri Dec 03 2021 xihaochen <xihaochen@huawei.com> - 2.68.1-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update glib-networking to 2.68.1
* Mon Jul 19 2021 lijingyuan <lijingyuan3@huawei.com> - 2.62.4-2
- Type:requirement
- ID:NA
- SUG:NA
- DESC:cancel gdb in buildrequires
* Mon May 24 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 2.66.0-1
- Upgrade to 2.66.0
- Update Version, Source0, BuildRequires, Requires
* Sat Jul 25 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.62.4-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade to 2.62.4
* Fri Mar 20 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.58.0-7
- add gdb in buildrequires
* Mon Mar 16 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.58.0-6
- sync handle new gnutls certificate requred patch
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.58.0-5
- clean unused patch
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.58.0-4
- change the path of files
* Tue Sep 17 2019 Lijin Yang <yanglijin@huawei.com> - 2.58.0-3
- Package init