forked from pool/tolua
5.1.4
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/tolua?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
tolua-5.1.4.tar.gz
Normal file
3
tolua-5.1.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:edd77bd3cbb354dd3bc1e175ac67ffc5834d1b7fe288680e6f2079c291595bf9
|
||||
size 76449
|
32
tolua.changes
Normal file
32
tolua.changes
Normal file
@@ -0,0 +1,32 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 22:15:06 UTC 2011 - pascal.bleser@opensuse.org
|
||||
|
||||
- copy to devel:languages:lua
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 26 13:35:31 UTC 2011 - pascal.bleser@opensuse.org
|
||||
|
||||
- update to 5.1.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 4 00:00:00 UTC 2007 - toni@links2linux.de
|
||||
|
||||
- update to 5.1b
|
||||
- splitted of sub-package libtolua-devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 30 00:00:00 UTC 2006 - toni@links2linux.de
|
||||
|
||||
- build SuSE-10.2, corrected BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 17 00:00:00 UTC 2006 - toni@links2linux.de
|
||||
|
||||
- build for packman
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 28 00:00:00 UTC 2006 - oc2pus@arcor.de 5.0-0.oc2pus.1
|
||||
|
||||
- initial release tolua-5.0
|
||||
- repacked as tar.bz2
|
||||
|
73
tolua.spec
Normal file
73
tolua.spec
Normal file
@@ -0,0 +1,73 @@
|
||||
# vim: set sw=4 ts=4 et:
|
||||
|
||||
Name: tolua
|
||||
Summary: Greatly simplifies the integration of C/C++ code with Lua
|
||||
Version: 5.1.4
|
||||
Release: 0
|
||||
License: GNU General Public License version 2 or later (GPLv2+)
|
||||
Group: Development/Libraries/Other
|
||||
URL: http://www.tecgraf.puc-rio.br/~celes/tolua/
|
||||
Source0: http://www.tecgraf.puc-rio.br/~celes/tolua/tolua-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: lua-devel >= 5.1
|
||||
|
||||
%description
|
||||
tolua is a tool that greatly simplifies the integration of
|
||||
C/C++ code with Lua.
|
||||
|
||||
Based on a 'cleaned' header file, tolua automatically generates
|
||||
the binding code to access C/C++ features from Lua.
|
||||
|
||||
Using Lua-5.0 API and tag method facilities, the current version
|
||||
automatically maps C/C++ constants, external variables, functions,
|
||||
namespace, classes, and methods to Lua. It also provides
|
||||
facilities to create Lua modules.
|
||||
|
||||
%package -n libtolua-devel
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
Group: Development/Libraries/C and C++
|
||||
Provides: tolua-devel = 5.0
|
||||
Obsoletes: tolua-devel < 5.0
|
||||
|
||||
%description -n libtolua-devel
|
||||
This package contains all necessary include files and libraries
|
||||
needed to develop applications that require these.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%__sed -i -e 's|LUA=/usr/local|LUA=%{_prefix}|g' \
|
||||
config
|
||||
%__sed -i -e 's|LUALIB=$(LUA)/lib|LUALIB=$(LUA)/%{_lib}|g' \
|
||||
config
|
||||
|
||||
%build
|
||||
%__make %{?_smp_flags}
|
||||
|
||||
%install
|
||||
%__install -dm 755 %{buildroot}%{_bindir}
|
||||
%__install -m 755 bin/%{name} \
|
||||
%{buildroot}%{_bindir}
|
||||
|
||||
%__install -dm 755 %{buildroot}%{_includedir}
|
||||
%__install -m 644 include/%{name}.h \
|
||||
%{buildroot}%{_includedir}
|
||||
|
||||
%__install -dm 755 %{buildroot}%{_libdir}
|
||||
%__install -m 644 lib/lib%{name}.a \
|
||||
%{buildroot}%{_libdir}
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%files -n libtolua-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/%{name}.h
|
||||
%{_libdir}/lib%{name}.a
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user