Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37522678
en ru br
ALT Linux repos
S:1.5.0-alt1

Group :: Development/Other
RPM: lua5.3-module-luaexpat

 Main   Changelog   Spec   Patches   Sources   Download   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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin