!2 [sync] PR-1: init package
From: @openeuler-sync-bot Reviewed-by: @leeffo Signed-off-by: @leeffo
This commit is contained in:
commit
6d080421ea
BIN
dde-app-services-0.0.20.tar.gz
Normal file
BIN
dde-app-services-0.0.20.tar.gz
Normal file
Binary file not shown.
79
dde-app-services.spec
Normal file
79
dde-app-services.spec
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
Name: dde-app-services
|
||||||
|
Version: 0.0.20
|
||||||
|
Release: 1
|
||||||
|
Summary: Service collection of DDE applications
|
||||||
|
License: LGPL-3.0+
|
||||||
|
Url: https://github.com/linuxdeepin/dde-app-services
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: dtkcore-devel
|
||||||
|
BuildRequires: dtkcommon-devel
|
||||||
|
BuildRequires: dtkgui-devel
|
||||||
|
BuildRequires: dtkwidget-devel
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
BuildRequires: gtest-devel
|
||||||
|
BuildRequires: gmock-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
%summary.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n dde-dconfig-daemon
|
||||||
|
Summary: deepin desktop-environment - dde-dconfig-daemon module
|
||||||
|
Requires: %{name}
|
||||||
|
|
||||||
|
%description -n dde-dconfig-daemon
|
||||||
|
dde-dconfig-daemon provids dbus service for reading and writing DSG configuration.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n dde-dconfig-editor
|
||||||
|
Summary: deepin desktop-environment - dde-dconfig-editor module
|
||||||
|
Requires: %{name}
|
||||||
|
|
||||||
|
%description -n dde-dconfig-editor
|
||||||
|
dde-dconfig-editor is a GUI or Console tool, it's used to view and edit DSG configuration for current user.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%if 0%{?openeuler}
|
||||||
|
sed -i 's/set(REQUIRED_QT_VERSION 5.11.3)/set(REQUIRED_QT_VERSION 5.11.1)/' $(find ./dconfig-center/*/ -name "CMakeLists.txt")
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%build
|
||||||
|
export PATH=%_qt5_bindir:$PATH
|
||||||
|
%cmake \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||||
|
#
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
#chmod +x %buildroot%_datadir/bash-completion/completions/dde-dconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc LICENSE README.md
|
||||||
|
|
||||||
|
%{_datadir}/dsg/configs/example.json
|
||||||
|
%{_datadir}/dsg/configs/dconfig-example/
|
||||||
|
%{_datadir}/dsg/configs/overrides/dconfig-example/example/
|
||||||
|
|
||||||
|
%files -n dde-dconfig-daemon
|
||||||
|
%{_bindir}/dde-dconfig
|
||||||
|
%{_bindir}/dde-dconfig-daemon
|
||||||
|
%{_datadir}/bash-completion/completions/*
|
||||||
|
%{_datadir}/dbus-1/system.d/*
|
||||||
|
%{_datadir}/dbus-1/interfaces/*
|
||||||
|
%{_datadir}/dbus-1/system-services/*
|
||||||
|
|
||||||
|
%files -n dde-dconfig-editor
|
||||||
|
%{_bindir}/dde-dconfig-editor
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Aug 14 2023 leeffo <liweiganga@uniontech.com> - 0.0.20-1
|
||||||
|
- init: init package
|
||||||
4
dde-app-services.yaml
Normal file
4
dde-app-services.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: dde-app-services
|
||||||
|
tag_prefix: ^v
|
||||||
|
separator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user