2017-09-18 18:45:06 +00:00
|
|
|
%global repo dde-control-center
|
|
|
|
|
|
|
|
Name: deepin-control-center
|
2017-12-10 12:43:24 +00:00
|
|
|
Version: 4.3.7
|
2018-02-07 06:32:50 +00:00
|
|
|
Release: 2%{?dist}
|
2017-09-18 18:45:06 +00:00
|
|
|
Summary: New control center for Linux Deepin
|
|
|
|
License: GPLv3
|
|
|
|
URL: https://github.com/linuxdeepin/dde-control-center
|
|
|
|
Source0: %{url}/archive/%{version}/%{repo}-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: deepin-dock-devel
|
|
|
|
BuildRequires: pkgconfig(dtkwidget) = 2.0
|
|
|
|
BuildRequires: pkgconfig(dframeworkdbus)
|
|
|
|
BuildRequires: pkgconfig(gsettings-qt)
|
|
|
|
BuildRequires: pkgconfig(geoip)
|
2017-12-10 12:43:24 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
2017-09-18 18:45:06 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5Multimedia)
|
2017-12-10 12:43:24 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
|
|
BuildRequires: pkgconfig(Qt5Sql)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
2017-09-18 18:45:06 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
|
|
BuildRequires: qt5-linguist
|
|
|
|
Requires: deepin-account-faces
|
|
|
|
Requires: deepin-api
|
|
|
|
Requires: deepin-daemon
|
|
|
|
Requires: deepin-qt5integration
|
|
|
|
Requires: GeoIP-GeoLite-data
|
|
|
|
Requires: GeoIP-GeoLite-data-extra
|
|
|
|
Requires: gtk-murrine-engine
|
2017-12-10 12:43:24 +00:00
|
|
|
Requires: redshift
|
2017-09-18 18:45:06 +00:00
|
|
|
Requires: startdde
|
|
|
|
|
|
|
|
%description
|
|
|
|
New control center for Linux Deepin.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{repo}-%{version}
|
|
|
|
sed -i 's|lrelease|lrelease-qt5|g' translate_generation.sh
|
|
|
|
|
|
|
|
sed -i -E '/target.path|utils.path/s|lib|%{_lib}|' plugins/*/*.pro
|
|
|
|
sed -i 's|lib|%{_lib}|' frame/pluginscontroller.cpp
|
|
|
|
sed -i -E '/QProcess|target.path/s|lib|libexec|' modules/update/updatemodule.cpp \
|
|
|
|
dialogs/reboot-reminder-dialog/reboot-reminder-dialog.pro
|
|
|
|
|
|
|
|
%build
|
|
|
|
%qmake_qt5 PREFIX=%{_prefix} \
|
|
|
|
QMAKE_CFLAGS_ISYSTEM= \
|
|
|
|
WITH_MODULE_GRUB=NO \
|
|
|
|
WITH_MODULE_REMOTE_ASSIST=NO \
|
|
|
|
WITH_MODULE_SYSINFO_UPDATE=NO \
|
|
|
|
DISABLE_SYS_UPDATE=YES
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
%check
|
|
|
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{repo}.desktop ||:
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README.md
|
|
|
|
%license LICENSE
|
|
|
|
%{_bindir}/%{repo}
|
|
|
|
%{_libdir}/%{repo}/
|
|
|
|
%{_libexecdir}/%{repo}/
|
|
|
|
%{_datadir}/applications/%{repo}.desktop
|
|
|
|
%{_datadir}/dbus-1/services/*.service
|
|
|
|
%{_datadir}/%{repo}/
|
|
|
|
|
|
|
|
%changelog
|
2018-02-07 06:32:50 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-12-10 12:43:24 +00:00
|
|
|
* Sat Dec 2 2017 mosquito <sensor.wen@gmail.com> - 4.3.7-1
|
|
|
|
- Update to 4.3.7
|
|
|
|
|
|
|
|
* Fri Oct 27 2017 mosquito <sensor.wen@gmail.com> - 4.3.0-1
|
|
|
|
- Update to 4.3.0
|
|
|
|
|
|
|
|
* Thu Sep 21 2017 mosquito <sensor.wen@gmail.com> - 4.2.5.10-1
|
|
|
|
- Update to 4.2.5.10
|
|
|
|
|
2017-09-18 18:45:06 +00:00
|
|
|
* Sun Aug 20 2017 mosquito <sensor.wen@gmail.com> - 4.2.5.4-1
|
|
|
|
- Update to 4.2.5.4
|
|
|
|
|
|
|
|
* Tue Aug 1 2017 mosquito <sensor.wen@gmail.com> - 4.2.5-1
|
|
|
|
- Update to 4.2.5
|
|
|
|
|
|
|
|
* Thu Jul 20 2017 mosquito <sensor.wen@gmail.com> - 4.2.4-1.git21d68b6
|
|
|
|
- Update to 4.2.4
|
|
|
|
|
|
|
|
* Fri Jul 14 2017 mosquito <sensor.wen@gmail.com> - 4.2.3-1.git2f420f2
|
|
|
|
- Update to 4.2.3
|
|
|
|
|
|
|
|
* Fri May 19 2017 mosquito <sensor.wen@gmail.com> - 4.1.2-1.git4d3827b
|
|
|
|
- Update to 4.1.2
|
|
|
|
|
|
|
|
* Sun Feb 26 2017 mosquito <sensor.wen@gmail.com> - 4.0.7-1.git10c3be2
|
|
|
|
- Update to 4.0.7
|
|
|
|
|
|
|
|
* Sat Jan 21 2017 mosquito <sensor.wen@gmail.com> - 3.0.24-1.git481255b
|
|
|
|
- Downgrade to 3.0.24 for end user
|
|
|
|
|
|
|
|
* Sat Jan 21 2017 mosquito <sensor.wen@gmail.com> - 4.0.2-2.git8b1a736
|
|
|
|
- Fix can not start
|
|
|
|
|
|
|
|
* Thu Jan 19 2017 mosquito <sensor.wen@gmail.com> - 4.0.2-1.git8b1a736
|
|
|
|
- Update to 4.0.2
|
|
|
|
|
|
|
|
* Tue Jan 17 2017 mosquito <sensor.wen@gmail.com> - 4.0.1-1.gitd1c1c9a
|
|
|
|
- Update to 4.0.1
|
|
|
|
|
|
|
|
* Tue Dec 27 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 3.0.24-2
|
|
|
|
- Bump to newer release because of copr signature
|
|
|
|
|
|
|
|
* Fri Dec 09 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 3.0.24-1
|
|
|
|
- Upgrade to 3.0.24
|
|
|
|
|
|
|
|
* Sun Oct 09 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 3.0.21-1
|
|
|
|
- Initial package build
|