dtkgui/dtkgui.spec

88 lines
2.2 KiB
RPMSpec
Raw Normal View History

2020-07-14 11:03:32 +08:00
Name: dtkgui
2023-04-06 17:07:07 +08:00
Version: 5.5.18
2022-07-28 16:02:49 +08:00
Release: 1
2020-07-14 11:03:32 +08:00
Summary: Deepin dtkgui
2022-07-28 16:02:49 +08:00
License: LGPLv3+
URL: https://github.com/linuxdeepin/dtkgui
%if 0%{?fedora}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
%else
2023-04-06 17:07:07 +08:00
Source0: %{name}-%{version}.orig.tar.xz
2022-07-28 16:02:49 +08:00
%endif
2020-07-14 11:03:32 +08:00
BuildRequires: qt5-qtx11extras-devel
BuildRequires: dtkcore-devel
BuildRequires: librsvg2-devel
BuildRequires: gcc-c++
BuildRequires: annobin
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(gsettings-qt)
2022-01-29 13:45:19 +08:00
BuildRequires: qt5-qtbase-private-devel
2023-04-06 17:07:07 +08:00
BuildRequires: gtest-devel
BuildRequires: gmock-devel
2022-07-28 16:02:49 +08:00
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
2020-07-14 11:03:32 +08:00
%description
2022-07-28 16:02:49 +08:00
Dtkgui is the GUI module for DDE look and feel.
2020-07-14 11:03:32 +08:00
%package devel
Summary: Development package for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
2022-07-28 16:02:49 +08:00
Requires: dtkcore-devel%{?_isa}
2020-07-14 11:03:32 +08:00
%description devel
Header files and libraries for %{name}.
%prep
2022-07-28 16:02:49 +08:00
%autosetup
2020-07-14 11:03:32 +08:00
%build
2022-07-28 16:02:49 +08:00
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
2020-07-14 11:03:32 +08:00
export PATH=%{_qt5_bindir}:$PATH
%qmake_qt5 PREFIX=%{_prefix} \
DTK_VERSION=%{version} \
LIB_INSTALL_DIR=%{_libdir} \
BIN_INSTALL_DIR=%{_libexecdir}/dtk5 \
TOOL_INSTALL_DIR=%{_libexecdir}/dtk5
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
%files
%doc README.md
%license LICENSE
2022-07-28 16:02:49 +08:00
%{_libdir}/lib%{name}.so.5*
2020-07-14 11:03:32 +08:00
%{_libexecdir}/dtk5/deepin-gui-settings
%{_libexecdir}/dtk5/taskbar
2023-04-06 17:07:07 +08:00
%{_libexecdir}/dtk5/dde-kwin-debug
2020-07-14 11:03:32 +08:00
%files devel
%{_includedir}/libdtk-*/
%{_libdir}/pkgconfig/dtkgui.pc
2022-07-28 16:02:49 +08:00
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_dtkgui.pri
2020-07-14 11:03:32 +08:00
%{_libdir}/cmake/DtkGui/
2022-07-28 16:02:49 +08:00
%{_libdir}/lib%{name}.so
2020-07-14 11:03:32 +08:00
%changelog
2023-04-06 17:07:07 +08:00
* Thu Mar 23 2023 liweiganga <liweiganga@uniontech.com> - 5.5.18-1
- update to 5.5.18
2022-07-28 16:02:49 +08:00
* Tue Jul 19 2022 konglidong <konglidong@uniontech.com> - 5.4.10-1
- Update to 5.4.10
2022-01-29 13:45:19 +08:00
* Sat Jan 29 2022 liweigang <liweiganga@uniontech.com> - 5.2.2.1-3
- fix build error
* Thu Jul 15 2021 weidong <weidong@uniontech.com> - 5.2.2.1-2
- Format spec
2021-07-12 15:52:48 +08:00
* Mon Jul 12 2021 weidong <weidong@uniontech.com> - 5.2.2.1-1
- Update 5.2.2.1
2020-09-03 14:37:53 +08:00
* Thu Sep 3 2020 weidong <weidong@uniontech.com> - 5.2.0-2
- fix source url in spec
2020-07-30 16:48:06 +08:00
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.2.0-1
- Package init