Update to 4.9.4

This commit is contained in:
Robin Lee 2019-02-27 17:58:36 +08:00
parent 802a23aac5
commit bfb76d7f63
3 changed files with 16 additions and 12 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@
/dde-control-center-4.8.2.tar.gz /dde-control-center-4.8.2.tar.gz
/dde-control-center-4.8.6.tar.gz /dde-control-center-4.8.6.tar.gz
/dde-control-center-4.9.2.1.tar.gz /dde-control-center-4.9.2.1.tar.gz
/dde-control-center-4.9.4.tar.gz

View File

@ -1,7 +1,7 @@
%global repo dde-control-center %global repo dde-control-center
Name: deepin-control-center Name: deepin-control-center
Version: 4.9.2.1 Version: 4.9.4
Release: 1%{?dist} Release: 1%{?dist}
Summary: New control center for Linux Deepin Summary: New control center for Linux Deepin
License: GPLv3 License: GPLv3
@ -25,6 +25,7 @@ BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: pkgconfig(xcb-ewmh)
BuildRequires: cmake(KF5NetworkManagerQt) BuildRequires: cmake(KF5NetworkManagerQt)
BuildRequires: qt5-linguist BuildRequires: qt5-linguist
Requires: deepin-account-faces Requires: deepin-account-faces
@ -45,21 +46,20 @@ New control center for Linux Deepin.
%prep %prep
%setup -q -n %{repo}-%{version} %setup -q -n %{repo}-%{version}
sed -i 's|lrelease|lrelease-qt5|' translate_generation.sh sed -i 's|lrelease|lrelease-qt5|' translate_generation.sh
sed -i '/%{repo}/s|lib|%{_lib}|' plugins/*/*.pro frame/pluginscontroller.cpp sed -i '/%{repo}/s|\.\./lib|%{_libdir}|' src/frame/pluginscontroller.cpp
sed -i '/%{repo}/s|lib|libexec|' modules/update/updatework.cpp \
dialogs/reboot-reminder-dialog/reboot-reminder-dialog.pro
%build %build
%qmake_qt5 PREFIX=%{_prefix} \ %cmake . -DDCC_DISABLE_GRUB=YES \
QMAKE_CFLAGS_ISYSTEM= \ -DDISABLE_SYS_UPDATE=YES
WITH_MODULE_GRUB=NO \
WITH_MODULE_REMOTE_ASSIST=NO \
WITH_MODULE_SYSINFO_UPDATE=NO \
DISABLE_SYS_UPDATE=YES
%make_build %make_build
%install %install
%make_install INSTALL_ROOT=%{buildroot} %make_install INSTALL_ROOT=%{buildroot}
# place holder plugins dir
mkdir -p %{buildroot}%{_libdir}/%{repo}/plugins
# https://github.com/linuxdeepin/dde-control-center/issues/115
# And we disabled SYS_UPDATE, so reboot-reminder-dialog is useless.
rm %{buildroot}%{_bindir}/reboot-reminder-dialog
%check %check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{repo}.desktop ||: desktop-file-validate %{buildroot}%{_datadir}/applications/%{repo}.desktop ||:
@ -70,12 +70,15 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{repo}.desktop ||:
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%{_bindir}/%{repo} %{_bindir}/%{repo}
%{_libexecdir}/%{repo}/
%{_datadir}/applications/%{repo}.desktop %{_datadir}/applications/%{repo}.desktop
%{_datadir}/dbus-1/services/*.service %{_datadir}/dbus-1/services/*.service
%{_datadir}/%{repo}/ %{_datadir}/%{repo}/
%{_libdir}/%{repo}/
%changelog %changelog
* Wed Feb 27 2019 Robin Lee <cheeselee@fedoraproject.org> - 4.9.4-1
- Update to 4.9.4
* Thu Jan 31 2019 mosquito <sensor.wen@gmail.com> - 4.9.2.1-1 * Thu Jan 31 2019 mosquito <sensor.wen@gmail.com> - 4.9.2.1-1
- Update to 4.9.2.1 - Update to 4.9.2.1

View File

@ -1 +1 @@
SHA512 (dde-control-center-4.9.2.1.tar.gz) = ee57c8217d3c4adac299780783634f116d82472286605040c5edcad9e55a83d3c4b44ce2e037666005da8db0a20d98bbd7ecb68d60b4ca38109d85f2ab76c72c SHA512 (dde-control-center-4.9.4.tar.gz) = 421817d5a39e8c8ee747e1ab029367b3acb64f1f81acd6708cf0045ef547fceb9575ef779d56ca9fc58ed03d92c6615b6b10f205e76650f57f5b367a2369b844