rpms/lua-expat/F-8 import.log, NONE, 1.1 lua-expat.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tim Niemueller (timn) fedora-extras-commits at redhat.com
Fri Jun 6 23:09:12 UTC 2008


Author: timn

Update of /cvs/pkgs/rpms/lua-expat/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18129/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	import.log lua-expat.spec 
Log Message:
Initial import into F-8 branch

Tim



--- NEW FILE import.log ---
lua-expat-1_1-2_fc9:F-8:lua-expat-1.1-2.fc9.src.rpm:1212793538


--- NEW FILE lua-expat.spec ---
%define luaver 5.1
%define lualibdir %{_libdir}/lua/%{luaver}
%define luapkgdir %{_datadir}/lua/%{luaver}

Name:           lua-expat
Version:        1.1
Release:        2%{?dist}
Summary:        SAX XML parser based on the Expat library

Group:          Development/Libraries
License:        MIT
URL:            http://www.keplerproject.org/luaexpat/
Source0:        http://luaforge.net/frs/download.php/2469/luaexpat-1.1.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  lua >= %{luaver}, lua-devel >= %{luaver}
BuildRequires:  expat-devel
Requires:       lua >= %{luaver}

%description
LuaExpat is a SAX XML parser based on the Expat library.

%prep
%setup -q -n luaexpat-%{version}


%build
make %{?_smp_mflags} PREFIX=%{_prefix} LUA_LIBDIR=%{lualibdir} LUA_DIR=%{luapkgdir} LUA_INC=%{_includedir} EXPAT_INC=%{_includedir} CFLAGS="%{optflags} -fPIC" LUA_VERSION_NUM=501
/usr/bin/iconv -f ISO8859-1 -t UTF8 README >README.UTF8
mv -f README.UTF8 README


%install
rm -rf %{buildroot}
make install PREFIX=%{_prefix} LUA_LIBDIR=%{buildroot}%{lualibdir} LUA_DIR=%{buildroot}%{luapkgdir} LUA_VERSION_NUM=501


%check
pushd src
ln -s lxp.so.* lxp.so
popd
lua -e 'package.cpath=package.cpath .. ";./src/?.so"; f = loadfile("tests/test.lua"); f()'
lua -e 'package.cpath=package.cpath .. ";./src/?.so"; package.path=package.path .. ";./src/?.lua"; f = loadfile("tests/test-lom.lua"); f()'

%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc README doc/us/*
%{lualibdir}/*
%{luapkgdir}/*


%changelog
* Thu Jun 05 2008 Tim Niemueller <tim at niemueller.de> - 1.1-2
- Minor spec fixes for guideline compliance
- Added %%check macro to execute tests

* Wed Jun 04 2008 Tim Niemueller <tim at niemueller.de> - 1.1-1
- Initial package



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/lua-expat/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	6 Jun 2008 15:46:12 -0000	1.1
+++ .cvsignore	6 Jun 2008 23:08:30 -0000	1.2
@@ -0,0 +1 @@
+luaexpat-1.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lua-expat/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 Jun 2008 15:46:12 -0000	1.1
+++ sources	6 Jun 2008 23:08:30 -0000	1.2
@@ -0,0 +1 @@
+6ecb895ccf5cff1e7f2facd438b1f8d0  luaexpat-1.1.tar.gz




More information about the fedora-extras-commits mailing list