Группа :: Разработка/Прочее
Пакет: lua5.3-module-luaexpat
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# Original package name LuaExpat
%define oname luaexpat
Name: lua5.3-module-%oname
Version: 1.3.0
Release: alt2
Epoch: 1
Summary: XML Expat parsing
License: MIT
Group: Development/Other
Url: https://matthewwild.co.uk/projects/luaexpat/
%if "5.3" == "5.3"
Obsoletes: lua-module-%oname < %EVR
Provides: lua-module-%oname = %version
%else
Obsoletes: lua5-%oname < %EVR
Provides: lua5-%oname = %version
Obsoletes: lua-expat < %EVR
Provides: lua-expat = %version
%endif
# repacked https://matthewwild.co.uk/projects/luaexpat/luaexpat-%version.tar.gz
Source: luaexpat-%version.tar
BuildRequires(pre): liblua5.3-devel rpm-build-lua
# Automatically added by buildreq on ...
BuildRequires: lua5.3 libexpat-devel
%description
LuaExpat is a SAX (Simple API for XML) XML parser based on the
Expat library.
%prep
%setup -n %oname-%version
%build
%make_build \
CFLAGS="%optflags -std=c99" \
LUA_V=5.3 \
LUA_CDIR=%lua_modulesdir \
#
%install
%makeinstall_std \
LUA_V=5.3 \
LUA_CDIR=%lua_modulesdir \
#
%files
%lua_modulesdir/lxp.so
%lua_modulesdir_noarch/lxp/lom.lua
%doc README
%changelog
…
Полный changelog можно просмотреть здесь
%define oname luaexpat
Name: lua5.3-module-%oname
Version: 1.3.0
Release: alt2
Epoch: 1
Summary: XML Expat parsing
License: MIT
Group: Development/Other
Url: https://matthewwild.co.uk/projects/luaexpat/
%if "5.3" == "5.3"
Obsoletes: lua-module-%oname < %EVR
Provides: lua-module-%oname = %version
%else
Obsoletes: lua5-%oname < %EVR
Provides: lua5-%oname = %version
Obsoletes: lua-expat < %EVR
Provides: lua-expat = %version
%endif
# repacked https://matthewwild.co.uk/projects/luaexpat/luaexpat-%version.tar.gz
Source: luaexpat-%version.tar
BuildRequires(pre): liblua5.3-devel rpm-build-lua
# Automatically added by buildreq on ...
BuildRequires: lua5.3 libexpat-devel
%description
LuaExpat is a SAX (Simple API for XML) XML parser based on the
Expat library.
%prep
%setup -n %oname-%version
%build
%make_build \
CFLAGS="%optflags -std=c99" \
LUA_V=5.3 \
LUA_CDIR=%lua_modulesdir \
#
%install
%makeinstall_std \
LUA_V=5.3 \
LUA_CDIR=%lua_modulesdir \
#
%files
%lua_modulesdir/lxp.so
%lua_modulesdir_noarch/lxp/lom.lua
%doc README
%changelog
…
Полный changelog можно просмотреть здесь