packages: lua-posix/lua-posix.spec (NEW) - initial release (fedora based)

evil evil at pld-linux.org
Mon Apr 25 19:39:19 CEST 2011


Author: evil                         Date: Mon Apr 25 17:39:19 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial release (fedora based)

---- Files affected:
packages/lua-posix:
   lua-posix.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/lua-posix/lua-posix.spec
diff -u /dev/null packages/lua-posix/lua-posix.spec:1.1
--- /dev/null	Mon Apr 25 19:39:19 2011
+++ packages/lua-posix/lua-posix.spec	Mon Apr 25 19:39:14 2011
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+%define luaver 5.1
+%define lualibdir %{_libdir}/lua/%{luaver}
+%define luapkgdir %{_datadir}/lua/%{luaver}
+
+Summary:	A POSIX library for Lua
+Name:		lua-posix
+Version:	5.1.9
+Release:	1
+
+License:	Public Domain
+Group:		Development/Libraries
+URL:		http://luaforge.net/projects/luaposix/
+Source0:	http://luaforge.net/frs/download.php/4808/luaposix-%{version}.tar.gz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+BuildRequires:	lua >= %{luaver}
+BuildRequires:	lua-devel >= %{luaver}
+Requires:	lua >= %{luaver}
+
+%description
+This is a POSIX library for Lua which provides access to many POSIX
+features to Lua programs.
+
+%prep
+%setup -q -n luaposix
+
+%build
+%{__make} %{?_smp_mflags} PREFIX=%{_prefix} LUALIB=%{lualibdir} LUABIN=%{_bindir} LUAINC=%{_includedir}/lua51
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} LUALIB=%{lualibdir}
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{lualibdir}/*
+
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/04/25 17:39:14  evil
+- initial release (fedora based)
+
================================================================


More information about the pld-cvs-commit mailing list