lua-alt-getopt-vl.spec 2.1 KB

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