!7 Update to 1.60
From: @starlet-dx Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
db9427dfa3
Binary file not shown.
BIN
snapd-glib-1.60.tar.xz
Normal file
BIN
snapd-glib-1.60.tar.xz
Normal file
Binary file not shown.
@ -4,9 +4,10 @@
|
||||
%global min_gtkdoc_ver 1.20
|
||||
%global min_gi_ver 0.9.5
|
||||
%global min_valatools_ver 0.16
|
||||
%global min_meson_ver 0.43.0
|
||||
Name: snapd-glib
|
||||
Version: 1.43
|
||||
Release: 3
|
||||
Version: 1.60
|
||||
Release: 1
|
||||
Summary: Library providing a GLib interface to snapd
|
||||
License: LGPLv2 or LGPLv3
|
||||
URL: https://github.com/snapcore/%{name}
|
||||
@ -19,9 +20,11 @@ BuildRequires: pkgconfig(glib-2.0) >= %{min_glib2_ver}
|
||||
BuildRequires: pkgconfig(json-glib-1.0) >= %{min_jsonglib_ver}
|
||||
BuildRequires: pkgconfig(libsoup-2.4) >= %{min_libsoup_ver} pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Network) pkgconfig(Qt5Qml) vala-tools >= %{min_valatools_ver}
|
||||
BuildRequires: meson >= %{min_meson_ver}
|
||||
Obsoletes: snapd-login-service < 1.33
|
||||
Provides: snapd-login-service < 1.33
|
||||
%global __provides_exclude_from ^%{_qt5_qmldir}/Snapd/.*\\.so$
|
||||
|
||||
%description
|
||||
%{name} is a library that provides an interface to communicate
|
||||
with snapd for GLib based applications.
|
||||
@ -29,13 +32,23 @@ with snapd for GLib based applications.
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package provides the files for developing applications
|
||||
that use %{name} to communicate with snapd.
|
||||
|
||||
%package tests
|
||||
Summary: Installed tests for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description tests
|
||||
This package provides the files for running the test programs
|
||||
for %{name} to verify the functionality of %{name}.
|
||||
|
||||
%package -n snapd-qt
|
||||
Summary: Library providing a Qt5 interface to snapd
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n snapd-qt
|
||||
snapd-qt is a library that provides an interface to communicate
|
||||
with snapd for Qt based applications.
|
||||
@ -43,6 +56,7 @@ with snapd for Qt based applications.
|
||||
%package -n snapd-qt-qml
|
||||
Summary: Library providing a Qt5 QML interface to snapd
|
||||
Requires: snapd-qt%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n snapd-qt-qml
|
||||
snapd-qt-qml is a library that provides an interface to communicate
|
||||
with snapd for Qt QML based applications.
|
||||
@ -51,21 +65,30 @@ with snapd for Qt QML based applications.
|
||||
Summary: Development files for snapd-qt
|
||||
Requires: snapd-qt%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n snapd-qt-devel
|
||||
This package provides the files for developing applications
|
||||
that use snapd-qt to communicate with snapd.
|
||||
|
||||
%package -n snapd-qt-tests
|
||||
Summary: Installed tests for snapd-qt
|
||||
Requires: snapd-qt%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-tests%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n snapd-qt-tests
|
||||
This package provides the files for running the test programs
|
||||
for snapd-qt to verify the functionality of snapd-qt.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure --enable-gtk-doc --libexecdir=%{_libexecdir}/snapd \
|
||||
--enable-snapd-qt --enable-qml-module
|
||||
%make_build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -name '*.la' -delete
|
||||
%meson_install
|
||||
|
||||
%ldconfig_scriptlets
|
||||
%ldconfig_scriptlets -n snapd-qt
|
||||
|
||||
@ -83,6 +106,10 @@ find %{buildroot} -name '*.la' -delete
|
||||
%{_datadir}/vala/vapi/snapd-glib.*
|
||||
%{_datadir}/gir-1.0/Snapd-1.gir
|
||||
|
||||
%files tests
|
||||
%{_libexecdir}/installed-tests/snapd-glib/*-glib
|
||||
%{_datadir}/installed-tests/snapd-glib/*-glib.test
|
||||
|
||||
%files -n snapd-qt
|
||||
%{_libdir}/libsnapd-qt.so.*
|
||||
|
||||
@ -95,7 +122,14 @@ find %{buildroot} -name '*.la' -delete
|
||||
%{_libdir}/pkgconfig/snapd-qt.pc
|
||||
%{_libdir}/cmake/Snapd/
|
||||
|
||||
%files -n snapd-qt-tests
|
||||
%{_libexecdir}/installed-tests/snapd-glib/*-qt
|
||||
%{_datadir}/installed-tests/snapd-glib/*-qt.test
|
||||
|
||||
%changelog
|
||||
* Fri Apr 14 2023 yaoxin <yao_xin001@hoperun.com> - 1.60-1
|
||||
- Update to 1.60
|
||||
|
||||
* Thu Oct 15 2020 liuweibo <liuweibo10@huawei.com> - 1.43-3
|
||||
- provides snapd-login-service
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user