Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Nov 20, 2020. It is now read-only.
forked from efelix/lua-cjson
- Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlua-cjson.spec
More file actions
Latest commit
56 lines (37 loc) · 1.24 KB
/
Copy pathlua-cjson.spec
File metadata and controls
56 lines (37 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
%define luaver 5.1
%define lualibdir %{_libdir}/lua/%{luaver}
Name: lua-cjson
Version: 1.0.3
Release: 1%{?dist}
Summary:JSON support for the Lua language
Group: Development/Libraries
License:MIT
URL: http://www.kyne.com.au/~mark/software/lua-cjson/
Source0: http://www.kyne.com.au/~mark/software/lua-cjson/lua-cjson-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: lua >= %{luaver}, lua-devel >= %{luaver}
Requires: lua >= %{luaver}
%description
Lua CJSON provides fast, standards compliant JSON support for Lua.
%prep
%setup -q
%build
make %{?_smp_mflags} CFLAGS="%{optflags}" LUA_INCLUDE_DIR="%{_includedir}"
%install
rm -rf "$RPM_BUILD_ROOT"
make install DESTDIR="$RPM_BUILD_ROOT" LUA_LIB_DIR="%{lualibdir}"
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root,-)
%doc LICENSE NEWS performance.txt README rfc4627.txt tests THANKS TODO
%{lualibdir}/*
%changelog
* Wed Sep 15 2011Mark Pulford<mark@kyne.com.au> - 1.0.3-1
- Updated for 1.0.3
* Sun May 29 2011Mark Pulford<mark@kyne.com.au> - 1.0.2-1
- Updated for 1.0.2
* Sun May 10 2011Mark Pulford<mark@kyne.com.au> - 1.0.1-1
- Updated for 1.0.1
* Sun May 1 2011Mark Pulford<mark@kyne.com.au> - 1.0-1
- Initial package