!3 update to upstream version 5.88.0
Merge pull request !3 from pei-jiankang/master
This commit is contained in:
commit
40f2637cda
@ -1,12 +1,12 @@
|
||||
%global framework solid
|
||||
|
||||
Name: kf5-%{framework}
|
||||
Version: 5.55.0
|
||||
Release: 1
|
||||
Summary: KDE Frameworks 5 Tier 1 integration module that provides hardware information
|
||||
Name: kf5-%{framework}
|
||||
Version: 5.88.0
|
||||
Release: 1
|
||||
Summary: KDE Frameworks 5 Tier 1 integration module that provides hardware information
|
||||
|
||||
License: LGPLv2+
|
||||
URL: https://solid.kde.org/
|
||||
License: LGPLv2+
|
||||
URL: https://solid.kde.org/
|
||||
|
||||
%global majmin %(echo %{version} | cut -d. -f1-2)
|
||||
%global revision %(echo %{version} | cut -d. -f3)
|
||||
@ -33,18 +33,14 @@ BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
# really runtime-only dep, but doesn't hurt to check availability at buildtime
|
||||
BuildRequires: media-player-info
|
||||
%if 0%{?fedora} > 23
|
||||
Recommends: media-player-info
|
||||
Recommends: udisks2
|
||||
Recommends: upower
|
||||
%else
|
||||
BuildRequires: pkgconfig(libimobiledevice-1.0)
|
||||
BuildRequires: pkgconfig(mount)
|
||||
Requires: media-player-info
|
||||
Requires: udisks2
|
||||
Requires: upower
|
||||
%endif
|
||||
%endif
|
||||
|
||||
Requires: kf5-filesystem >= %{majmin}
|
||||
Requires: kf5-filesystem
|
||||
|
||||
Obsoletes: kf5-solid-libs < 5.47.0-2
|
||||
Provides: kf5-solid-libs = %{version}-%{release}
|
||||
@ -72,7 +68,7 @@ developing applications that use %{name}.
|
||||
%build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{cmake_kf5} ..
|
||||
%{cmake_kf5} .. -DWITH_NEW_POWER_ASYNC_API:BOOL=ON -DWITH_NEW_POWER_ASYNC_FREEDESKTOP:BOOL=ON -DWITH_NEW_SOLID_JOB:BOOL=ON
|
||||
popd
|
||||
|
||||
%make_build -C %{_target_platform}
|
||||
@ -88,10 +84,10 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
|
||||
%files -f solid5_qt.lang
|
||||
%doc README.md TODO
|
||||
%license COPYING.LIB
|
||||
%{_kf5_sysconfdir}/xdg/%{framework}.*
|
||||
%license LICENSES/*.txt
|
||||
%{_kf5_datadir}/qlogging-categories5/%{framework}.*
|
||||
%{_kf5_bindir}/solid-hardware5
|
||||
#files libs
|
||||
%{_kf5_bindir}/solid-power
|
||||
%{_kf5_qmldir}/org/kde/solid/
|
||||
%{_kf5_libdir}/libKF5Solid.so.*
|
||||
|
||||
@ -104,5 +100,8 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 14 2022 pei-jiankang<peijiankang@kylinos.com> - 5.88.0-1
|
||||
- update to upstream version 5.88.0
|
||||
|
||||
* Thu Jul 23 2020 Zhao Yang <yangzhao1@kylinos.cn> - 5.55.0-1
|
||||
- Initial release for OpenEuler
|
||||
|
||||
Binary file not shown.
BIN
solid-5.88.0.tar.xz
Normal file
BIN
solid-5.88.0.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user