glib-networking/glib-networking.spec

62 lines
1.7 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:40:51 -04:00
Name: glib-networking
Version: 2.58.0
2020-01-10 11:25:40 +08:00
Release: 5
2019-09-30 10:40:51 -04:00
Summary: Network-related modules for glib
License: LGPLv2+
URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/glib-networking/2.58/glib-networking-%{version}.tar.xz
BuildRequires: meson gcc ca-certificates gettext systemd
BuildRequires: pkgconfig(glib-2.0) >= 2.55.1 pkgconfig(gnutls) >= 3.3.5
BuildRequires: pkgconfig(gio-2.0) pkgconfig(gsettings-desktop-schemas)
BuildRequires: pkgconfig(libproxy-1.0) >= 0.3.1 pkgconfig(p11-kit-1) >= 0.20
Requires: ca-certificates gsettings-desktop-schemas glib2 >= 2.55.1
%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}
%files -f %{name}.lang
2019-12-26 15:36:33 +08:00
%defattr(-,root,root)
%doc NEWS README
%license COPYING
2019-09-30 10:40:51 -04:00
%{_libdir}/gio/modules/*
%{_libexecdir}/glib-pacrunner
%{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service
%{_userunitdir}/glib-pacrunner.service
%files tests
2019-12-26 15:36:33 +08:00
%defattr(-,root,root)
2019-09-30 10:40:51 -04:00
%{_libexecdir}/installed-tests/glib-networking
%{_datadir}/installed-tests
%changelog
2020-01-10 11:25:40 +08:00
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.58.0-5
- clean unused patch
2019-12-26 15:36:33 +08:00
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.58.0-4
- change the path of files
2019-09-30 10:40:51 -04:00
* Tue Sep 17 2019 Lijin Yang <yanglijin@huawei.com> - 2.58.0-3
- Package init