Projects
Eulaceura:Mainline
distributeddatamgr_datamgr_service
_service:obs_scm:distributeddatamgr_datamgr_ser...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:distributeddatamgr_datamgr_service.spec of Package distributeddatamgr_datamgr_service
%define debug_package %{nil} %global oh_version OpenHarmony-v3.2-Release %global distributeddata_dir %{_builddir}/foundation/distributeddatamgr/ %global build_opt /opt/distributed-middleware-build Name: distributeddatamgr_datamgr_service Version: 1.0.0 Release: 5 Summary: Distributed data manager that provides the capability to store data in the databases of different devices License: Apache-2.0 Url: https://gitee.com/openharmony/distributeddatamgr_datamgr_service Source1: https://gitee.com/openharmony/distributeddatamgr_datamgr_service/repository/archive/%{oh_version}.tar.gz#/distributeddatamgr_datamgr_service-%{oh_version}.tar.gz Patch1: 0001-remove-useless-dependency.patch Patch2: 0002-establish-kvstore-dependence-on-boundscheck.patch Patch3: 0003-feat-for-embedded-permissive-and-include_dirs-errors.patch Patch4: 0004-fix-distributeddata_adapter_public_config-visibility.patch BuildRequires: libboundscheck, zlib, zlib-devel, jsoncpp, jsoncpp-devel, compat-openssl11-devel BuildRequires: distributed-build, distributed-beget, hilog, commonlibrary_c_utils BuildRequires: communication_ipc, communication_dsoftbus BuildRequires: systemabilitymgr_safwk, systemabilitymgr_samgr BuildRequires: security_dataclassification, security_device_auth, security_huks BuildRequires: distributedhardware_device_manager BuildRequires: distributeddatamgr_kv_store, distributeddatamgr_relational_store Requires: libboundscheck, zlib, zlib-devel, jsoncpp, jsoncpp-devel, compat-openssl11-devel Requires: distributed-beget, hilog, commonlibrary_c_utils Requires: communication_ipc, communication_dsoftbus Requires: systemabilitymgr_safwk, systemabilitymgr_samgr Requires: security_dataclassification, security_device_auth, security_huks Requires: distributedhardware_device_manager Requires: distributeddatamgr_kv_store, distributeddatamgr_relational_store %description Distributed Data Service (DDS) provides the ability to distribute database data between different devices. By combining account, application, and database triplets, distributed data services isolate data. Among trusted authentication devices, the distributed data service supports mutual data synchronization, providing users with a consistent data access experience on various terminal devices. %prep rm -rf %{_builddir}/* cp -rf %{build_opt} %{_builddir}/build [ ! -L "%{_builddir}/build.sh" ] && ln -s %{_builddir}/build/build_scripts/build.sh %{_builddir}/build.sh [ ! -L "%{_builddir}/.gn" ] && ln -s %{_builddir}/build/core/gn/dotfile.gn %{_builddir}/.gn [ ! -L "%{_builddir}/build.py" ] && ln -s %{_builddir}/build/lite/build.py %{_builddir}/build.py cp -rf %{_builddir}/build/openeuler/vendor %{_builddir}/ cp -rf %{_builddir}/build/openeuler/compiler_gn/* %{_builddir} %setup -q -D -T -a 1 -c -n %{distributeddata_dir} if [ -d "%{distributeddata_dir}/datamgr_service" ]; then rm -rf %{distributeddata_dir}/datamgr_service fi mv %{distributeddata_dir}/%{name}-%{oh_version} %{distributeddata_dir}/datamgr_service %patch -P1 -p1 -d %{distributeddata_dir}/datamgr_service %patch -P2 -p1 -d %{distributeddata_dir}/datamgr_service %patch -P3 -p1 -d %{distributeddata_dir}/datamgr_service %patch -P4 -p1 -d %{distributeddata_dir}/datamgr_service %build %ifarch x86_64 %{_builddir}/build.sh --product-name openeuler --target-cpu x86_64 %endif %ifarch aarch64 %{_builddir}/build.sh --product-name openeuler --target-cpu arm64 %endif %install install -d -m 0755 %{buildroot}%{_includedir}/%{name} install -d -m 0755 %{buildroot}%{_libdir} install -d -m 0755 %{buildroot}/system/profile install -d -m 0755 %{buildroot}/system/lib64 install -d -m 0755 %{buildroot}/system/etc/distributeddata/conf %ifarch aarch64 %define lib_out_path out/openeuler/linux_clang_arm64/distributeddatamgr/datamgr_service %endif %ifarch x86_64 %define lib_out_path out/openeuler/linux_clang_x86_64/distributeddatamgr/datamgr_service %endif install -m 0755 %{_builddir}/%{lib_out_path}/*.so %{buildroot}%{_libdir} install -m 0755 %{_builddir}/%{lib_out_path}/*.so %{buildroot}/system/lib64 %define config_path out/openeuler/packages/phone/system install -m 0755 %{_builddir}/%{config_path}/profile/distributeddata.xml %{buildroot}/system/profile install -m 0755 %{_builddir}/%{config_path}/etc/distributeddata/conf/* %{buildroot}/system/etc/distributeddata/conf/ %files %{_libdir}/*.so /system/* %changelog * Mon Sep 2 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-5 - Fix distributeddata_adapter_public_config visibility for gn. * Sat Jun 29 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-4 - Fix permissive and include_dirs errors for embedded. * Sat Jun 29 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-4 - Fix permissive and include_dirs errors for embedded. * Tue Nov 21 2023 Peng He <hepeng68@huawei.com> - 1.0.0-3 - Update build requires and requires. * Thu Aug 03 2023 Peng He <hepeng68@huawei.com> - 1.0.0-2 - Add requires and rectify the contents of the RPM package. * Fri Jul 21 2023 Ge Wang <wang__ge@126.com> - 1.0.0-1 - init package
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