diff options
author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2020-09-02 18:49:39 -0700 |
---|---|---|
committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2020-09-02 18:49:39 -0700 |
commit | 5811ab3a526658599971abdd1c6887105fa001a7 (patch) | |
tree | cdff09bb61cbf9e8566bba994e9214f70c418a89 /lua | |
parent | 80efbd28f6008a6c3d6c2765e344973c74f37607 (diff) | |
download | specs-5811ab3a526658599971abdd1c6887105fa001a7.tar.gz specs-5811ab3a526658599971abdd1c6887105fa001a7.tar.xz specs-5811ab3a526658599971abdd1c6887105fa001a7.zip |
- lua-bit32
Diffstat (limited to 'lua')
-rw-r--r-- | lua/lua-bit32.spec | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/lua/lua-bit32.spec b/lua/lua-bit32.spec deleted file mode 100644 index ccc4a36..0000000 --- a/lua/lua-bit32.spec +++ /dev/null @@ -1,45 +0,0 @@ -%global lua_minver 5.1 -%{!?lua_version: %global lua_version %([[ -x /usr/bin/lua ]] && lua -e "print(string.sub(_VERSION, 5))" || echo %{lua_minver})} -%global lua_libdir %{_libdir}/lua/%{lua_version} - -BuildRequires: libtool -BuildRequires: lua >= 5.1 -BuildRequires: lua-devel >= 5.1 - -Name: lua-bit32 -Version: 5.3.0 -Release: 2%{?dist} - -License: MIT -Summary: Backport of Lua bit manipulation library introduced in 5.2 -Url: https://luarocks.org/modules/siffiejoe/bit32 - -Requires: lua(abi) = %{lua_version} - -Source0: https://github.com/keplerproject/lua-compat-5.2/archive/bitlib-%{version}.tar.gz - -%description -bit32 is the native Lua 5.2 bit manipulation library, in the version -from Lua 5.3; it is compatible with Lua 5.1, 5.2 and 5.3. - -%prep -%autosetup -n lua-compat-5.2-bitlib-%{version} - -%build -gcc %{optflags} -I/usr/include -I./c-api $(pkg-config --libs lua) lbitlib.c -shared -fPIC -o bit32.so - -%install -install -d %{buildroot}%{lua_libdir} -install -p bit32.so %{buildroot}%{lua_libdir}/ - -%files -%license LICENSE -%doc README.md -%{lua_libdir}/bit32.so - -%changelog -* Wed May 10 2017 Michel Alexandre Salim <salimma@fedoraproject.org> - 5.3.0-2 -- Remove defattr - -* Mon May 08 2017 Michel Alexandre Salim <salimma@fedoraproject.org> - 5.3.0-1 -- Initial package |