init version . to build rpm
This commit is contained in:
parent
d65b7933c0
commit
c74624c770
BIN
arkui-linux-1.0.0-thirdparty-flutter.tar.gz
Normal file
BIN
arkui-linux-1.0.0-thirdparty-flutter.tar.gz
Normal file
Binary file not shown.
BIN
arkui-linux-1.0.0-thirdparty-jsframework.tar.gz
Normal file
BIN
arkui-linux-1.0.0-thirdparty-jsframework.tar.gz
Normal file
Binary file not shown.
BIN
arkui-linux-1.0.0-thirdparty-node.tar.gz
Normal file
BIN
arkui-linux-1.0.0-thirdparty-node.tar.gz
Normal file
Binary file not shown.
BIN
arkui-linux-1.0.0.tar.gz
Normal file
BIN
arkui-linux-1.0.0.tar.gz
Normal file
Binary file not shown.
84
arkui-linux.spec
Normal file
84
arkui-linux.spec
Normal file
@ -0,0 +1,84 @@
|
||||
# Copyright (c) 2023 Huawei Technologies Co., Ltd. All rights reserved.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: arkui-linux
|
||||
Version: 1.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: arkui-linux is arkui repository for linux. it provides arkui GUI framework to supports arkui application.
|
||||
|
||||
License: Apache-2.0
|
||||
URL: https://gitee.com/openeuler/arkui-linux
|
||||
Source0: https://gitee.com/openeuler/arkui-linux/repository/archive/arkui-linux-1.0.0.tar.gz
|
||||
Source1: https://gitee.com/openeuler/arkui-linux/repository/archive/arkui-linux-1.0.0-thirdparty-flutter.tar.gz
|
||||
Source2: https://gitee.com/openeuler/arkui-linux/repository/archive/arkui-linux-1.0.0-thirdparty-jsframework.tar.gz
|
||||
Source3: https://gitee.com/openeuler/arkui-linux/repository/archive/arkui-linux-1.0.0-thirdparty-node.tar.gz
|
||||
|
||||
BuildRequires: clang python python3 python3-pip python-toml tar cmake ninja-build gn
|
||||
BuildRequires: llvm-devel libcurl-devel harfbuzz-devel ruby libuv-devel nodejs-devel jsoncpp-devel minizip-devel
|
||||
BuildRequires: ft_engine-devel ft_surface-devel ft_mmi-devel ft_flutter-devel ft_multimedia-devel
|
||||
BuildRequires: distributed-build
|
||||
Requires: ft_engine
|
||||
|
||||
%description
|
||||
arkui-linux is arkui repository for linux. it provides arkui GUI framework to supports arkui application.
|
||||
|
||||
%package devel
|
||||
Summary: arkui-linux development files
|
||||
Provides: arkui-linux-devel
|
||||
|
||||
%description devel
|
||||
This package contains necessary header files for ft_engine development.
|
||||
|
||||
%prep
|
||||
%setup -q -D -T -a 0 -c -n %{name}-%{version}/..
|
||||
%setup -q -D -T -a 1 -c -n %{name}-%{version}/..
|
||||
%setup -q -D -T -a 2 -c -n %{name}-%{version}/..
|
||||
%setup -q -D -T -a 3 -c -n %{name}-%{version}/..
|
||||
|
||||
%build
|
||||
mkdir -p %{_builddir}/%{name}-%{version}/arkcompiler/ets_frontend/ts2panda/node_modules
|
||||
cd %{_builddir}/%{name}-%{version}
|
||||
./build/prebuildrpm.sh -b release
|
||||
%ifarch x86_64
|
||||
./build.sh -b release
|
||||
%endif
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_libdir}
|
||||
mkdir -p %{buildroot}%{_includedir}
|
||||
mkdir -p %{buildroot}%{_includedir}/napi
|
||||
|
||||
%ifarch x86_64
|
||||
cp -pdf %{_builddir}/%{name}-%{version}/out/Release/x64/common/common/lib*.so %{buildroot}%{_libdir}
|
||||
%endif
|
||||
cp -pdfr %{_builddir}/%{name}-%{version}/napi/interfaces %{buildroot}%{_includedir}/napi
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%ifarch x86_64
|
||||
%{_libdir}/*
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%ifarch x86_64
|
||||
%{_libdir}/*
|
||||
%endif
|
||||
%{_includedir}/*
|
||||
|
||||
%changelog
|
||||
* Fri Nov 3 2023 yanansong <yanansong5@huawei.com> - 1.0.0-1
|
||||
-
|
||||
Loading…
x
Reference in New Issue
Block a user