forked from pool/wxlua
Accepting request 1007113 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/1007113 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wxlua?expand=0&rev=8
This commit is contained in:
4
_service
4
_service
@@ -2,7 +2,7 @@
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/pkulchenko/wxlua.git</param>
|
||||
<param name="revision">a30b837fac5a812a51c57b6088551aea75482a67</param>
|
||||
<param name="revision">376d531a7f7b031222372b2cbe0c482d1c5ac4f9</param>
|
||||
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
@@ -13,4 +13,4 @@
|
||||
<param name="file">*.tar</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual"/>
|
||||
</services>
|
||||
</services>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/pkulchenko/wxlua.git</param>
|
||||
<param name="changesrevision">a30b837fac5a812a51c57b6088551aea75482a67</param></service></servicedata>
|
||||
<param name="changesrevision">376d531a7f7b031222372b2cbe0c482d1c5ac4f9</param></service></servicedata>
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d42d8fbccbc9b6d13d994025ab3deaaab87a072e2b84c8f88e117609dd47e302
|
||||
size 21545485
|
3
wxlua-3.1.0.0+42.obscpio
Normal file
3
wxlua-3.1.0.0+42.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:823f4056b3c744ca6d73dfd8eeda1a2feba5e96f4210d5076f7c292825d07402
|
||||
size 21639693
|
2
wxlua-rpmlintrc
Normal file
2
wxlua-rpmlintrc
Normal file
@@ -0,0 +1,2 @@
|
||||
# Leap 15.4 complains about the library name, not the so version
|
||||
addFilter("shlib-policy-name-error .*")
|
@@ -1,3 +1,33 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 08:12:01 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Add a rpmlintrc file to ignore false positive in 15.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 29 08:10:27 UTC 2022 - christophe@krop.fr
|
||||
|
||||
- Update to version 3.1.0.0+42:
|
||||
* Improve build against wxWidgets 3.2.0-rc1
|
||||
* Updated luaopen_wx to always initialize.
|
||||
* Fixed wxBitmap error.
|
||||
* Missing methods in wxGraphicsPenInfo are implemented
|
||||
* wxMouseEvent methods are updated for wxWidgets 3.1
|
||||
* cmake: add imm32 to MINGW_EXTRA_LIBS
|
||||
* wxLuaDataObjectSimple::GetDataHere allows wxMemoryBuffer as
|
||||
a return value
|
||||
* wxLuaDataObjectSimple::GetDataHere calls the derived method
|
||||
incorrectly
|
||||
* DataViewCtrl: ExpandChildren method added for 3.1.5 and above
|
||||
* wxPen::SetDashes(), GetDashes() are implemented
|
||||
* Updated cmake config to better recognize GTK3 libraries
|
||||
* Updated wx-config targets Makefile to fix reference to Lua
|
||||
folder
|
||||
* Updated Makefile to fix reference to Lua folder
|
||||
* wxYELLOW etc. and wxTheColourDatabase are implemented
|
||||
* wxEVT_SEARCH and wxEVT_SEARCH_CANCEL require >=3.1.1
|
||||
- set CMAKE_SKIP_RPATH. wxlua writes incorrect RUNPATH to
|
||||
libraries and executables.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 25 10:55:05 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@@ -1,5 +1,4 @@
|
||||
name: wxlua
|
||||
version: 3.1.0.0+27
|
||||
mtime: 1618795125
|
||||
commit: a30b837fac5a812a51c57b6088551aea75482a67
|
||||
|
||||
version: 3.1.0.0+42
|
||||
mtime: 1659203189
|
||||
commit: 376d531a7f7b031222372b2cbe0c482d1c5ac4f9
|
||||
|
63
wxlua.spec
63
wxlua.spec
@@ -16,16 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%global wx_version %(wx-config --release | sed 's/\\.//')
|
||||
%define binds webview;gl;xrc;xml;net;media;propgrid;richtext;aui;stc;html;adv;core;base
|
||||
%define sover 3_1_0_0
|
||||
Name: wxlua
|
||||
Version: 3.1.0.0+27
|
||||
Version: 3.1.0.0+42
|
||||
Release: 0
|
||||
Summary: Lua bindings for wxWidgets
|
||||
License: GPL-2.0-or-later WITH WxWindows-exception-3.1
|
||||
Group: Development/Languages/Other
|
||||
URL: https://github.com/pkulchenko/wxlua
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Source99: wxlua-rpmlintrc
|
||||
BuildRequires: ccache
|
||||
BuildRequires: cmake >= 2.8
|
||||
BuildRequires: desktop-file-utils
|
||||
@@ -46,10 +48,10 @@ supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and wxWidgets 3.x
|
||||
%package -n lib%{name}
|
||||
Summary: Set of Lua bindings to the C++ wxWidgets cross-platform GUI library
|
||||
Group: System/Libraries
|
||||
Requires: libwxlua-wx31-%{sover} = %{version}
|
||||
Requires: libwxlua_bind-wx31-%{sover} = %{version}
|
||||
Requires: libwxlua_debug-wx31-%{sover} = %{version}
|
||||
Requires: libwxlua_debugger-wx31-%{sover} = %{version}
|
||||
Requires: libwxlua-wx%{wx_version}-%{sover} = %{version}
|
||||
Requires: libwxlua_bind-wx%{wx_version}-%{sover} = %{version}
|
||||
Requires: libwxlua_debug-wx%{wx_version}-%{sover} = %{version}
|
||||
Requires: libwxlua_debugger-wx%{wx_version}-%{sover} = %{version}
|
||||
|
||||
%description -n lib%{name}
|
||||
wxLua is a set of bindings to the C++ wxWidgets cross-platform GUI library for
|
||||
@@ -58,44 +60,44 @@ exposed to Lua, meaning that your programs can have windows, dialogs, menus,
|
||||
toolbars, controls, image loading and saving, drawing, sockets, streams,
|
||||
printing, clipboard access... and much more.
|
||||
|
||||
%package -n libwxlua-wx31-%{sover}
|
||||
%package -n libwxlua-wx%{wx_version}-%{sover}
|
||||
Summary: Lua bindings to the C++ wxWidgets cross-platform GUI library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libwxlua-wx31-%{sover}
|
||||
%description -n libwxlua-wx%{wx_version}-%{sover}
|
||||
wxLua is a set of bindings to the C++ wxWidgets cross-platform GUI library for
|
||||
the Lua programming language. Nearly all of the functionality of wxWidgets is
|
||||
exposed to Lua, meaning that your programs can have windows, dialogs, menus,
|
||||
toolbars, controls, image loading and saving, drawing, sockets, streams,
|
||||
printing, clipboard access... and much more.
|
||||
|
||||
%package -n libwxlua_bind-wx31-%{sover}
|
||||
%package -n libwxlua_bind-wx%{wx_version}-%{sover}
|
||||
Summary: Lua bindings to the C++ wxWidgets cross-platform GUI library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libwxlua_bind-wx31-%{sover}
|
||||
%description -n libwxlua_bind-wx%{wx_version}-%{sover}
|
||||
wxLua is a set of bindings to the C++ wxWidgets cross-platform GUI library for
|
||||
the Lua programming language. Nearly all of the functionality of wxWidgets is
|
||||
exposed to Lua, meaning that your programs can have windows, dialogs, menus,
|
||||
toolbars, controls, image loading and saving, drawing, sockets, streams,
|
||||
printing, clipboard access... and much more.
|
||||
|
||||
%package -n libwxlua_debug-wx31-%{sover}
|
||||
%package -n libwxlua_debug-wx%{wx_version}-%{sover}
|
||||
Summary: Lua bindings to the C++ wxWidgets cross-platform GUI library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libwxlua_debug-wx31-%{sover}
|
||||
%description -n libwxlua_debug-wx%{wx_version}-%{sover}
|
||||
wxLua is a set of bindings to the C++ wxWidgets cross-platform GUI library for
|
||||
the Lua programming language. Nearly all of the functionality of wxWidgets is
|
||||
exposed to Lua, meaning that your programs can have windows, dialogs, menus,
|
||||
toolbars, controls, image loading and saving, drawing, sockets, streams,
|
||||
printing, clipboard access... and much more.
|
||||
|
||||
%package -n libwxlua_debugger-wx31-%{sover}
|
||||
%package -n libwxlua_debugger-wx%{wx_version}-%{sover}
|
||||
Summary: Lua bindings to the C++ wxWidgets cross-platform GUI library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libwxlua_debugger-wx31-%{sover}
|
||||
%description -n libwxlua_debugger-wx%{wx_version}-%{sover}
|
||||
wxLua is a set of bindings to the C++ wxWidgets cross-platform GUI library for
|
||||
the Lua programming language. Nearly all of the functionality of wxWidgets is
|
||||
exposed to Lua, meaning that your programs can have windows, dialogs, menus,
|
||||
@@ -131,7 +133,8 @@ cmake .. \
|
||||
-DwxWidgets_COMPONENTS="%{binds}" \
|
||||
-DwxLuaBind_COMPONENTS="%{binds}" \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=%{_prefix}
|
||||
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-DCMAKE_SKIP_RPATH=TRUE
|
||||
|
||||
pushd modules/luamodule
|
||||
make %{?_smp_mflags}
|
||||
@@ -162,14 +165,14 @@ mv %{buildroot}%{_libdir}/libwx.so %{buildroot}%{_libdir}/lua/%{lua_version}/wx.
|
||||
|
||||
sed 's-#!/usr/bin/env lua-#!/usr/bin/lua%{lua_version}-g' -i %{buildroot}%{_datadir}/wxlua/apps/wxluafreeze/*
|
||||
|
||||
%post -n libwxlua-wx31-%{sover} -p /sbin/ldconfig
|
||||
%postun -n libwxlua-wx31-%{sover} -p /sbin/ldconfig
|
||||
%post -n libwxlua_bind-wx31-%{sover} -p /sbin/ldconfig
|
||||
%postun -n libwxlua_bind-wx31-%{sover} -p /sbin/ldconfig
|
||||
%post -n libwxlua_debug-wx31-%{sover} -p /sbin/ldconfig
|
||||
%postun -n libwxlua_debug-wx31-%{sover} -p /sbin/ldconfig
|
||||
%post -n libwxlua_debugger-wx31-%{sover} -p /sbin/ldconfig
|
||||
%postun -n libwxlua_debugger-wx31-%{sover} -p /sbin/ldconfig
|
||||
%post -n libwxlua-wx%{wx_version}-%{sover} -p /sbin/ldconfig
|
||||
%postun -n libwxlua-wx%{wx_version}-%{sover} -p /sbin/ldconfig
|
||||
%post -n libwxlua_bind-wx%{wx_version}-%{sover} -p /sbin/ldconfig
|
||||
%postun -n libwxlua_bind-wx%{wx_version}-%{sover} -p /sbin/ldconfig
|
||||
%post -n libwxlua_debug-wx%{wx_version}-%{sover} -p /sbin/ldconfig
|
||||
%postun -n libwxlua_debug-wx%{wx_version}-%{sover} -p /sbin/ldconfig
|
||||
%post -n libwxlua_debugger-wx%{wx_version}-%{sover} -p /sbin/ldconfig
|
||||
%postun -n libwxlua_debugger-wx%{wx_version}-%{sover} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%{_bindir}/wxLua
|
||||
@@ -182,17 +185,17 @@ sed 's-#!/usr/bin/env lua-#!/usr/bin/lua%{lua_version}-g' -i %{buildroot}%{_data
|
||||
%files -n lib%{name}
|
||||
%{_libdir}/lua/%{lua_version}/wx.so
|
||||
|
||||
%files -n libwxlua-wx31-%{sover}
|
||||
%{_libdir}/libwxlua-wx31*.so
|
||||
%files -n libwxlua-wx%{wx_version}-%{sover}
|
||||
%{_libdir}/libwxlua-wx%{wx_version}*.so
|
||||
|
||||
%files -n libwxlua_bind-wx31-%{sover}
|
||||
%{_libdir}/libwxlua_bind-wx31*.so
|
||||
%files -n libwxlua_bind-wx%{wx_version}-%{sover}
|
||||
%{_libdir}/libwxlua_bind-wx%{wx_version}*.so
|
||||
|
||||
%files -n libwxlua_debug-wx31-%{sover}
|
||||
%{_libdir}/libwxlua_debug-wx31*.so
|
||||
%files -n libwxlua_debug-wx%{wx_version}-%{sover}
|
||||
%{_libdir}/libwxlua_debug-wx%{wx_version}*.so
|
||||
|
||||
%files -n libwxlua_debugger-wx31-%{sover}
|
||||
%{_libdir}/libwxlua_debugger-wx31*.so
|
||||
%files -n libwxlua_debugger-wx%{wx_version}-%{sover}
|
||||
%{_libdir}/libwxlua_debugger-wx%{wx_version}*.so
|
||||
|
||||
%files devel
|
||||
%{_includedir}/wxlua/
|
||||
|
Reference in New Issue
Block a user