kiran-widgets-qt5/kiran-widgets-qt5.spec
luoqing 9280babad2 Modify license and add yaml file
- 修改license以符合规范
  添加yaml文件
2022-08-10 11:15:08 +08:00

182 lines
5.8 KiB
RPMSpec

Name: kiran-widgets-qt5
Version: 2.3.0
Release: 2
Summary: Encapsulated QT Widget
Summary(zh_CN): 封装的Qt小部件
License: MulanPSL-2.0
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake >= 3.5
BuildRequires: gcc-c++
BuildRequires: libX11-devel
BuildRequires: libxcb-devel
BuildRequires: xcb-util-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtbase-private-devel
BuildRequires: qt5-qtx11extras-devel
BuildRequires: qt5-qtsvg-devel
BuildRequires: qt5-linguist
BuildRequires: gsettings-qt-devel
BuildRequires: kiran-qt5-integration-devel
BuildRequires: kiran-qt5-integration
Requires: libX11
Requires: libxcb
Requires: xcb-util
Requires: qt5-qtbase
Requires: qt5-qtx11extras
Requires: qt5-qtsvg
Requires: gsettings-qt
Requires: kiran-qt5-integration
Obsoletes: kiranwidgets-qt5
%description
%{summary}.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Obsoletes: kiranwidgets-qt5-devel
%description devel
%{summary}.
%package examples
Summary: Programming examples for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description examples
%{summary}.
%prep
%autosetup -p1
%build
%{__mkdir} -p %{buildroot}
%cmake
make %{?_smp_mflags}
%install
%make_install
%files
%{_libdir}/libkiranwidgets-qt5.so*
%{_datadir}/kiranwidgets-qt5/translations/*
%files devel
%{_includedir}/kiranwidgets-qt5/*
%{_libdir}/pkgconfig/kiranwidgets-qt5.pc
%files examples
%{_datadir}/kiranwidgets-qt5/examples/*
%clean
rm -rf %{buildroot}
%changelog
* Wed Aug 10 2022 luoqing <luoqing@kylinsec.com.cn> - 2.3.0-2
- KYOS-F: Modify license and add yaml file.
* Thu Jul 07 2022 liuxinhao <liuxinhao@kylinsec.com.cn> - 2.3.0-1
- kYOS-F: Release kiranwidgets version 2.3, modify the control drawing, and support dark and light color themes
* Fri Jan 21 2022 liuxinhao <liuxinhao@kylinos.com.cn> - 2.2.0-2.kb4
- KYOS-B: add BuildRequires: qt5-qtbase-private-devel
- KYOS-B: fix compilation errors on OpenEuler
* Tue Jan 11 2022 caoyuanji <caoyuanji@kylinos.com.cn> - 2.2.0-2.kb3
- rebuild for KY3.4-5-Kiran-base-2.2
* Tue Jan 11 2022 caoyuanji <caoyuanji@kylinos.com.cn> - 2.2.0-2.kb2
- rebuild for KY3.4-5-Kiran-base-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 08 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.2.0-1.kb2
- KYBD: set kiranwidgets-qt5 obsoleted
* Thu Nov 04 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.2.0-1.kb1
- KYBD: rebuild
* Fri Sep 17 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.1.2.kb1
- KYOS-B: add interface to set titlebar height
* Fri Jul 16 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.1.1.kb1
- KYOS-F: fix menu set translucent background not effect
- KYOS-F: KiranApplication load qt translations when init (#41395)
- KYOS-B: fix mnemonics not converted (#41395)
* Mon Jun 07 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.1.0-2.kb1
- KYOS-B: Fix title block text width calculation error
- KYOS-F: adapting the style of qcombobox stylesheet combobox-popup option
- KYOS-F: update KiranTitlebarWindow SizeHint
- KYOS-B: Changing frequent log output levels
* Thu Apr 29 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.1.0-1.kb1
- KYOS-B: fix the problem that the upper and lower borders of spinbox are blocked by the input box
- KYOS-B: fix kiran style polish qcombobox crash
- KYOS-F: fit Qt5.9.7
- KYOS-F: add QSlider style
* Tue Mar 30 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.0+alpha13-2.kb1
- KYOS-B: fix message box translation problem
* Tue Mar 16 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.0+alpha13-1.kb2
- KYBD: rebuild solves the running dependency of the error
* Sat Feb 20 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.0+alpha13-1.kb1
- KYOS-F: title bar layout custom title bar window is realized again,and the layout logic is optimized
- KYOS-B: fixed that full screen would result in incomplete window display in case of custom title bar window display shadow
- KYOS-B: fix Kiran message box display size calculation problem
- KYOS-B: spelling error of open word,update translation
- KYOS-B: fix a problem where the style sheet was set twice and the style sheet did not work the second time
* Thu Jan 28 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.0+alpha12-1.kb2
- KYOS-B: move pkgconfig configuration file to devel package
* Tue Nov 17 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.0+alpha12
- KYOS-B: shared library name suffix and package name are unified
* Mon Nov 16 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.0+alpha11
- KYOS-B: fix kiransingleapplication
* Mon Nov 16 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.0+alpha10
- KYOS-F: add KiranSingleApplicaiton
- KYOS-B: message box minimum size limit,message box style supplement
* Mon Nov 16 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.0+alpha9
- KYOS-F: add KiranApplication
* Wed Nov 04 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.0+alpha8
- KYOS-B: add target library version
* Wed Nov 04 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.0+alpha7
- KYOS-F: fix the problem of maximizing
* Tue Nov 03 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.0+alpha6
- KYOS-F: add KiranMessageBox
* Sun Sep 27 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.0+alpha5
- KYOS-B: custom title bar window unified interface
* Fri Sep 25 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.0+alpha3
- KYOS-B: fix error setting shadow area display in zoom state
* Fri Sep 25 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.0+alpha2
- KYOS-F: Suitable for high DPI
* Fri Sep 25 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.0+alpha1
- first build