SPECS: lua-doc.spec (NEW) - initial
uzsolt
uzsolt at pld-linux.org
Tue Sep 16 22:26:59 CEST 2008
Author: uzsolt Date: Tue Sep 16 20:26:59 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
lua-doc.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/lua-doc.spec
diff -u /dev/null SPECS/lua-doc.spec:1.1
--- /dev/null Tue Sep 16 22:26:59 2008
+++ SPECS/lua-doc.spec Tue Sep 16 22:26:54 2008
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+Summary: LuaDoc is a documentation tool for Lua source code
+Summary(hu.UTF-8): LuaDoc egy dokumentációs eszköz Lua forráskódokhoz.
+Name: lua-doc
+Version: 3.0.1
+Release: 1
+License: BSD-like
+Group: Development/Languages
+Source0: http://luaforge.net/frs/download.php/3185/luadoc-%{version}.tar.gz
+# Source0-md5: ec3a0c0b9413e401a2d466cc0930d505
+URL: http://luaforge.net/projects/luadoc/
+BuildRequires: sed >= 4.0
+Requires: lua-filesystem
+Requires: lua-logging
+Requires: lua51
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LuaDoc is a documentation tool for Lua source code.
+
+%description -l hu.UTF-8
+LuaDoc egy dokumentációs eszköz Lua forráskódokhoz.
+
+%prep
+%setup -q -n luadoc-%{version}
+sed -i -r "s|(LUA_INTERPRETER.*bin/lua)|\151|" config
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ PREFIX=$RPM_BUILD_ROOT%{_prefix}
+sed -i "1 s|lua|lua51|" $RPM_BUILD_ROOT%{_bindir}/luadoc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README doc/us/*
+%dir %{_datadir}/lua/5.1/luadoc
+%{_datadir}/lua/5.1/luadoc/*
+%attr(755,root,root) %{_bindir}/luadoc
+
+%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 2008/09/16 20:26:54 uzsolt
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list