Permalink
Browse files

0.6.2-alt1_lr1

- autogenerated by lrimport
  • Loading branch information...
Ildar Mulyukov
Ildar Mulyukov committed Jul 3, 2012
1 parent 6523aa5 commit 6eff1d4f85cb16349eb0c7f8da4db645f674d45d
Showing with 88 additions and 0 deletions.
  1. +2 −0 .gear/rules
  2. +1 −0 .gear/tags/list
  3. +34 −0 lgi.rockspec
  4. +51 −0 lua-module-lgi.spec
View
@@ -0,0 +1,2 @@
+tar: origin/master:. base=lgi-@version@ name=lgi
+copy: *.rockspec
View
@@ -0,0 +1 @@
+f99cae7117e7147b93d7736a210ed4dd243551b5 origin/master
View
@@ -0,0 +1,34 @@
+package = 'lgi'
+version = '0.6.2-1'
+
+description = {
+ summary = "Lua bindings to GObject libraries",
+ detailed = [[
+ Dynamic Lua binding to any library which is introspectable
+ using gobject-introspection. Allows using GObject-based libraries
+ directly from Lua.
+ ]],
+ license = 'MIT/X11',
+ homepage = 'http://github.com/pavouk/lgi'
+}
+
+supported_platforms = { 'unix' }
+
+source = {
+ url = 'git://github.com/pavouk/lgi.git',
+ tag = '0.6.2'
+}
+
+dependencies = { 'lua >= 5.1' }
+
+build = {
+ type = 'make',
+ variables = {
+ PREFIX = '$(PREFIX)',
+ LUA_LIBDIR = '$(LIBDIR)',
+ LUA_SHAREDIR = '$(LUADIR)',
+ LUA_CFLAGS = '$(CFLAGS) -I$(LUA_INCDIR)',
+ LIBFLAG = '$(LIBFLAG)',
+ },
+ copy_directories = { 'docs', 'samples' }
+}
View
@@ -0,0 +1,51 @@
+# Original package name lgi
+%define oname lgi
+%define oversion 0.6.2-1
+%define rockspec ../rocks/lgi.rockspec
+Name: lua-module-%oname
+Version: 0.6.2
+Release: alt1_lr1
+Summary: Lua bindings to GObject libraries
+License: MIT/X11
+Group: Development/Other
+Url: http://github.com/pavouk/lgi
+Provides: luarocks(%oname) = %version
+
+# git://github.com/pavouk/lgi.git
+Source: %oname.tar
+Source1: http://luarocks.org/repositories/rocks/lgi.rockspec
+#lgi-0.6.2-1.rockspec
+
+#TODO Requires
+BuildPreReq: rpm-macros-lua
+# Automatically added by buildreq on Tue Jul 03 2012 (-bi)
+# optimized out: elfutils glib2-devel gobject-introspection libffi-devel lua5 pkg-config python-base python-module-distribute
+BuildRequires: gobject-introspection-devel liblua5-devel luarocks
+
+%description
+Dynamic Lua binding to any library which is introspectable
+using gobject-introspection. Allows using GObject-based libraries
+directly from Lua.
+
+%prep
+%setup -n %oname-%version
+
+%install
+mkdir -p %buildroot%luarocks_dbdir
+cp -a %luarocks_dbdir/manifest %buildroot%luarocks_dbdir ||:
+cp -a %SOURCE1 %oname-%oversion.rockspec
+luarocks make --to=%buildroot%prefix %oname-%oversion.rockspec
+rm -rf docs
+mv %buildroot%luarocks_dbdir/%oname/%oversion/docs docs
+ln -s %_docdir/%name-%version %buildroot%luarocks_dbdir/%oname/%oversion/docs
+
+%files
+%lua_modulesdir/*
+%lua_modulesdir_noarch/*
+%luarocks_dbdir/%oname
+%doc README* docs/*
+%exclude %luarocks_dbdir/manifest
+
+%changelog
+* Tue Jul 03 2012 Ildar Mulyukov <ildar@altlinux.ru> 0.6.2-alt1_lr1
+- autogenerated by lrimport

0 comments on commit 6eff1d4

Please sign in to comment.