Projects
Eulaceura:Mainline:GA
dtkcore2
_service:obs_scm:dtkcore2.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:dtkcore2.spec of Package dtkcore2
Name: dtkcore2 Version: 2.2.1 Release: 1 Summary: Deepin tool kit core modules License: GPLv3 URL: https://github.com/linuxdeepin/dtkcore Source0: %{name}_%{version}.orig.tar.xz BuildRequires: gcc-c++ BuildRequires: annobin BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(gsettings-qt) Obsoletes: deepin-tool-kit <= 0.3.3 Obsoletes: deepin-tool-kit-devel <= 0.3.3 Obsoletes: dtksettings <= 0.1.7 Obsoletes: dtksettings-devel <= 0.1.7 %description Deepin tool kit core modules. %package devel Summary: Development package for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: qt5-qtbase-devel %description devel Header files and libraries for %{name}. %prep %setup -q sed -i 's|/lib|/libexec|' tools/settings/settings.pro ## consider relying on %%_qt5_bindir (see %%build below) instead of patching -- rex #sed -i 's|qmake|qmake-qt5|' src/dtk_module.prf #sed -i 's|lrelease|lrelease-qt5|' tools/script/dtk-translate.py src/dtk_translation.prf %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}/dtk2 \ TOOL_INSTALL_DIR=%{_libexecdir}/dtk2 %make_build %install %make_install INSTALL_ROOT=%{buildroot} %ldconfig_scriptlets %files %doc README.md %license LICENSE %{_libdir}/libdtkcore.so.2* %{_libexecdir}/dtk2/dtk-settings %{_libexecdir}/dtk2/dtk-license.py* %{_libexecdir}/dtk2/dtk-translate.py* %{_libexecdir}/dtk2/deepin-os-release %files devel %doc doc/Specification.md %{_includedir}/libdtk-*/ %{_qt5_archdatadir}/mkspecs/features/*.prf %{_qt5_archdatadir}/mkspecs/modules/*.pri %{_libdir}/cmake/Dtk/ %{_libdir}/cmake/DtkCore/ %{_libdir}/cmake/DtkCMake/ %{_libdir}/pkgconfig/dtkcore.pc %{_libdir}/libdtkcore.so %changelog * Fri Aug 7 2020 zhaochen pan <panchenbo@uniontech.com> - 2.2.1-1 - Initial release for OpenEuler
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2