123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- %define luaver 5.1
- %define lualibdir %{_libdir}/lua/%{luaver}
- %define luapkgdir %{_datadir}/lua/%{luaver}
- Name: lua-filesystem
- Version: 1.4.2
- Release: 1%{?_dist_release}
- Summary: File System Library for the Lua Programming Language
- Summary(ja): プログラミング言語 Lua 用のファイルシステムライブラリ
- Group: Development/Libraries
- License: MIT
- URL: http://www.keplerproject.org/luafilesystem/
- Source0: http://luaforge.net/frs/download.php/3931/luafilesystem-1.4.2.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- BuildRequires: lua >= %{luaver}, lua-devel >= %{luaver}
- Requires: lua
- %description
- LuaFileSystem is a Lua library developed to complement the set of functions
- related to file systems offered by the standard Lua distribution.
- LuaFileSystem offers a portable way to access the underlying directory
- structure and file attributes.
- %prep
- %setup -q -n luafilesystem-%{version}
- %build
- make %{?_smp_mflags} PREFIX=%{_prefix} LUA_LIBDIR=%{lualibdir} CFLAGS="%{optflags} -fPIC"
- %install
- rm -rf $RPM_BUILD_ROOT
- make install PREFIX=$RPM_BUILD_ROOT%{_prefix} LUA_LIBDIR=$RPM_BUILD_ROOT%{lualibdir}
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root,-)
- %doc doc/us/*
- %doc README
- %{lualibdir}/*
- %changelog
- * Thu May 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-1
- - initial build for Vine Linux
- * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
- * Tue Sep 29 2009 Tim Niemueller <tim@niemueller.de> - 1.4.2-1
- - Upgrade to latest stable release
- * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Thu May 08 2008 Tim Niemueller <tim@niemueller.de> - 1.4.1-1
- - Upgrade to latest stable release
- * Sat Apr 05 2008 Tim Niemueller <tim@niemueller.de> - 1.4.0-3
- - Add patch to add missing include of stdlib.h
- * Sat Apr 05 2008 Tim Niemueller <tim@niemueller.de> - 1.4.0-2
- - Pass correct CFLAGS to make to produce proper debuginfo
- * Fri Apr 04 2008 Tim Niemueller <tim@niemueller.de> - 1.4.0-1
- - Initial package
|