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

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

diff --git a/lua-filesystem.spec b/lua-filesystem.spec
new file mode 100644 (file)
index 0000000..b3f0121
--- /dev/null
@@ -0,0 +1,43 @@
+Summary:       File System Library for Lua
+Summary(hu.UTF-8):     Fájlrendszer-könyvtár Lua-hoz.
+Name:          lua-filesystem
+Version:       1.4.1
+Release:       1
+License:       BSD-like
+Group:         Development/Languages
+Source0:       http://luaforge.net/frs/download.php/3345/luafilesystem-%{version}.tar.gz
+# Source0-md5: fe2fa6decc48f0267b4f09975750280e
+URL:           http://www.keplerproject.org/luafilesystem/
+BuildRequires: lua51-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LuaFileSystem is a Lua library developed to complement the set of
+functions related to file systems offered by the standard Lua
+distribution.
+
+
+%description -l hu.UTF-8
+LuaFileSystem egy Lua könyvtár, amely függvények halmazát nyújtja,
+hogy a fájlrendszeren műveleteket végezhess.
+
+%prep
+%setup -q -n luafilesystem-%{version}
+sed -i "s|PREFIX=.*|PREFIX=%{_prefix}|" config
+sed -i -r "s|(LUA_INC=.*)|\1/lua51|" config
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/lua/5.1
+cp src/lfs.so $RPM_BUILD_ROOT%{_libdir}/lua/5.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README doc/us/*
+%{_libdir}/lua/5.1/*.so
This page took 0.197454 seconds and 4 git commands to generate.