Initial import
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
parent
18611e9a2a
commit
edca81efad
4 changed files with 116 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -0,0 +1 @@
|
|||
/angelscript_2.30.0.zip
|
||||
47
angelscript-meson.build
Normal file
47
angelscript-meson.build
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
project('angelscript', 'cpp')
|
||||
|
||||
shared_library(
|
||||
'angelscript',
|
||||
sources : [
|
||||
'source/as_atomic.cpp',
|
||||
'source/as_builder.cpp',
|
||||
'source/as_bytecode.cpp',
|
||||
'source/as_callfunc.cpp',
|
||||
'source/as_callfunc_arm.cpp',
|
||||
'source/as_callfunc_mips.cpp',
|
||||
'source/as_callfunc_ppc.cpp',
|
||||
'source/as_callfunc_ppc_64.cpp',
|
||||
'source/as_callfunc_sh4.cpp',
|
||||
'source/as_callfunc_x86.cpp',
|
||||
'source/as_callfunc_x64_gcc.cpp',
|
||||
'source/as_callfunc_x64_mingw.cpp',
|
||||
'source/as_compiler.cpp',
|
||||
'source/as_context.cpp',
|
||||
'source/as_configgroup.cpp',
|
||||
'source/as_datatype.cpp',
|
||||
'source/as_generic.cpp',
|
||||
'source/as_gc.cpp',
|
||||
'source/as_globalproperty.cpp',
|
||||
'source/as_memory.cpp',
|
||||
'source/as_module.cpp',
|
||||
'source/as_objecttype.cpp',
|
||||
'source/as_outputbuffer.cpp',
|
||||
'source/as_parser.cpp',
|
||||
'source/as_restore.cpp',
|
||||
'source/as_scriptcode.cpp',
|
||||
'source/as_scriptengine.cpp',
|
||||
'source/as_scriptfunction.cpp',
|
||||
'source/as_scriptnode.cpp',
|
||||
'source/as_scriptobject.cpp',
|
||||
'source/as_string.cpp',
|
||||
'source/as_string_util.cpp',
|
||||
'source/as_thread.cpp',
|
||||
'source/as_tokenizer.cpp',
|
||||
'source/as_typeinfo.cpp',
|
||||
'source/as_variablescope.cpp',
|
||||
],
|
||||
install : true,
|
||||
soversion : '2.30',
|
||||
version : '2.30.0',
|
||||
)
|
||||
install_headers('include/angelscript.h')
|
||||
67
angelscript.spec
Normal file
67
angelscript.spec
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
Name: angelscript
|
||||
Version: 2.30.0
|
||||
Release: 3%{?dist}
|
||||
Summary: Flexible cross-platform scripting library
|
||||
|
||||
License: zlib
|
||||
URL: http://www.angelcode.com/angelscript/
|
||||
Source0: http://www.angelcode.com/angelscript/sdk/files/%{name}_%{version}.zip
|
||||
Source1: angelscript-meson.build
|
||||
|
||||
BuildRequires: meson chrpath
|
||||
|
||||
%description
|
||||
The AngelScript library is a software library for easy integration of
|
||||
external scripting to applications, with built-in compiler and virtual
|
||||
machine. The scripting language is easily extendable to incorporate
|
||||
application specific data types and functions. It is designed with C++
|
||||
in mind, as such it shares many features with C++, for example syntax
|
||||
and data types.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -c
|
||||
rm -rf build && mkdir build
|
||||
cp %{SOURCE1} sdk/%{name}/meson.build
|
||||
|
||||
%build
|
||||
pushd build
|
||||
%meson ../sdk/%{name}/
|
||||
ninja-build -v
|
||||
popd
|
||||
|
||||
%install
|
||||
pushd build
|
||||
DESTDIR=%{buildroot} ninja-build -v install
|
||||
popd
|
||||
chrpath -d %{buildroot}%{_libdir}/*
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc sdk/docs/articles/*.html
|
||||
%{_libdir}/lib%{name}.so.*
|
||||
|
||||
%files devel
|
||||
%doc sdk/docs/manual/*
|
||||
%{_libdir}/lib%{name}.so
|
||||
%{_includedir}/%{name}.h
|
||||
|
||||
%changelog
|
||||
* Mon May 18 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.30.0-3
|
||||
- Fix docs in devel subpkg
|
||||
|
||||
* Wed May 13 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.30.0-2
|
||||
- Use custom builsystem to avoid multiple patching Makefile
|
||||
|
||||
* Sun Apr 26 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.30.0-1
|
||||
- Initial package
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
1b0ec7ead145cbcb252d9e1ce14f490d angelscript_2.30.0.zip
|
||||
Loading…
Add table
Add a link
Reference in a new issue