Project import/lua-lgi - Diff ec2ec704ca...07e2ac224f

... ... --- a/.abf.yml
... ... +++ b/.abf.yml
... ... @@ -1,2 +1,2 @@
1 1
sources:
2
  lgi-0.7.2.tar.gz: dfe2dd2d0422b8323e2158d9c2fcf61fb2d3135e
2
  lgi-0.9.2.tar.gz: 1fed9371a131e5598faa477d31fdf9cc0de520ed
... ... --- a/lua-lgi.spec
... ... +++ b/lua-lgi.spec
... ... @@ -1,13 +1,14 @@
1 1
%define lua_version 5.3
2
%define bname lgi
2 3
3 4
Summary:	Dynamic Lua binding to GObject libraries using GObject-Introspection
4 5
Name:		lua-lgi
5
Version:	0.7.2
6
Release:	5
6
Version:	0.9.2
7
Release:	1
7 8
License:	MIT
8 9
Group:		Development/Other
9
Url:		http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
10
Source0:	lgi-%{version}.tar.gz
10
Url:		https://github.com/pavouk/lgi
11
Source0:	https://github.com/pavouk/lgi/archive/%{version}.tar.gz?/%{bname}-%{version}.tar.gz
11 12
BuildRequires:	pkgconfig(gobject-introspection-1.0)
12 13
BuildRequires:	pkgconfig(lua) >= %{lua_version}
13 14
Requires:	gobject-introspection
... ... @@ -25,7 +26,7 @@ libraries. It allows using GObject-based libraries directly from Lua.
26 26
#----------------------------------------------------------------------------
27 27
28 28
%prep
29
%setup -q -n lgi-%{version}
29
%setup -qn %{bname}-%{version}
30 30
31 31
%build
32 32
export CFLAGS="%{optflags} -fPIC"
... ... @@ -33,4 +34,3 @@ export CFLAGS="%{optflags} -fPIC"
34 34
35 35
%install
36 36
%makeinstall_std LUA_SHAREDIR=%{_datadir}/lua/%{lua_version} LUA_LIBDIR=%{_libdir}/lua/%{lua_version}
37