diff --git a/angelscript.changes b/angelscript.changes index 4c8e5eb..4e1bbb9 100644 --- a/angelscript.changes +++ b/angelscript.changes @@ -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 diff --git a/angelscript.spec b/angelscript.spec index 8a63374..54c198d 100644 --- a/angelscript.spec +++ b/angelscript.spec @@ -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) diff --git a/angelscript_2.29.2.zip b/angelscript_2.29.2.zip deleted file mode 100644 index 7199316..0000000 --- a/angelscript_2.29.2.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c5d549bcd2d04e0dbdfdeea1e1446a34bc9dc449efe0d6fb7fabfb98ee269a8b -size 1583192 diff --git a/angelscript_2.31.1.zip b/angelscript_2.31.1.zip new file mode 100644 index 0000000..71185f7 --- /dev/null +++ b/angelscript_2.31.1.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b04a9aed467e014130f8daf2fe52f41d3f6485c703d7dd1114cdd916b8e8e003 +size 1964292