!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_gtkdoc_ver 1.20
|
||||||
%global min_gi_ver 0.9.5
|
%global min_gi_ver 0.9.5
|
||||||
%global min_valatools_ver 0.16
|
%global min_valatools_ver 0.16
|
||||||
|
%global min_meson_ver 0.43.0
|
||||||
Name: snapd-glib
|
Name: snapd-glib
|
||||||
Version: 1.43
|
Version: 1.60
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: Library providing a GLib interface to snapd
|
Summary: Library providing a GLib interface to snapd
|
||||||
License: LGPLv2 or LGPLv3
|
License: LGPLv2 or LGPLv3
|
||||||
URL: https://github.com/snapcore/%{name}
|
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(json-glib-1.0) >= %{min_jsonglib_ver}
|
||||||
BuildRequires: pkgconfig(libsoup-2.4) >= %{min_libsoup_ver} pkgconfig(Qt5Core)
|
BuildRequires: pkgconfig(libsoup-2.4) >= %{min_libsoup_ver} pkgconfig(Qt5Core)
|
||||||
BuildRequires: pkgconfig(Qt5Network) pkgconfig(Qt5Qml) vala-tools >= %{min_valatools_ver}
|
BuildRequires: pkgconfig(Qt5Network) pkgconfig(Qt5Qml) vala-tools >= %{min_valatools_ver}
|
||||||
|
BuildRequires: meson >= %{min_meson_ver}
|
||||||
Obsoletes: snapd-login-service < 1.33
|
Obsoletes: snapd-login-service < 1.33
|
||||||
Provides: snapd-login-service < 1.33
|
Provides: snapd-login-service < 1.33
|
||||||
%global __provides_exclude_from ^%{_qt5_qmldir}/Snapd/.*\\.so$
|
%global __provides_exclude_from ^%{_qt5_qmldir}/Snapd/.*\\.so$
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{name} is a library that provides an interface to communicate
|
%{name} is a library that provides an interface to communicate
|
||||||
with snapd for GLib based applications.
|
with snapd for GLib based applications.
|
||||||
@ -29,13 +32,23 @@ with snapd for GLib based applications.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package provides the files for developing applications
|
This package provides the files for developing applications
|
||||||
that use %{name} to communicate with snapd.
|
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
|
%package -n snapd-qt
|
||||||
Summary: Library providing a Qt5 interface to snapd
|
Summary: Library providing a Qt5 interface to snapd
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n snapd-qt
|
%description -n snapd-qt
|
||||||
snapd-qt is a library that provides an interface to communicate
|
snapd-qt is a library that provides an interface to communicate
|
||||||
with snapd for Qt based applications.
|
with snapd for Qt based applications.
|
||||||
@ -43,6 +56,7 @@ with snapd for Qt based applications.
|
|||||||
%package -n snapd-qt-qml
|
%package -n snapd-qt-qml
|
||||||
Summary: Library providing a Qt5 QML interface to snapd
|
Summary: Library providing a Qt5 QML interface to snapd
|
||||||
Requires: snapd-qt%{?_isa} = %{version}-%{release}
|
Requires: snapd-qt%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n snapd-qt-qml
|
%description -n snapd-qt-qml
|
||||||
snapd-qt-qml is a library that provides an interface to communicate
|
snapd-qt-qml is a library that provides an interface to communicate
|
||||||
with snapd for Qt QML based applications.
|
with snapd for Qt QML based applications.
|
||||||
@ -51,21 +65,30 @@ with snapd for Qt QML based applications.
|
|||||||
Summary: Development files for snapd-qt
|
Summary: Development files for snapd-qt
|
||||||
Requires: snapd-qt%{?_isa} = %{version}-%{release}
|
Requires: snapd-qt%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n snapd-qt-devel
|
%description -n snapd-qt-devel
|
||||||
This package provides the files for developing applications
|
This package provides the files for developing applications
|
||||||
that use snapd-qt to communicate with snapd.
|
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
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-gtk-doc --libexecdir=%{_libexecdir}/snapd \
|
%meson
|
||||||
--enable-snapd-qt --enable-qml-module
|
%meson_build
|
||||||
%make_build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%meson_install
|
||||||
find %{buildroot} -name '*.la' -delete
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
%ldconfig_scriptlets -n snapd-qt
|
%ldconfig_scriptlets -n snapd-qt
|
||||||
|
|
||||||
@ -83,6 +106,10 @@ find %{buildroot} -name '*.la' -delete
|
|||||||
%{_datadir}/vala/vapi/snapd-glib.*
|
%{_datadir}/vala/vapi/snapd-glib.*
|
||||||
%{_datadir}/gir-1.0/Snapd-1.gir
|
%{_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
|
%files -n snapd-qt
|
||||||
%{_libdir}/libsnapd-qt.so.*
|
%{_libdir}/libsnapd-qt.so.*
|
||||||
|
|
||||||
@ -95,7 +122,14 @@ find %{buildroot} -name '*.la' -delete
|
|||||||
%{_libdir}/pkgconfig/snapd-qt.pc
|
%{_libdir}/pkgconfig/snapd-qt.pc
|
||||||
%{_libdir}/cmake/Snapd/
|
%{_libdir}/cmake/Snapd/
|
||||||
|
|
||||||
|
%files -n snapd-qt-tests
|
||||||
|
%{_libexecdir}/installed-tests/snapd-glib/*-qt
|
||||||
|
%{_datadir}/installed-tests/snapd-glib/*-qt.test
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Oct 15 2020 liuweibo <liuweibo10@huawei.com> - 1.43-3
|
||||||
- provides snapd-login-service
|
- provides snapd-login-service
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user