107 lines
3.0 KiB
RPMSpec
107 lines
3.0 KiB
RPMSpec
Name: dtkwidget
|
|
Version: 5.6.11.6
|
|
Release: 3%{?dist}
|
|
Summary: Deepin tool kit widget modules
|
|
License: LGPLv3+
|
|
URL: https://github.com/linuxdeepin/dtkwidget
|
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
Patch1: 0001-set-isUserManualExists-return-false.patch
|
|
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: qt5-linguist
|
|
BuildRequires: qt5-qtbase-static
|
|
BuildRequires: dtkgui-devel
|
|
BuildRequires: dtkcore-devel
|
|
BuildRequires: gtest-devel
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
BuildRequires: pkgconfig(Qt5Multimedia)
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
BuildRequires: pkgconfig(dframeworkdbus)
|
|
BuildRequires: pkgconfig(gsettings-qt)
|
|
BuildRequires: pkgconfig(libudev)
|
|
BuildRequires: pkgconfig(librsvg-2.0)
|
|
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
|
BuildRequires: pkgconfig(xi)
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRequires: pkgconfig(xext)
|
|
BuildRequires: pkgconfig(xcb-util)
|
|
BuildRequires: pkgconfig(xkbcommon)
|
|
BuildRequires: pkgconfig(xrender)
|
|
BuildRequires: cups-devel
|
|
|
|
# libQt5Gui.so.5(Qt_5.10.1_PRIVATE_API)(64bit) needed by dtkwidget-2.0.6.1-1.fc29.x86_64
|
|
BuildRequires: qt5-qtbase-private-devel
|
|
BuildRequires: qt5-qttools-devel
|
|
BuildRequires: make
|
|
BuildRequires: cmake
|
|
BuildRequires: doxygen
|
|
|
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
|
|
|
%description
|
|
DtkWidget is Deepin graphical user interface for deepin desktop development.
|
|
|
|
%package devel
|
|
Summary: Development package for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Requires: dtkcore-devel%{?_isa}
|
|
Requires: dtkgui-devel%{?_isa}
|
|
|
|
%description devel
|
|
Header files and libraries for %{name}.
|
|
|
|
%prep
|
|
%setup -q
|
|
%ifarch loongarch64 sw_64
|
|
%patch1 -p1
|
|
%endif
|
|
|
|
%build
|
|
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
|
export PATH=%{_qt5_bindir}:$PATH
|
|
%cmake
|
|
%make_build
|
|
|
|
%install
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_libdir}/lib%{name}.so.5*
|
|
%{_libdir}/dtk5/DWidget/bin
|
|
%{_libdir}/dtk5/DWidget/examples
|
|
%{_datadir}/*
|
|
|
|
%files devel
|
|
%{_includedir}/dtk5/
|
|
%{_qt5_archdatadir}/mkspecs/modules/*.pri
|
|
%{_libdir}/cmake/DtkWidget/
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
%{_libdir}/lib%{name}.so
|
|
|
|
%changelog
|
|
* Wed Dec 13 2023 mahailiang <mahailiang@uniontech.com> - 5.6.11.6-3
|
|
- fix: set isUserManualExists return false on loongarch64 sw_64(bugid:226963)
|
|
|
|
* Wed Oct 11 2023 liweigang <liweiganga@uniontech.com> - 5.6.11.6-2
|
|
- spec: change DWidget bin path
|
|
|
|
* Mon Oct 09 2023 liweigang <liweiganga@uniontech.com> - 5.6.11.6-1
|
|
- update: update to verison 5.6.11.6
|
|
|
|
* Wed Aug 16 2023 liuzhilin <liuzhilin@uniontech.com> - 5.6.11.5-1
|
|
- update: update to 5.6.11.5
|
|
|
|
* Fri Dec 23 2022 liweiganga <liweiganga@uniontech.com> - 5.5.59-1
|
|
- update: update to 5.5.59
|
|
|
|
* Fri Jun 10 2022 uoser <uoser@uniontech.com> - 5.5.28-1.01
|
|
- update: update to 5.5.28-1.01
|