]> git.pld-linux.org Git - packages/lua-doc.git/commitdiff
- initial
authorZsolt Udvari <uzsolt@pld-linux.org>
Tue, 16 Sep 2008 20:26:54 +0000 (20:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lua-doc.spec -> 1.1

lua-doc.spec [new file with mode: 0644]

diff --git a/lua-doc.spec b/lua-doc.spec
new file mode 100644 (file)
index 0000000..fda8251
--- /dev/null
@@ -0,0 +1,43 @@
+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
This page took 0.173945 seconds and 4 git commands to generate.