Accepting request 420065 from home:susnux:branches:games
Update OBS-URL: https://build.opensuse.org/request/show/420065 OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=6
This commit is contained in:
parent
a71ec9d14b
commit
57af752dd9
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 18 18:12:02 UTC 2016 - rpm@fthiessen.de
|
||||
|
||||
- Update to new upstream release 2.31.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 23 18:07:07 UTC 2014 - mailaender@opensuse.org
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package angelscript
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 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
|
||||
@ -16,8 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%define sover 2_31_1
|
||||
Name: angelscript
|
||||
Version: 2.29.2
|
||||
Version: 2.31.1
|
||||
Release: 0
|
||||
Summary: It is an extremely flexible cross-platform scripting library
|
||||
License: Zlib
|
||||
@ -31,48 +32,37 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%description
|
||||
The AngelCode Scripting Library, or AngelScript as it is also known, is an extremely flexible cross-platform scripting library designed to allow applications to extend their functionality through external scripts. It has been designed from the beginning to be an easy to use component, both for the application programmer and the script writer.
|
||||
|
||||
%package -n lib%{name}-%{version}
|
||||
%package -n lib%{name}%{sover}
|
||||
Summary: It is an extremely flexible cross-platform scripting library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n lib%{name}-%{version}
|
||||
%description -n lib%{name}%{sover}
|
||||
It supports Unix sockets and TCP/IP sockets with optional SSL/TLS (OpenSSL) support. It allows you to write portable and secure network applications quickly without needing to spend time learning low-level system functions or reading OpenSSL manuals.
|
||||
|
||||
%package devel
|
||||
Summary: It is an extremely flexible cross-platform scripting library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: lib%{name}-%{version} = %{version}
|
||||
Requires: lib%{name}%{sover} = %{version}
|
||||
|
||||
%description devel
|
||||
It supports Unix sockets and TCP/IP sockets with optional SSL/TLS (OpenSSL) support. It allows you to write portable and secure network applications quickly without needing to spend time learning low-level system functions or reading OpenSSL manuals.
|
||||
|
||||
%prep
|
||||
%setup -qn sdk/%{name}/projects/gnuc
|
||||
%setup -q -n sdk/%{name}/projects/gnuc
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} SHARED=1 VERSION=%{version}
|
||||
export CXXFLAGS="%{optflags}"
|
||||
make %{?_smp_mflags} shared
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_libdir}
|
||||
mkdir -p %{buildroot}%{_includedir}
|
||||
make install_shared install_header PREFIX=%{_prefix} DESTDIR=%{buildroot} LIBDIR_DEST=%{_libdir}
|
||||
|
||||
make install SHARED=1 VERSION=%{version} LOCAL=%{buildroot}%{_prefix} INSTALL_LIBDIR=%{_lib}
|
||||
%post -n lib%{name}%{sover} -p /sbin/ldconfig
|
||||
%postun -n lib%{name}%{sover} -p /sbin/ldconfig
|
||||
|
||||
# Fix Symlink points to BuildRoot
|
||||
rm %{buildroot}%{_libdir}/libangelscript.so
|
||||
ln -s %{_libdir}/libangelscript-%{version}.so %{buildroot}%{_libdir}/libangelscript.so
|
||||
|
||||
rm %{buildroot}%{_libdir}/libangelscript.so.%{version}
|
||||
ln -s %{_libdir}/libangelscript-%{version}.so %{buildroot}%{_libdir}/libangelscript.so.%{version}
|
||||
|
||||
%post -n lib%{name}-%{version} -p /sbin/ldconfig
|
||||
|
||||
%postun -n lib%{name}-%{version} -p /sbin/ldconfig
|
||||
|
||||
%files -n lib%{name}-%{version}
|
||||
%files -n lib%{name}%{sover}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libangelscript.so.*
|
||||
%{_libdir}/libangelscript-*.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c5d549bcd2d04e0dbdfdeea1e1446a34bc9dc449efe0d6fb7fabfb98ee269a8b
|
||||
size 1583192
|
3
angelscript_2.31.1.zip
Normal file
3
angelscript_2.31.1.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b04a9aed467e014130f8daf2fe52f41d3f6485c703d7dd1114cdd916b8e8e003
|
||||
size 1964292
|
Loading…
Reference in New Issue
Block a user