Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-lua-521
dba-lua-521.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-lua-521.spec of Package dba-lua-521
%define real_name lua %define version 5.2.1 %define vers 521 %define prefix /DBA/lua/%{version} Name: dba-%{real_name}-%{vers} Summary: Powerful light-weight programming language Version: %{version} Release: 1 Group: Development/Languages/C and C++ License: MIT URL: http://www.lua.org/ Source0: http://www.lua.org/ftp/lua-%{version}.tar.bz2 Source1: dba-%{real_name}-rpmlintrc Patch0: lua-shared.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif #!BuildIgnore: dba-openssl-098o dba-openssl-098r dba-openssl-098x dba-openssl-101c #!BuildIgnore: dba-libxml2-290 BuildRequires: readline-devel ncurses-devel %description Lua is a powerful light-weight programming language designed for extending applications. Lua is also frequently used as a general-purpose, stand-alone language. Lua is free software. Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, interpreted from bytecodes, and has automatic memory management with garbage collection, making it ideal for configuration, scripting, and rapid prototyping. %prep %setup -q -n %{real_name}-%{version} %patch0 -p1 %build sed -i -e "s@lib/lua/@%{_lib}/lua/@g" src/luaconf.h %if 0%{?suse_version} > 1000 || 0%{?fedora_version} > 4 || 0%{?mandriva_version} > 2006 CFLAGS="$CFLAGS -fstack-protector" %endif export CFLAGS %{__make} %{?_smp_mflags} -C src CC="gcc" MYCFLAGS="%{optflags} -fPIC -DLUA_USE_LINUX" MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=%{major_version} all %install rm -rf $RPM_BUILD_ROOT make install INSTALL_TOP="%{buildroot}%{prefix}" INSTALL_CMOD="%{buildroot}%{prefix}/lib" find %{buildroot}%{prefix}/lib/ -name "*.so" -exec chmod 755 {} \; %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %dir %{prefix} %{prefix}/bin %{prefix}/include %{prefix}/lib %{prefix}/man %changelog * Fri Dec 28 2012 Holger Manthey <holger.manthey@bertelsmann.de> - initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor