summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-26 00:09:10 +0800
committerruki <[email protected]>2020-09-26 00:09:10 +0800
commit60c200aa19f322742914acafad627706d7a9dc49 (patch)
tree4d6ff09467bb2f356ae008fbab1455d48357bca5 /scripts
parent6863250f6db327b765af4b9434c3b470433ee2f2 (diff)
strip trailing spaces
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rpmbuild/SPECS/xmake.spec24
1 files changed, 12 insertions, 12 deletions
diff --git a/scripts/rpmbuild/SPECS/xmake.spec b/scripts/rpmbuild/SPECS/xmake.spec
index ad0530791..dd8aa07f7 100644
--- a/scripts/rpmbuild/SPECS/xmake.spec
+++ b/scripts/rpmbuild/SPECS/xmake.spec
@@ -9,7 +9,7 @@
Name: xmake
Version: 2.3.7
Release: 1%{?dist}
-Summary: A cross-platform build utility based on Lua
+Summary: A cross-platform build utility based on Lua
BuildArch: noarch
License: Apache-2.0
URL: https://xmake.io
@@ -22,16 +22,16 @@ Source4: https://github.com/xmake-io/xmake-core-lua-cjson/archive/%{lua_cjson
BuildRequires: gcc-c++
BuildRequires: ncurses-devel
BuildRequires: readline-devel
-
+
%description
-It is a lightweight cross-platform build utility based on Lua.
-It uses xmake.lua to maintain project builds. Compared with makefile/CMakeLists.txt,
-the configuration syntax is more concise and intuitive.
-It is very friendly to novices and can quickly get started in a short time.
+It is a lightweight cross-platform build utility based on Lua.
+It uses xmake.lua to maintain project builds. Compared with makefile/CMakeLists.txt,
+the configuration syntax is more concise and intuitive.
+It is very friendly to novices and can quickly get started in a short time.
Let users focus more on actual project development.
-It can compile the project directly like Make/Ninja, or
-generate project files like CMake/Meson, and it also has a built-in package management
+It can compile the project directly like Make/Ninja, or
+generate project files like CMake/Meson, and it also has a built-in package management
system to help users solve the integrated use of C/C++ dependent libraries.
%prep
@@ -55,12 +55,12 @@ ln -s `pwd`/../xmake-core-lua-cjson-%{lua_cjson_branch} core/src/lua-cjson/lua-c
%build
make build
-
+
%install
mkdir -p %{buildroot}%{_bindir}
-mkdir -p %{buildroot}%{_datadir}
+mkdir -p %{buildroot}%{_datadir}
cp -r xmake %{buildroot}%{_datadir}/%{name}
-cp core/src/demo/demo.b %{buildroot}%{_bindir}/%{name}
+cp core/src/demo/demo.b %{buildroot}%{_bindir}/%{name}
chmod 755 %{buildroot}%{_bindir}/%{name}
cp README.md %{buildroot}%{_datadir}
cp LICENSE.md %{buildroot}%{_datadir}
@@ -76,7 +76,7 @@ rm -rf %{buildroot}
%{_datadir}/%{name}
%doc %{_datadir}/README.md
%license %{_datadir}/LICENSE.md
-
+
%changelog
* Mon Sep 14 2020 Ruki Wang <[email protected]> - 2.3.7-1
- Initial Commit