106 lines
3.0 KiB
RPMSpec
106 lines
3.0 KiB
RPMSpec
Name: kiran-cpanel-appearance
|
|
Version: 2.2.0
|
|
Release: 2.kb3
|
|
Summary: This program provide personalized settings for wallpaper, theme and font.
|
|
|
|
Group: System Environment/Base
|
|
License: Mulan PSL v2
|
|
URL: http://gitlab.kylinos.com.cn/os/kiran-cpanel-appearance
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Patch1001: 0000-fix-theme-set-metacity-theme-when-user-change-theme-2028295d.patch
|
|
Patch1002: 0001-fix-build-fix-incomplete-type-class-QPainterPath-bui.patch
|
|
|
|
BuildRequires: qt5-qtsvg-devel
|
|
BuildRequires: cmake
|
|
BuildRequires: gettext
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: qt5-qtbase-devel
|
|
BuildRequires: qt5-linguist
|
|
BuildRequires: kiran-widgets-qt5-devel
|
|
BuildRequires: kiran-cc-daemon-devel >= 2.0.7
|
|
BuildRequires: libstdc++-devel
|
|
BuildRequires: kiran-log-qt5-devel
|
|
BuildRequires: kiran-control-panel-devel
|
|
BuildRequires: kiran-qdbusxml2cpp
|
|
BuildRequires: libXcursor-devel
|
|
|
|
Requires: gcc
|
|
Requires: qt5-qtbase
|
|
Requires: qt5-qtsvg
|
|
Requires: kiran-widgets-qt5
|
|
Requires: kiran-session-daemon >= 2.0.7
|
|
Requires: kiran-log-qt5
|
|
Requires: kiran-cpanel-launcher
|
|
Requires: libXcursor
|
|
|
|
%description
|
|
This program provide personalized settings for wallpaper, theme and font.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%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-appearance.so*
|
|
%{_datadir}/%{name}/icons/*
|
|
%{_datadir}/icons/hicolor/*
|
|
%{_datadir}/%{name}/translations/*
|
|
%{_datadir}/kiran-control-panel/plugins/desktop/*
|
|
%{_datadir}/applications/kiran-cpanel-appearance.desktop
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%changelog
|
|
* Mon Jan 24 2022 longcheng <longcheng@kylinos.com.cn> - 2.2.0-2.kb3
|
|
- KYOS-B: fix compilation errors on OpenEuler
|
|
|
|
* Wed Jan 12 2022 caoyuanji <caoyuanji@kylinos.com.cn> - 2.2.0-2.kb2
|
|
- rebuild for KY3.4-5-KiranUI-2.2
|
|
|
|
* Wed Dec 29 2021 kpkg <kpkg@kylinos.com.cn> - 2.2.0-2.kb1
|
|
- rebuild for KY3.4-MATE-modules-dev
|
|
|
|
* Wed Dec 29 2021 caoyuanji<caoyuanji@kylinos.com.cn> - 2.2.0-2
|
|
- Upgrade version number for easy upgrade
|
|
|
|
* Mon Dec 20 2021 caoyuanji <caoyuanji@kylinos.com.cn> - 2.2.0-1.kb4
|
|
- rebuild for KY3.4-4-KiranUI-2.2
|
|
|
|
* Mon Dec 20 2021 caoyuanji <caoyuanji@kylinos.com.cn> - 2.2.0-1.kb3
|
|
- rebuild for KY3.4-4-KiranUI-2.2
|
|
|
|
* Mon Nov 29 2021 yuanxing <yuanxing@kylinos.com.cn> - 2.2.0.kb2
|
|
- KYOS-F: set metacity theme when user change theme
|
|
|
|
* Fri Nov 12 2021 yuanxing <yuanxing@kylinos.com.cn> - 2.2.0.kb1
|
|
- KYOS-F: Adjust the DBUS generation mode, connect the DBUS signal changes
|
|
- KYOS-F: Add custom image storage and loading methods
|
|
- KYOS-F: Add selectable icons, cursor themes
|
|
- KYOS-F: When the system does not find the font, the display is none
|
|
|
|
* Fri Aug 6 2021 yuanxing <yuanxing@kylinos.com.cn> - 2.1.0.kb1
|
|
- Initial build
|
|
|
|
|
|
|