121 lines
3.6 KiB
RPMSpec
121 lines
3.6 KiB
RPMSpec
Name: kiran-cpanel-timedate
|
|
Version: 2.1.0
|
|
Release: 5%{?dist}
|
|
Summary: Time And Date Manager
|
|
Summary(zh_CN): 设置本地系统的时间和日期
|
|
|
|
License: Mulan PSL v2
|
|
#URL:
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXrandr-devel
|
|
BuildRequires: qt5-qtbase-devel
|
|
BuildRequires: qt5-qtsvg-devel
|
|
BuildRequires: gsettings-qt-devel
|
|
BuildRequires: qt5-linguist
|
|
BuildRequires: kiran-widgets-qt5-devel
|
|
BuildRequires: kiran-cc-daemon-devel
|
|
BuildRequires: kiran-log-qt5-devel
|
|
BuildRequires: kiran-control-panel-devel
|
|
|
|
Requires: libX11
|
|
Requires: libXrandr
|
|
Requires: qt5-qtbase
|
|
Requires: qt5-qtsvg
|
|
Requires: gsettings-qt
|
|
Requires: kiran-system-daemon
|
|
Requires: kiran-widgets-qt5
|
|
Requires: kiran-log-qt5
|
|
Requires: kiran-cpanel-launcher
|
|
|
|
Obsoletes: kiran-timedate-manager
|
|
|
|
%description
|
|
Time And Date Manager
|
|
|
|
%prep
|
|
%autosetup -p 1
|
|
|
|
%build
|
|
%{__mkdir} -p %{buildroot}
|
|
%cmake
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%post
|
|
gtk-update-icon-cache -f /usr/share/icons/hicolor/
|
|
|
|
%posttrans
|
|
%define link_source %{_datadir}/kiran-control-panel/plugins/desktop/%{name}.desktop
|
|
%define link_target %{_datadir}/applications/%{name}.desktop
|
|
if [ ! -e %{link_target} ] ; then
|
|
ln -sf %{link_source} %{link_target}
|
|
echo "link %{link_source} -> %{link_target}"
|
|
fi
|
|
|
|
%files
|
|
%doc
|
|
%{_datadir}/kiran-control-panel/plugins/libs/libkiran-cpanel-timedate.so*
|
|
%{_datadir}/kiran-control-panel/plugins/desktop/*
|
|
%{_datadir}/icons/hicolor/*
|
|
%{_datadir}/kiran-cpanel-timedate/translations/*.qm
|
|
%{_datadir}/applications/*
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%changelog
|
|
* Mon Oct 18 2021 xiewenhao <xiewenhao@kylinos.com.cn> - 2.1.0-3.kb2
|
|
- KYOS-B: fix license information (#43502)
|
|
|
|
* Tue Aug 03 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.1.0-3.kb1
|
|
- KYOS-B: siderbar display hour format (#42082)
|
|
|
|
* Tue Jul 20 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.1.0-2.kb1
|
|
- KYOS-B: install desktop link (#38890)
|
|
|
|
* Thu Jun 17 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.1.0-1.kb1
|
|
- KYOS-B: fix the problem that the date and time setting does not take effect
|
|
|
|
* Wed Jun 09 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.3-1.kb1
|
|
- KYOS-F: build for KiranControlPanel plugin
|
|
|
|
* Tue Mar 09 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.2-2.kb1
|
|
- KYOS-F: the date and time display format under the dial changes with the setting
|
|
|
|
* Mon Mar 08 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.2-1.kb1
|
|
- KYOS-F: add timedate format settings
|
|
- KYOS-F: support kiran-control-center arch
|
|
|
|
* Thu Nov 26 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.1-1.kb2
|
|
- KYBD: rebuild for kiranwidgets-qt5-2
|
|
|
|
* Mon Nov 09 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.1-1.kb1
|
|
- KYOS-F: rename service name
|
|
|
|
* Tue Sep 29 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.1+alpha6
|
|
- KYOS-F: change kiran-timedate-manager to single instance
|
|
|
|
* Tue Sep 29 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.1+alpha5
|
|
- KYOS-F: extend clock update time to one second
|
|
- KYOS-B: the minimum number of days is 1
|
|
|
|
* Sun Sep 27 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.1+alpha4
|
|
- KYOS-F: using kiranwidgets-qt5 KiranTitlebarWindow
|
|
|
|
* Sat Sep 19 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.1~alpha3
|
|
- KYOS-F: do not handle scaling
|
|
|
|
* Sat Sep 19 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.1~alpha2
|
|
- KYOS-B: the currently selected item is centered,scroll picker hover effect
|
|
- KYOS-F: fix search timezone switch to show all time zone dont't scroll current item to middle
|
|
|
|
* Thu Sep 17 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.1~alpha1
|
|
- Initial build
|