[luabind/f14/master] initial import
Tom Callaway
spot at fedoraproject.org
Mon Dec 6 16:35:09 UTC 2010
commit 0babd708c24d9a64c3a99776d72c293594519536
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date: Mon Dec 6 11:35:23 2010 -0500
initial import
luabind.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
2 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/luabind.spec b/luabind.spec
new file mode 100644
index 0000000..e66488a
--- /dev/null
+++ b/luabind.spec
@@ -0,0 +1,56 @@
+Name: luabind
+Version: 0.9.1
+Release: 1%{?dist}
+Summary: A library that helps create bindings between C++ and Lua
+Group: System Environment/Libraries
+License: MIT
+URL: http://www.rasterbar.com/products/luabind.html
+Source0: http://download.sourceforge.net/luabind/%{name}-%{version}.tar.gz
+BuildRequires: boost-devel, boost-build, lua-devel
+
+%description
+Luabind is a library that helps you create bindings between C++ and Lua. It
+has the ability to expose functions and classes, written in C++, to Lua. It
+will also supply the functionality to define classes in Lua and let them derive
+from other Lua classes or C++ classes. Lua classes can override virtual
+functions from their C++ base classes. It is written towards Lua 5.0, and does
+not work with Lua 4.
+
+%package devel
+Summary: Development libraries and headers for luabind
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains the development libraries and headers for luabind.
+
+%prep
+%setup -q
+sed -i 's|$(prefix)/lib|$(prefix)/%{_lib}|g' Jamroot
+
+# Perms cleanup
+chmod -x doc/*.rst doc/*.png src/*.cpp luabind/*.hpp luabind/detail/*.hpp
+
+%build
+bjam %{?jobs:-j%{jobs}} -d+2 "cxxflags=%{optflags}" release
+
+%install
+bjam -d2 --prefix=%{buildroot}%{_prefix} --libdir=%{buildroot}%{_libdir} release install
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%doc doc/*
+%{_includedir}/luabind/
+%{_libdir}/*.so
+
+%changelog
+* Tue Nov 30 2010 Tom "spot" Callaway <spot at fedoraproject.org> - 0.9.1-1
+- initial build for Fedora
diff --git a/sources b/sources
index e69de29..e72d05c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8a323fb51d07dad5cfdb12c432793d55 luabind-0.9.1.tar.gz
More information about the scm-commits
mailing list