75 lines
2.0 KiB
RPMSpec
75 lines
2.0 KiB
RPMSpec
Name: dtkgui
|
|
Version: 5.5.18
|
|
Release: 2
|
|
Summary: Deepin dtkgui
|
|
License: LGPLv3+
|
|
URL: https://github.com/linuxdeepin/dtkgui
|
|
|
|
%if 0%{?fedora}
|
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
%else
|
|
Source0: %{name}-%{version}.orig.tar.xz
|
|
%endif
|
|
BuildRequires: qt5-qtx11extras-devel
|
|
BuildRequires: dtkcommon-devel <= 5.5.18
|
|
BuildRequires: dtkcore
|
|
BuildRequires: dtkcore-devel
|
|
BuildRequires: librsvg2-devel
|
|
BuildRequires: gtest-devel
|
|
BuildRequires: gcc-c++ gtest-devel
|
|
BuildRequires: annobin qt5-qttools-devel
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
BuildRequires: pkgconfig(gsettings-qt)
|
|
BuildRequires: gmock-devel
|
|
BuildRequires: qt5-qtbase-private-devel
|
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
|
BuildRequires: make
|
|
%description
|
|
Dtkgui is the GUI module for DDE look and feel.
|
|
|
|
%package devel
|
|
Summary: Development package for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Requires: dtkcore-devel%{?_isa}
|
|
|
|
%description devel
|
|
Header files and libraries for %{name}.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
|
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
|
|
%{_libdir}/lib%{name}.so.5*
|
|
%{_libexecdir}/dtk5/deepin-gui-settings
|
|
%{_libexecdir}/dtk5/taskbar
|
|
%{_libexecdir}/dtk5/dde-kwin-debug
|
|
|
|
%files devel
|
|
%{_includedir}/libdtk-*/
|
|
%{_libdir}/pkgconfig/dtkgui.pc
|
|
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_dtkgui.pri
|
|
%{_libdir}/cmake/DtkGui/
|
|
%{_libdir}/lib%{name}.so
|
|
|
|
%changelog
|
|
* Fri Nov 17 2023 hanshuang <hanshuang@uniontech.com> - 5.5.18-2
|
|
- modify version info
|
|
|
|
* Mon Jun 13 2022 uoser <uoser@uniontech.com> - 5.5.18-1.01
|
|
- update: update to 5.5.18-1.01
|