10
0

Accepting request 435772 from home:eeich:branches:devel:languages:lua

- Setting 'download_files' service to mode='localonly'
  and adding source tarball. (Required for Factory).

- Update to version 1.6.3:
  * Lua 5.3 support.
  * Assorted bugfixes.
- Use source services
- Make use of lua macros
- Add Requires for lua
- Add -fPIC compiler flag

OBS-URL: https://build.opensuse.org/request/show/435772
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luafilesystem?expand=0&rev=2
This commit is contained in:
Matthias Mailänder
2016-10-23 05:36:34 +00:00
committed by Git OBS Bridge
parent 71970854ff
commit 28846676e1
5 changed files with 40 additions and 15 deletions

5
_service Normal file
View File

@@ -0,0 +1,5 @@
<services>
<service name="download_files" mode="localonly">
<param name="enforceupstream">yes</param>
</service>
</services>

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Oct 17 13:30:22 UTC 2016 - eich@suse.com
- Setting 'download_files' service to mode='localonly'
and adding source tarball. (Required for Factory).
-------------------------------------------------------------------
Tue Oct 11 17:12:41 UTC 2016 - eich@suse.com
- Update to version 1.6.3:
* Lua 5.3 support.
* Assorted bugfixes.
- Use source services
- Make use of lua macros
- Add Requires for lua
- Add -fPIC compiler flag
-------------------------------------------------------------------
Wed Jan 29 14:14:50 UTC 2014 - kianseong@gmail.com

View File

@@ -14,18 +14,22 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define trans() ( echo %{1} | sed -e "s#_#\\.#g" )
%define vers_f() %(%trans)
%define mod_version 1_6_3
%define mod_name luafilesystem
Name: lua-luafilesystem
Version: 1.6.2
Version: %{vers_f %mod_version}
Release: 0
License: MIT
Summary: Filesystem support for Lua
Url: https://github.com/downloads/keplerproject/luafilesystem/
Url: http://keplerproject.github.com/luafilesystem
Group: Development/Libraries/Other
Source: luafilesystem-1.6.2.tar.gz
# PATCH-FIX-OPENSUSE lua-luafilesystem-fix-configuration.patch malcolmlewis@opensuse.org -- Clean up building and add rpm optflags.
BuildRequires: lua-devel
Source: https://github.com/keplerproject/luafilesystem/archive/v_%{mod_version}.tar.gz
BuildRequires: lua-devel >= %{lua_version}
Requires: lua >= %{lua_version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -36,20 +40,19 @@ LuaFileSystem offers a portable way to access the underlying directory
structure and file attributes.
%prep
%setup -q -n %{mod_name}-%{version}
%setup -q -n %{mod_name}-v_%{mod_version}
%build
export OPTFLAGS="%{optflags}"
make
export OPTFLAGS="%{optflags} -fPIC"
make %{_smp_mflags}
%install
%makeinstall LUA_LIBDIR='$(DESTDIR)%{_libdir}/lua/5.2/'
%makeinstall LUA_LIBDIR='$(DESTDIR)/%{lua_archdir}/'
%files
%defattr(-,root,root,-)
%doc doc/us/*
%dir %{_libdir}/lua
%dir %{_libdir}/lua/5.2
%{_libdir}/lua/5.2/lfs.so
%dir %{lua_archdir}
%{lua_archdir}/lfs.so
%changelog

BIN
luafilesystem-1.6.2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
v_1_6_3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.