angelscript/angelscript.spec

91 lines
2.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package angelscript
#
Accepting request 677201 from home:elimat:branches:games - Update to new upstream release 2.33.0 * Fixed crash when compiling is null comparison with ASHANDLE object without any opEquals operator * Fixed bug with anonymous initialization lists when used to initialize value type passed by value to function * Loading bytecode that included use of template value types with a template type as argument crashed * Compiler would crash on compiling ternary operator with anonymous list in one of the conditions * Fixed error when saving bytecode for scripts containing interfaces that derives from interfaces * Saving bytecode for a never returning function would cause assert failure * Fixed an error when compiling a class method call as post-op and the name matches a type name * Template types are now properly identified in separate namespaces * Fixed memory build-up due to delayed cleanup when discarding modules with shared entities * opImplCast with variable type won't be used for non-ref types * Fixed compiler error when both opConv and opImplConv are implemented * Fixed bug when loading bytecode containing shared interfaces with inheritance * auto declarations now works correctly with implicit handle types * Initializing an ASHANDLE type with overloaded opHndlAssign taking a var type as a handle wasn't done correctly * Fixed loading byte code that uses external shared classes in namespace * The bytecode for external shared entities is no longer saved in the module when inherited from * Bytecode with external shared classes with virtual methods failed to load from bytecode * Fixed assert failure on call to opCast(?&out) with a non-variable expression * Passing a string literal to function expecting &out will now give compiler error * Fixed problem in compiler that didn't release a temporary variable when passing anonymous object to function expecting ?&in * Fixed a bug when loading bytecode having identical shared functions in different namespaces * Compiler will now detect name conflict between property and function * asIScriptFunction::GetDeclaration(false, true) no longer includes the namespace before the function name for class methods * Fixed assert failure in asIScriptEngine::RefCastObject when object has multiple opCast methods * Compiler no longer accepts primitives in the right hand expression for handle assignments * Fixed compiler warning with use of asOFFSET on 64bit platforms * Fixed crash caused by CreateScriptObjectCopy when script class' constructor takes argument by handle * Child funcdefs in templates will no longer convert parameter types to @const& * Fixed problem when compiling anonymous initialization list from default arg * Ownership of shared template instances wasn't correctly transferred when discarding modules * Fixed crash in compiler when matching anonymous list to function taking funcdef * Fixed assert failure in builder when compiling external shared interfaces with inheritance * Fixed crash in compiler when invalid script has inheritance from class with duplicate methods - Clean with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/677201 OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=11
2019-02-19 08:24:07 +01:00
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Accepting request 677201 from home:elimat:branches:games - Update to new upstream release 2.33.0 * Fixed crash when compiling is null comparison with ASHANDLE object without any opEquals operator * Fixed bug with anonymous initialization lists when used to initialize value type passed by value to function * Loading bytecode that included use of template value types with a template type as argument crashed * Compiler would crash on compiling ternary operator with anonymous list in one of the conditions * Fixed error when saving bytecode for scripts containing interfaces that derives from interfaces * Saving bytecode for a never returning function would cause assert failure * Fixed an error when compiling a class method call as post-op and the name matches a type name * Template types are now properly identified in separate namespaces * Fixed memory build-up due to delayed cleanup when discarding modules with shared entities * opImplCast with variable type won't be used for non-ref types * Fixed compiler error when both opConv and opImplConv are implemented * Fixed bug when loading bytecode containing shared interfaces with inheritance * auto declarations now works correctly with implicit handle types * Initializing an ASHANDLE type with overloaded opHndlAssign taking a var type as a handle wasn't done correctly * Fixed loading byte code that uses external shared classes in namespace * The bytecode for external shared entities is no longer saved in the module when inherited from * Bytecode with external shared classes with virtual methods failed to load from bytecode * Fixed assert failure on call to opCast(?&out) with a non-variable expression * Passing a string literal to function expecting &out will now give compiler error * Fixed problem in compiler that didn't release a temporary variable when passing anonymous object to function expecting ?&in * Fixed a bug when loading bytecode having identical shared functions in different namespaces * Compiler will now detect name conflict between property and function * asIScriptFunction::GetDeclaration(false, true) no longer includes the namespace before the function name for class methods * Fixed assert failure in asIScriptEngine::RefCastObject when object has multiple opCast methods * Compiler no longer accepts primitives in the right hand expression for handle assignments * Fixed compiler warning with use of asOFFSET on 64bit platforms * Fixed crash caused by CreateScriptObjectCopy when script class' constructor takes argument by handle * Child funcdefs in templates will no longer convert parameter types to @const& * Fixed problem when compiling anonymous initialization list from default arg * Ownership of shared template instances wasn't correctly transferred when discarding modules * Fixed crash in compiler when matching anonymous list to function taking funcdef * Fixed assert failure in builder when compiling external shared interfaces with inheritance * Fixed crash in compiler when invalid script has inheritance from class with duplicate methods - Clean with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/677201 OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=11
2019-02-19 08:24:07 +01:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Accepting request 677201 from home:elimat:branches:games - Update to new upstream release 2.33.0 * Fixed crash when compiling is null comparison with ASHANDLE object without any opEquals operator * Fixed bug with anonymous initialization lists when used to initialize value type passed by value to function * Loading bytecode that included use of template value types with a template type as argument crashed * Compiler would crash on compiling ternary operator with anonymous list in one of the conditions * Fixed error when saving bytecode for scripts containing interfaces that derives from interfaces * Saving bytecode for a never returning function would cause assert failure * Fixed an error when compiling a class method call as post-op and the name matches a type name * Template types are now properly identified in separate namespaces * Fixed memory build-up due to delayed cleanup when discarding modules with shared entities * opImplCast with variable type won't be used for non-ref types * Fixed compiler error when both opConv and opImplConv are implemented * Fixed bug when loading bytecode containing shared interfaces with inheritance * auto declarations now works correctly with implicit handle types * Initializing an ASHANDLE type with overloaded opHndlAssign taking a var type as a handle wasn't done correctly * Fixed loading byte code that uses external shared classes in namespace * The bytecode for external shared entities is no longer saved in the module when inherited from * Bytecode with external shared classes with virtual methods failed to load from bytecode * Fixed assert failure on call to opCast(?&out) with a non-variable expression * Passing a string literal to function expecting &out will now give compiler error * Fixed problem in compiler that didn't release a temporary variable when passing anonymous object to function expecting ?&in * Fixed a bug when loading bytecode having identical shared functions in different namespaces * Compiler will now detect name conflict between property and function * asIScriptFunction::GetDeclaration(false, true) no longer includes the namespace before the function name for class methods * Fixed assert failure in asIScriptEngine::RefCastObject when object has multiple opCast methods * Compiler no longer accepts primitives in the right hand expression for handle assignments * Fixed compiler warning with use of asOFFSET on 64bit platforms * Fixed crash caused by CreateScriptObjectCopy when script class' constructor takes argument by handle * Child funcdefs in templates will no longer convert parameter types to @const& * Fixed problem when compiling anonymous initialization list from default arg * Ownership of shared template instances wasn't correctly transferred when discarding modules * Fixed crash in compiler when matching anonymous list to function taking funcdef * Fixed assert failure in builder when compiling external shared interfaces with inheritance * Fixed crash in compiler when invalid script has inheritance from class with duplicate methods - Clean with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/677201 OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=11
2019-02-19 08:24:07 +01:00
%define sover 2_33_0
Name: angelscript
Accepting request 677201 from home:elimat:branches:games - Update to new upstream release 2.33.0 * Fixed crash when compiling is null comparison with ASHANDLE object without any opEquals operator * Fixed bug with anonymous initialization lists when used to initialize value type passed by value to function * Loading bytecode that included use of template value types with a template type as argument crashed * Compiler would crash on compiling ternary operator with anonymous list in one of the conditions * Fixed error when saving bytecode for scripts containing interfaces that derives from interfaces * Saving bytecode for a never returning function would cause assert failure * Fixed an error when compiling a class method call as post-op and the name matches a type name * Template types are now properly identified in separate namespaces * Fixed memory build-up due to delayed cleanup when discarding modules with shared entities * opImplCast with variable type won't be used for non-ref types * Fixed compiler error when both opConv and opImplConv are implemented * Fixed bug when loading bytecode containing shared interfaces with inheritance * auto declarations now works correctly with implicit handle types * Initializing an ASHANDLE type with overloaded opHndlAssign taking a var type as a handle wasn't done correctly * Fixed loading byte code that uses external shared classes in namespace * The bytecode for external shared entities is no longer saved in the module when inherited from * Bytecode with external shared classes with virtual methods failed to load from bytecode * Fixed assert failure on call to opCast(?&out) with a non-variable expression * Passing a string literal to function expecting &out will now give compiler error * Fixed problem in compiler that didn't release a temporary variable when passing anonymous object to function expecting ?&in * Fixed a bug when loading bytecode having identical shared functions in different namespaces * Compiler will now detect name conflict between property and function * asIScriptFunction::GetDeclaration(false, true) no longer includes the namespace before the function name for class methods * Fixed assert failure in asIScriptEngine::RefCastObject when object has multiple opCast methods * Compiler no longer accepts primitives in the right hand expression for handle assignments * Fixed compiler warning with use of asOFFSET on 64bit platforms * Fixed crash caused by CreateScriptObjectCopy when script class' constructor takes argument by handle * Child funcdefs in templates will no longer convert parameter types to @const& * Fixed problem when compiling anonymous initialization list from default arg * Ownership of shared template instances wasn't correctly transferred when discarding modules * Fixed crash in compiler when matching anonymous list to function taking funcdef * Fixed assert failure in builder when compiling external shared interfaces with inheritance * Fixed crash in compiler when invalid script has inheritance from class with duplicate methods - Clean with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/677201 OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=11
2019-02-19 08:24:07 +01:00
Version: 2.33.0
Release: 0
Summary: Scripting library
License: Zlib
Group: Development/Libraries/C and C++
Accepting request 677201 from home:elimat:branches:games - Update to new upstream release 2.33.0 * Fixed crash when compiling is null comparison with ASHANDLE object without any opEquals operator * Fixed bug with anonymous initialization lists when used to initialize value type passed by value to function * Loading bytecode that included use of template value types with a template type as argument crashed * Compiler would crash on compiling ternary operator with anonymous list in one of the conditions * Fixed error when saving bytecode for scripts containing interfaces that derives from interfaces * Saving bytecode for a never returning function would cause assert failure * Fixed an error when compiling a class method call as post-op and the name matches a type name * Template types are now properly identified in separate namespaces * Fixed memory build-up due to delayed cleanup when discarding modules with shared entities * opImplCast with variable type won't be used for non-ref types * Fixed compiler error when both opConv and opImplConv are implemented * Fixed bug when loading bytecode containing shared interfaces with inheritance * auto declarations now works correctly with implicit handle types * Initializing an ASHANDLE type with overloaded opHndlAssign taking a var type as a handle wasn't done correctly * Fixed loading byte code that uses external shared classes in namespace * The bytecode for external shared entities is no longer saved in the module when inherited from * Bytecode with external shared classes with virtual methods failed to load from bytecode * Fixed assert failure on call to opCast(?&out) with a non-variable expression * Passing a string literal to function expecting &out will now give compiler error * Fixed problem in compiler that didn't release a temporary variable when passing anonymous object to function expecting ?&in * Fixed a bug when loading bytecode having identical shared functions in different namespaces * Compiler will now detect name conflict between property and function * asIScriptFunction::GetDeclaration(false, true) no longer includes the namespace before the function name for class methods * Fixed assert failure in asIScriptEngine::RefCastObject when object has multiple opCast methods * Compiler no longer accepts primitives in the right hand expression for handle assignments * Fixed compiler warning with use of asOFFSET on 64bit platforms * Fixed crash caused by CreateScriptObjectCopy when script class' constructor takes argument by handle * Child funcdefs in templates will no longer convert parameter types to @const& * Fixed problem when compiling anonymous initialization list from default arg * Ownership of shared template instances wasn't correctly transferred when discarding modules * Fixed crash in compiler when matching anonymous list to function taking funcdef * Fixed assert failure in builder when compiling external shared interfaces with inheritance * Fixed crash in compiler when invalid script has inheritance from class with duplicate methods - Clean with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/677201 OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=11
2019-02-19 08:24:07 +01:00
URL: http://www.angelcode.com/angelscript/
Source: http://www.angelcode.com/angelscript/sdk/files/%{name}_%{version}.zip
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: unzip
%description
The AngelCode Scripting Library, or AngelScript as it is also known,
is a scripting library designed to allow applications to extend their
functionality through external scripts.
It supports Unix sockets and TCP/IP sockets with optional
SSL/TLS support.
%package -n lib%{name}%{sover}
Summary: Scripting library
Group: System/Libraries
%description -n lib%{name}%{sover}
The AngelCode Scripting Library, or AngelScript as it is also known,
is a scripting library designed to allow applications to extend their
functionality through external scripts.
It supports Unix sockets and TCP/IP sockets with optional
SSL/TLS support.
%package devel
Summary: Development files for AngelScript
Group: Development/Libraries/C and C++
Requires: lib%{name}%{sover} = %{version}
%description devel
The AngelCode Scripting Library, or AngelScript as it is also known,
is a scripting library designed to allow applications to extend their
functionality through external scripts.
This subpackage contains libraries and header files for developing
applications that want to make use of the AngelScript library.
%prep
%setup -q -n sdk/%{name}/projects/gnuc
%build
export CXXFLAGS="%{optflags}"
make %{?_smp_mflags} shared
%install
make install_shared install_header install_docs PREFIX=%{_prefix} DESTDIR=%{buildroot} LIBDIR_DEST=%{_libdir} DOCDIR_BASEDIR=%{_defaultdocdir}/%{name}
%fdupes %{buildroot} %{_defaultdocdir}/%{name}
%post -n lib%{name}%{sover} -p /sbin/ldconfig
%postun -n lib%{name}%{sover} -p /sbin/ldconfig
%files
# manual also contains the license
%{_defaultdocdir}/%{name}
%files -n lib%{name}%{sover}
%{_libdir}/libangelscript.so.*
%files devel
%attr(0644,root,root) %{_includedir}/*.h
%{_libdir}/libangelscript.so
%changelog