diff options
| author | Michel Alexandre Salim <msalim@cs.indiana.edu> | 2009-10-10 18:10:32 -0400 |
|---|---|---|
| committer | Michel Alexandre Salim <msalim@cs.indiana.edu> | 2009-10-10 18:10:32 -0400 |
| commit | edcd338bb2984168ad7b9dcf57deb70fa00fc169 (patch) | |
| tree | 0db27459045fc2026e9e03df10a4350f9e0d2116 /funpl/lua-loop.spec | |
| parent | 8360699b49f1afeae34110694486600ba73226b4 (diff) | |
| parent | 3509c591c0e09d1526623d874d77b3ebf8ad884c (diff) | |
| download | specs-edcd338bb2984168ad7b9dcf57deb70fa00fc169.tar.gz specs-edcd338bb2984168ad7b9dcf57deb70fa00fc169.tar.xz specs-edcd338bb2984168ad7b9dcf57deb70fa00fc169.zip | |
Merge branch 'master' of ssh://fedorapeople.org/~/public_git/specs
Diffstat (limited to 'funpl/lua-loop.spec')
| -rw-r--r-- | funpl/lua-loop.spec | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/funpl/lua-loop.spec b/funpl/lua-loop.spec new file mode 100644 index 0000000..c8a843e --- /dev/null +++ b/funpl/lua-loop.spec @@ -0,0 +1,83 @@ +%define luaver 5.1 +%define luapkgdir %{_datadir}/lua/%{luaver} + +Name: lua-loop +Version: 2.3 +Release: 0.1.beta%{?dist} +Summary: Class models for Lua + +Group: Development/Libraries +License: MIT +URL: http://loop.luaforge.net/ +Source0: http://luaforge.net/frs/download.php/3525/loop-2.3-beta.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: lua >= %{luaver}, lua-lpeg >= 0.8.1 +# for checks +BuildRequires: lua-filesystem >= 1.4.1, lua-lunit >= 0.4 +Requires: lua >= %{luaver}, lua-lpeg >= 0.8.1 + +BuildArch: noarch + +%description +LOOP stands for Lua Object-Oriented Programming and is a set of +packages for supporting different models of object-oriented +programming in the Lua language. + +LOOP models are mainly concerned with dynamicity, although there is an +attempt to keep them as simple and efficient as +possible. Additionally, LOOP uses fundamental Lua concepts like tables +(objects) and meta-tables (classes), traditionally used to enable an +object-oriented programming style, to provide a common ground for the +interoperability of objects and classes of its different models. + + +%package doc +Summary: Documentation for %{name} +Group: Documentation +Requires: %{name} = %{version}-%{release} + +%description doc +LOOP stands for Lua Object-Oriented Programming and is a set of +packages for supporting different models of object-oriented +programming in the Lua language. + +This package contains documentation for %{name}. + + +%prep +%setup -q -n loop-%{version}-beta +chmod +x lua/*.lua +for f in doc/*.css; do + touch -r $f timestamp.txt + sed -i 's|\r||' $f + touch -r timestamp.txt $f +done + + +%build + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{luapkgdir} +cp -pr lua/* $RPM_BUILD_ROOT%{luapkgdir} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc LICENSE RELEASE +%{luapkgdir}/* + +%files doc +%defattr(-,root,root,-) +%doc doc/* + + +%changelog +* Thu Oct 1 2009 Michel Salim <salimma@fedoraproject.org> - 2.3-0.1.beta +- Initial package |
