makeself-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Name: makeself
  2. Version: 2.4.0
  3. Release: 1%{?dist}
  4. BuildArch: noarch
  5. Summary: Make self-extractable archives on Unix
  6. Group: Development/Tools
  7. License: GPLv2+
  8. URL: http://%{name}.io/
  9. Source: https://github.com/megastep/%{name}/archive/release-%{version}/%{name}-%{version}.tar.gz
  10. # This patch changes the path to the sourced header script
  11. Patch0: move_header.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. %description
  14. makeself.sh is a shell script that generates a self-extractable
  15. tar.gz archive from a directory. The resulting file appears as a shell
  16. script, and can be launched as is. The archive will then uncompress
  17. itself to a temporary directory and an arbitrary command will be
  18. executed (for example an installation script). This is pretty similar
  19. to archives generated with WinZip Self-Extractor in the Windows world.
  20. %prep
  21. %setup -q -n %{name}-release-%{version}
  22. %patch0
  23. %build
  24. iconv --from-code=ISO-8859-1 --to-code=UTF-8 %{name}.1 | gzip > %{name}.1.gz
  25. %install
  26. mkdir -p %{buildroot}%{_bindir}
  27. mkdir -p %{buildroot}%{_libexecdir}
  28. mkdir -p %{buildroot}%{_mandir}/man1
  29. install -p -m755 %{name}.sh %{buildroot}%{_bindir}
  30. install -p -m644 %{name}-header.sh %{buildroot}%{_libexecdir}
  31. install -p -m644 %{name}.1.gz %{buildroot}%{_mandir}/man1
  32. ln -s %{name}.sh %{buildroot}%{_bindir}/%{name}
  33. %files
  34. %doc README.md COPYING %{name}.lsm
  35. %{_mandir}/man1/*
  36. %{_libexecdir}/*
  37. %{_bindir}/*
  38. %changelog
  39. * Fri Nov 02 2018 Toshiaki Ara <ara_t@384.jp> 2.4.0-1
  40. - initial build for Vine Linux
  41. * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-2
  42. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  43. * Mon Apr 30 2018 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 2.4.0-1
  44. - Bump version to 2.4.0
  45. - Change the Source URL to get %%{name}-%%{version}.tar.gz
  46. - Ship the script as makeself.sh as per upstream documentation
  47. - Add a symbolic link to the previous script name (just makeself)
  48. * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-2
  49. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  50. * Mon Aug 21 2017 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 2.3.1-1
  51. - Bump version to 2.3.1
  52. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  54. * Wed Feb 08 2017 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 2.3.0-1
  55. - Bump version to 2.3.0
  56. - Update the URL
  57. - Rename the patch
  58. - Use more macros
  59. - Require iconv
  60. - Install the LSM file
  61. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-5
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  63. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-4
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  65. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-3
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  67. * Wed Jul 31 2013 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 2.2.0-2
  68. - Preserve timestamps during installation
  69. * Sun Jul 07 2013 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 2.2.0-1
  70. - GPLv2 license update
  71. * Mon Jun 24 2013 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 2.2.0-1
  72. - Initial spec