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