[9809] | 1 | %global luaver 5.1 |
---|
| 2 | %global luapkgdir %{_datadir}/lua/%{luaver} |
---|
| 3 | |
---|
| 4 | Name: lua-alt-getopt |
---|
| 5 | Version: 0.7.0 |
---|
| 6 | Release: 1%{?_dist_release} |
---|
| 7 | Summary: Argument processing module for Lua |
---|
| 8 | Summary(ja): Lua 引数処理モジュール |
---|
| 9 | |
---|
| 10 | # license text requested from upstream: |
---|
| 11 | # http://luaforge.net/tracker/index.php?func=detail&aid=47674 |
---|
| 12 | License: MIT |
---|
| 13 | URL: http://sourceforge.net/projects/lua-alt-getopt/ |
---|
| 14 | Source0: http://luaforge.net/frs/download.php/4260/lua-alt-getopt-0.7.0.tar.gz |
---|
| 15 | |
---|
| 16 | BuildArch: noarch |
---|
| 17 | BuildRequires: lua >= %{luaver} |
---|
| 18 | Requires: lua |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | alt-getopt is a module for Lua programming language for processing |
---|
| 22 | application's arguments the same way BSD/GNU getopt_long(3) functions |
---|
| 23 | do. The main goal is compatibility with SUS "Utility Syntax |
---|
| 24 | Guidelines" guidelines 3-13. |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | %prep |
---|
| 28 | %setup -q |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | %build |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %install |
---|
| 35 | rm -rf $RPM_BUILD_ROOT |
---|
| 36 | mkdir -p $RPM_BUILD_ROOT%{luapkgdir} |
---|
| 37 | cp -p alt_getopt.lua $RPM_BUILD_ROOT%{luapkgdir} |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | %files |
---|
| 42 | %doc ChangeLog NEWS README |
---|
| 43 | %{luapkgdir}/alt_getopt.lua |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %changelog |
---|
| 47 | * Sun Nov 15 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 0.7.0-1 |
---|
| 48 | - initial build for Vine Linux |
---|
| 49 | |
---|
| 50 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-7 |
---|
| 51 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 52 | |
---|
| 53 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-6 |
---|
| 54 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
| 55 | |
---|
| 56 | * Fri May 10 2013 Tom Callaway <spot@fedoraproject.org> - 0.7.0-5 |
---|
| 57 | - lua 5.2 |
---|
| 58 | - disabled tests |
---|
| 59 | |
---|
| 60 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-4 |
---|
| 61 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
| 62 | |
---|
| 63 | * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-3 |
---|
| 64 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 65 | |
---|
| 66 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-2 |
---|
| 67 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 68 | |
---|
| 69 | * Tue Aug 16 2011 Michel Salim <salimma@fedoraproject.org> - 0.7.0-1 |
---|
| 70 | - Initial package |
---|