rpms/lua-lpeg/F-9 import.log, NONE, 1.1 lua-lpeg.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Tim Niemueller (timn)
fedora-extras-commits at redhat.com
Mon Jun 16 16:51:45 UTC 2008
- Previous message (by thread): rpms/pspp/F-9 pspp-psppire-desktop.txt, NONE, 1.1 pspp.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/bigboard/F-9 .cvsignore, 1.39, 1.40 bigboard.spec, 1.59, 1.60 sources, 1.41, 1.42
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: timn
Update of /cvs/pkgs/rpms/lua-lpeg/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7181/F-9
Modified Files:
.cvsignore sources
Added Files:
import.log lua-lpeg.spec
Log Message:
Initial import to F-9
--- NEW FILE import.log ---
lua-lpeg-0_8_1-2_fc9:F-9:lua-lpeg-0.8.1-2.fc9.src.rpm:1213634058
--- NEW FILE lua-lpeg.spec ---
%define luaver 5.1
%define lualibdir %{_libdir}/lua/%{luaver}
%define luapkgdir %{_datadir}/lua/%{luaver}
Name: lua-lpeg
Version: 0.8.1
Release: 2%{?dist}
Summary: Parsing Expression Grammars for Lua
Group: Development/Libraries
License: MIT
URL: http://www.inf.puc-rio.br/~roberto/lpeg.html
Source0: http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-0.8.1.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: lua >= %{luaver}, lua-devel >= %{luaver}
Requires: lua >= %{luaver}
%description
LPeg is a new pattern-matching library for Lua, based on Parsing Expression
Grammars (PEGs).
%prep
%setup -q -n lpeg-%{version}
%{__sed} -i -e "s|/usr/local/bin/lua5.1|%{_bindir}/lua|" test.lua
%{__chmod} -x test.lua
%build
%{__cc} %{optflags} -fPIC -c -o lpeg.o lpeg.c
%{__cc} %{optflags} -fPIC -shared -o lpeg.so.%{version} lpeg.o
%{__ln_s} lpeg.so.%{version} lpeg.so
%install
%{__rm} -rf %{buildroot}
%{__mkdir_p} %{buildroot}%{lualibdir}
%{__mkdir_p} %{buildroot}%{luapkgdir}
%{__install} -p lpeg.so.%{version} %{buildroot}%{lualibdir}
%{__ln_s} lpeg.so.%{version} %{buildroot}%{lualibdir}/lpeg.so
%{__install} -p -m 0644 re.lua %{buildroot}%{luapkgdir}
%check
lua test.lua
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc lpeg.html re.html lpeg-128.gif test.lua
%{lualibdir}/*
%{luapkgdir}/*
%changelog
* Fri Jun 13 2008 Tim Niemueller <tim at niemueller.de> - 0.8.1-2
- Consistent macro usage, moved sed/chmod to prep
* Thu Jun 12 2008 Tim Niemueller <tim at niemueller.de> - 0.8.1-1
- Initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/lua-lpeg/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 16 Jun 2008 16:12:15 -0000 1.1
+++ .cvsignore 16 Jun 2008 16:51:03 -0000 1.2
@@ -0,0 +1 @@
+lpeg-0.8.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lua-lpeg/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 16 Jun 2008 16:12:15 -0000 1.1
+++ sources 16 Jun 2008 16:51:03 -0000 1.2
@@ -0,0 +1 @@
+b6b172bbcdcba5c87b37eef9bb5ae199 lpeg-0.8.1.tar.gz
- Previous message (by thread): rpms/pspp/F-9 pspp-psppire-desktop.txt, NONE, 1.1 pspp.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/bigboard/F-9 .cvsignore, 1.39, 1.40 bigboard.spec, 1.59, 1.60 sources, 1.41, 1.42
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list