]> git.pld-linux.org Git - SPECS.git/blob - lua-poslib.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / lua-poslib.spec
1 Summary:        POSIX functions for Lua
2 Summary(pl.UTF-8):      Funkcje POSIX dla Lua
3 Name:           lua-poslib
4 Version:        1.4
5 Release:        2
6 License:        BSD-like
7 Group:          Development/Languages
8 Source0:        ftp://ftp.lua.org/poslib.tar.gz
9 # Source0-md5:  645cef2a7714f89702dbd514eb3d36db
10 URL:            http://www.soho-one.com/software/poslib/
11 BuildRequires:  lua40-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 POSIX bindings for Lua language implemented as dynamic library in C.
16
17 %description -l pl.UTF-8
18 Funkcje ze standardu POSIX dla jÄ™zyka Lua zaimplementowane jako
19 dynamiczna biblioteka w C.
20
21 %prep
22 %setup -q -n poslib
23
24 %build
25 %{__cc} -o poslib.so %{rpmldflags} %{rpmcflags} -shared -fPIC -DPIC lposlib.c
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT%{_libdir}/lua
30
31 install poslib.so $RPM_BUILD_ROOT%{_libdir}/lua
32
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35
36 %files
37 %defattr(644,root,root,755)
38 %doc readme.txt *.lua
39 %attr(755,root,root) %{_libdir}/lua/*.so
This page took 0.047186 seconds and 3 git commands to generate.