rpms/lua-json/F-11 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:41 UTC 2009
- Previous message (by thread): rpms/lua-json/F-10 lua-json.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/lua-json/devel lua-json.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: salimma
Update of /cvs/pkgs/rpms/lua-json/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16428/F-11
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/F-11/.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/F-11/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
- Previous message (by thread): rpms/lua-json/F-10 lua-json.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/lua-json/devel lua-json.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list