Projects
Eulaceura:Factory
dde-manual-content
_service:obs_scm:dde-manual-content.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:dde-manual-content.spec of Package dde-manual-content
%global debug_package %{nil} Name: dde-manual-content Version: 1.1.2 Release: 1 Summary: Manual content for Deepin Desktop Environment. License: GPLv3+ URL: https://github.com/linuxdeepin/%{name} Source0: %{name}-%{version}.tar.gz Patch0: 0001-feat-add-server-help.patch Patch1: 0002-feat-add-A-server-help.patch Patch1000: 0001-fix-manual-content-description.patch BuildRequires: gcc-c++ BuildRequires: cmake3 BuildArch: noarch %description %{Summary}. %prep %autosetup -p1 %if ! 0%{?openeuler} sed -i 's|system/dde|server|' CMakeLists.txt %endif %build # help find (and prefer) qt5 utilities, e.g. qmake, lrelease export PATH=%{_qt5_bindir}:$PATH # cmake_minimum_required version is too high sed -i "s|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|" $(find . -name "CMakeLists.txt") mkdir build && pushd build %cmake ../ %make_build popd %install %make_install -C build INSTALL_ROOT="%buildroot" %if 0%{?openeuler} rm -vrf %{buildroot}%{_datadir}/deepin-manual/manual-assets/system/dde/dde/zh_HK rm -vrf %{buildroot}%{_datadir}/deepin-manual/manual-assets/system/dde/dde/zh_TW rm -vf %{buildroot}%{_datadir}/deepin-manual/manual-assets/system/dde/dde/en_US/d_dde.md rm -vf %{buildroot}%{_datadir}/deepin-manual/manual-assets/system/dde/dde/en_US/p_dde.md rm -vf %{buildroot}%{_datadir}/deepin-manual/manual-assets/system/dde/dde/zh_CN/d_dde.md rm -vf %{buildroot}%{_datadir}/deepin-manual/manual-assets/system/dde/dde/zh_CN/p_dde.md %else rm -vrf %{buildroot}%{_datadir}/deepin-manual/manual-assets/server/dde/zh_HK rm -vrf %{buildroot}%{_datadir}/deepin-manual/manual-assets/server/dde/zh_TW rm -vf %{buildroot}%{_datadir}/deepin-manual/manual-assets/server/dde/en_US/d_dde.md rm -vf %{buildroot}%{_datadir}/deepin-manual/manual-assets/server/dde/en_US/p_dde.md rm -vf %{buildroot}%{_datadir}/deepin-manual/manual-assets/server/dde/zh_CN/d_dde.md rm -vf %{buildroot}%{_datadir}/deepin-manual/manual-assets/server/dde/zh_CN/p_dde.md %endif %files %if 0%{?openeuler} %{_datadir}/deepin-manual/manual-assets/system/dde/ %else %{_datadir}/deepin-manual/manual-assets/server/dde/ %endif %changelog * Wed Jul 26 2023 leeffo <liweiganga@uniontech.com> - 1.1.2-1 - init: Project init.
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