]> git.pld-linux.org Git - packages/lua-lxc.git/blob - lua-lxc.spec
- new
[packages/lua-lxc.git] / lua-lxc.spec
1 Summary:        Lua binding for LXC
2 Summary(pl.UTF-8):      Wiązanie Lua do LXC
3 Name:           lua-lxc
4 Version:        3.0.2
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        https://linuxcontainers.org/downloads/lxc/%{name}-%{version}.tar.gz
9 # Source0-md5:  6c7a25c78d7ffc1589c93e9fcba9a000
10 URL:            https://linuxcontainers.org/lxc/
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake
13 BuildRequires:  libtool >= 2:2
14 BuildRequires:  lua51-devel >= 5.1
15 BuildRequires:  lxc-devel >= 3.0.0
16 BuildRequires:  pkgconfig
17 Requires:       lua51-libs >= 5.1
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Lua binding for LXC.
22
23 %description -l pl.UTF-8
24 Wiązanie Lua do LXC.
25
26 %prep
27 %setup -q
28
29 %build
30 %{__libtoolize}
31 %{__aclocal} -I config
32 %{__autoconf}
33 %{__autoheader}
34 %{__automake}
35 %configure \
36         LUA_VERSION=5.1 \
37         --with-lua-pc=lua5.1
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %dir %{_libdir}/lua/*.*/lxc
52 %attr(755,root,root) %{_libdir}/lua/*.*/lxc/core.so
53 %{_datadir}/lua/*.*/lxc.lua
This page took 0.039444 seconds and 3 git commands to generate.