summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcvsextras <cvsextras@fedoraproject.org>2004-11-08 04:49:49 +0000
committercvsextras <cvsextras@fedoraproject.org>2004-11-08 04:49:49 +0000
commitd57d350401dca7d67de79c0b1b9dfb496c2a0daf (patch)
treee4bb6b2161d8832976dc447d65ded93bb5536792
parent9c94159d70e8dcab8f230062b0bdbdf7597b8de1 (diff)
downloadlua-d57d350401dca7d67de79c0b1b9dfb496c2a0daf.tar.gz
lua-d57d350401dca7d67de79c0b1b9dfb496c2a0daf.tar.xz
lua-d57d350401dca7d67de79c0b1b9dfb496c2a0daf.zip
auto-import changelog data from lua-5.0-0.fdr.1.rh90.src.rpmlua-5_0-0_fdr_1_rh90
* Sat Jun 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:5.0-0.fdr.1 - First build.
-rw-r--r--.cvsignore1
-rw-r--r--lua.spec73
-rw-r--r--sources1
3 files changed, 75 insertions, 0 deletions
diff --git a/.cvsignore b/.cvsignore
index e69de29..b1ac556 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+lua-5.0.tar.gz
diff --git a/lua.spec b/lua.spec
new file mode 100644
index 0000000..8d35bbf
--- /dev/null
+++ b/lua.spec
@@ -0,0 +1,73 @@
+Name: lua
+Version: 5.0
+Release: 0.fdr.1.rh90
+Epoch: 0
+Summary: A powerful light-weight programming language
+
+Group: Development/Languages
+License: MIT
+URL: http://www.lua.org/
+Source0: http://www.lua.org/ftp/lua-5.0.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Provides: %{name}-devel = %{epoch}:%{version}-%{release}
+
+%description
+Lua is a powerful light-weight programming language designed for
+extending applications. Lua is also frequently used as a
+general-purpose, stand-alone language. Lua is free software.
+Lua combines simple procedural syntax with powerful data description
+constructs based on associative arrays and extensible semantics. Lua
+is dynamically typed, interpreted from bytecodes, and has automatic
+memory management with garbage collection, making it ideal for
+configuration, scripting, and rapid prototyping.
+
+# -----------------------------------------------------------------------------
+
+%prep
+%setup -q
+
+# -----------------------------------------------------------------------------
+
+%build
+make %{?_smp_mflags} \
+ MYCFLAGS="$RPM_OPT_FLAGS -fPIC" \
+ MYLDFLAGS="-Wl,-E" \
+ LOADLIB=-DUSE_DLOPEN=1 \
+ DLLIB=-ldl \
+ NUMBER="-DLUA_USER_H='\"../etc/luser_number.h\"' -DUSE_FASTROUND"
+make test
+
+# -----------------------------------------------------------------------------
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%makeinstall \
+ INSTALL_ROOT=$RPM_BUILD_ROOT%{_prefix} \
+ INSTALL_BIN=$RPM_BUILD_ROOT%{_bindir} \
+ INSTALL_INC=$RPM_BUILD_ROOT%{_includedir} \
+ INSTALL_LIB=$RPM_BUILD_ROOT%{_libdir} \
+ INSTALL_MAN=$RPM_BUILD_ROOT%{_mandir}/man1 \
+ INSTALL_EXEC="install -p -m 0755" \
+ INSTALL_DATA="install -p -m 0644"
+
+# -----------------------------------------------------------------------------
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+# -----------------------------------------------------------------------------
+
+%files
+%defattr(-,root,root,-)
+%doc COPYRIGHT HISTORY README doc/*.html doc/*.gif
+%{_bindir}/*
+%{_includedir}/*
+%{_libdir}/*
+%{_mandir}/man1/*
+
+# -----------------------------------------------------------------------------
+
+%changelog
+* Sat Jun 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:5.0-0.fdr.1
+- First build.
diff --git a/sources b/sources
index e69de29..e36676a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6f14803fad389fb1cb15d17edfeddd91 lua-5.0.tar.gz