rpms/lua-json/EL-5 lua-json.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michel Alexandre Salim salimma at fedoraproject.org
Fri Sep 25 02:57:40 UTC 2009


Author: salimma

Update of /cvs/pkgs/rpms/lua-json/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16428/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	lua-json.spec 
Log Message:
lua-json: initial import



--- NEW FILE lua-json.spec ---
%define luaver 5.1
%define luapkgdir %{_datadir}/lua/%{luaver}

Name:           lua-json
Version:        1.0
Release:        1%{?dist}
Summary:        JSON Parser/Constructor for Lua

Group:          Development/Libraries
License:        MIT
URL:            http://luaforge.net/projects/luajson/
Source0:        http://luaforge.net/frs/download.php/4105/luajson-%{version}.tar.bz2
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires:  lua >= %{luaver}, lua-lpeg >= 0.8.1
# for checks
BuildRequires:  lua-filesystem >= 1.4.1, lua-lunit >= 0.4
Requires:       lua >= %{luaver}, lua-lpeg >= 0.8.1

BuildArch:      noarch

%description
LuaJSON is a customizable JSON decoder/encoder, using LPEG for parsing.


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


%build


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{luapkgdir}
cp -pr lua/* $RPM_BUILD_ROOT%{luapkgdir}


%check
make check-regression
make check-unit | tee testlog.txt
grep -q "0 failed, 0 errors" testlog.txt


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc LICENSE docs/LuaJSON.txt docs/ReleaseNotes-1.0.txt
%{luapkgdir}/*


%changelog
* Thu Sep 10 2009 Michel Salim <salimma at fedoraproject.org> - 1.0-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/lua-json/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	24 Sep 2009 04:37:35 -0000	1.1
+++ .cvsignore	25 Sep 2009 02:57:40 -0000	1.2
@@ -0,0 +1 @@
+luajson-1.0.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lua-json/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	24 Sep 2009 04:37:35 -0000	1.1
+++ sources	25 Sep 2009 02:57:40 -0000	1.2
@@ -0,0 +1 @@
+0e3ee192f93d40c4947e828668828e91  luajson-1.0.tar.bz2




More information about the fedora-extras-commits mailing list