3b4d59c
%global repo dde-control-center
3b4d59c
3b4d59c
Name:           deepin-control-center
bfb76d7
Version:        4.9.4
802a23a
Release:        1%{?dist}
3b4d59c
Summary:        New control center for Linux Deepin
3b4d59c
License:        GPLv3
3b4d59c
URL:            https://github.com/linuxdeepin/dde-control-center
3b4d59c
Source0:        %{url}/archive/%{version}/%{repo}-%{version}.tar.gz
3b4d59c
8ef50b6
BuildRequires:  gcc-c++
3b4d59c
BuildRequires:  desktop-file-utils
3b4d59c
BuildRequires:  deepin-dock-devel
e2f7bdc
BuildRequires:  pkgconfig(dde-network-utils)
e2f7bdc
BuildRequires:  pkgconfig(dtkwidget) >= 2.0.6
e2f7bdc
BuildRequires:  pkgconfig(dframeworkdbus) >= 2.0
3b4d59c
BuildRequires:  pkgconfig(gsettings-qt)
3b4d59c
BuildRequires:  pkgconfig(geoip)
b81c5c2
BuildRequires:  pkgconfig(libnm)
b6a640a
BuildRequires:  pkgconfig(Qt5Core)
b6a640a
BuildRequires:  pkgconfig(Qt5Concurrent)
b6a640a
BuildRequires:  pkgconfig(Qt5DBus)
3b4d59c
BuildRequires:  pkgconfig(Qt5Multimedia)
b6a640a
BuildRequires:  pkgconfig(Qt5Svg)
b6a640a
BuildRequires:  pkgconfig(Qt5Sql)
b6a640a
BuildRequires:  pkgconfig(Qt5Xml)
3b4d59c
BuildRequires:  pkgconfig(Qt5X11Extras)
bfb76d7
BuildRequires:  pkgconfig(xcb-ewmh)
b81c5c2
BuildRequires:  cmake(KF5NetworkManagerQt)
3b4d59c
BuildRequires:  qt5-linguist
3b4d59c
Requires:       deepin-account-faces
3b4d59c
Requires:       deepin-api
3b4d59c
Requires:       deepin-daemon
3b4d59c
Requires:       deepin-qt5integration
e2f7bdc
Requires:       deepin-network-utils
3b4d59c
Requires:       GeoIP-GeoLite-data
3b4d59c
Requires:       GeoIP-GeoLite-data-extra
3b4d59c
Requires:       gtk-murrine-engine
5586218
Requires:       proxychains-ng
b6a640a
Requires:       redshift
3b4d59c
Requires:       startdde
3b4d59c
3b4d59c
%description
3b4d59c
New control center for Linux Deepin.
3b4d59c
3b4d59c
%prep
3b4d59c
%setup -q -n %{repo}-%{version}
8ef50b6
sed -i 's|lrelease|lrelease-qt5|' translate_generation.sh
bfb76d7
sed -i '/%{repo}/s|\.\./lib|%{_libdir}|' src/frame/pluginscontroller.cpp
3b4d59c
3b4d59c
%build
bfb76d7
%cmake . -DDCC_DISABLE_GRUB=YES \
bfb76d7
         -DDISABLE_SYS_UPDATE=YES
3b4d59c
%make_build
3b4d59c
3b4d59c
%install
3b4d59c
%make_install INSTALL_ROOT=%{buildroot}
bfb76d7
# place holder plugins dir
bfb76d7
mkdir -p %{buildroot}%{_libdir}/%{repo}/plugins
bfb76d7
# https://github.com/linuxdeepin/dde-control-center/issues/115
bfb76d7
# And we disabled SYS_UPDATE, so reboot-reminder-dialog is useless.
bfb76d7
rm %{buildroot}%{_bindir}/reboot-reminder-dialog
3b4d59c
3b4d59c
%check
802a23a
desktop-file-validate %{buildroot}%{_datadir}/applications/%{repo}.desktop ||:
3b4d59c
3426747
%ldconfig_scriptlets
3b4d59c
3b4d59c
%files
3b4d59c
%doc README.md
3b4d59c
%license LICENSE
3b4d59c
%{_bindir}/%{repo}
3b4d59c
%{_datadir}/applications/%{repo}.desktop
3b4d59c
%{_datadir}/dbus-1/services/*.service
3b4d59c
%{_datadir}/%{repo}/
bfb76d7
%{_libdir}/%{repo}/
3b4d59c
3b4d59c
%changelog
bfb76d7
* Wed Feb 27 2019 Robin Lee <cheeselee@fedoraproject.org> - 4.9.4-1
bfb76d7
- Update to 4.9.4
bfb76d7
802a23a
* Thu Jan 31 2019 mosquito <sensor.wen@gmail.com> - 4.9.2.1-1
802a23a
- Update to 4.9.2.1
802a23a
de8312f
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.8.6-3
de8312f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
de8312f
410a3f0
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 4.8.6-2
410a3f0
- Rebuilt for libcrypt.so.2 (#1666033)
410a3f0
11ae670
* Sun Dec 23 2018 mosquito <sensor.wen@gmail.com> - 4.8.6-1
11ae670
- Update to 4.8.6
11ae670
8ef50b6
* Wed Dec 12 2018 mosquito <sensor.wen@gmail.com> - 4.8.2-1
8ef50b6
- Update to 4.8.2
8ef50b6
60b5502
* Thu Nov 29 2018 mosquito <sensor.wen@gmail.com> - 4.7.7-1
60b5502
- Update to 4.7.7
60b5502
d7c5673
* Wed Nov 21 2018 mosquito <sensor.wen@gmail.com> - 4.7.6.1-1
d7c5673
- Update to 4.7.6.1
d7c5673
b81c5c2
* Fri Nov  9 2018 mosquito <sensor.wen@gmail.com> - 4.7.4-1
b81c5c2
- Update to 4.7.4
b81c5c2
5586218
* Sat Aug 25 2018 mosquito <sensor.wen@gmail.com> - 4.6.4-1
5586218
- Update to 4.6.4
5586218
5586218
* Fri Aug 10 2018 mosquito <sensor.wen@gmail.com> - 4.6.3-1
5586218
- Update to 4.6.3
5586218
4d32778
* Thu Aug  2 2018 mosquito <sensor.wen@gmail.com> - 4.6.2-1
4d32778
- Update to 4.6.2
4d32778
e2f7bdc
* Fri Jul 27 2018 mosquito <sensor.wen@gmail.com> - 4.6.1-1
e2f7bdc
- Update to 4.6.1
e2f7bdc
4c4b4ae
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.7-4
4c4b4ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4c4b4ae
d9e17a4
* Fri Mar 23 2018 mosquito <sensor.wen@gmail.com> - 4.3.7-3
d9e17a4
- Exclude ppc64le, ppc64 and aarch64
d9e17a4
44e8fd4
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.7-2
44e8fd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
44e8fd4
b6a640a
* Sat Dec  2 2017 mosquito <sensor.wen@gmail.com> - 4.3.7-1
b6a640a
- Update to 4.3.7
b6a640a
b6a640a
* Fri Oct 27 2017 mosquito <sensor.wen@gmail.com> - 4.3.0-1
b6a640a
- Update to 4.3.0
b6a640a
b6a640a
* Thu Sep 21 2017 mosquito <sensor.wen@gmail.com> - 4.2.5.10-1
b6a640a
- Update to 4.2.5.10
b6a640a
3b4d59c
* Sun Aug 20 2017 mosquito <sensor.wen@gmail.com> - 4.2.5.4-1
3b4d59c
- Update to 4.2.5.4
3b4d59c
3b4d59c
* Tue Aug  1 2017 mosquito <sensor.wen@gmail.com> - 4.2.5-1
3b4d59c
- Update to 4.2.5
3b4d59c
3b4d59c
* Thu Jul 20 2017 mosquito <sensor.wen@gmail.com> - 4.2.4-1.git21d68b6
3b4d59c
- Update to 4.2.4
3b4d59c
3b4d59c
* Fri Jul 14 2017 mosquito <sensor.wen@gmail.com> - 4.2.3-1.git2f420f2
3b4d59c
- Update to 4.2.3
3b4d59c
3b4d59c
* Fri May 19 2017 mosquito <sensor.wen@gmail.com> - 4.1.2-1.git4d3827b
3b4d59c
- Update to 4.1.2
3b4d59c
3b4d59c
* Sun Feb 26 2017 mosquito <sensor.wen@gmail.com> - 4.0.7-1.git10c3be2
3b4d59c
- Update to 4.0.7
3b4d59c
3b4d59c
* Sat Jan 21 2017 mosquito <sensor.wen@gmail.com> - 3.0.24-1.git481255b
3b4d59c
- Downgrade to 3.0.24 for end user
3b4d59c
3b4d59c
* Sat Jan 21 2017 mosquito <sensor.wen@gmail.com> - 4.0.2-2.git8b1a736
3b4d59c
- Fix can not start
3b4d59c
3b4d59c
* Thu Jan 19 2017 mosquito <sensor.wen@gmail.com> - 4.0.2-1.git8b1a736
3b4d59c
- Update to 4.0.2
3b4d59c
3b4d59c
* Tue Jan 17 2017 mosquito <sensor.wen@gmail.com> - 4.0.1-1.gitd1c1c9a
3b4d59c
- Update to 4.0.1
3b4d59c
3b4d59c
* Tue Dec 27 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 3.0.24-2
3b4d59c
- Bump to newer release because of copr signature
3b4d59c
3b4d59c
* Fri Dec 09 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 3.0.24-1
3b4d59c
- Upgrade to 3.0.24
3b4d59c
3b4d59c
* Sun Oct 09 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 3.0.21-1
3b4d59c
- Initial package build