2012-02-01 14:14:34 +04:00
|
|
|
Summary: Generates a self-extractable archive from a directory
|
|
|
|
Name: makeself
|
2025-02-17 15:51:46 +00:00
|
|
|
Version: 2.5.0
|
2025-02-17 15:58:58 +00:00
|
|
|
Release: 1
|
2025-02-17 15:35:58 +00:00
|
|
|
URL: https://makeself.io
|
2025-02-17 15:51:46 +00:00
|
|
|
Source0: https://github.com/megastep/makeself/archive/release-%{version}.tar.gz?/%{name}-%{version}.tar.gz
|
|
|
|
#Source0: http://www.megastep.org/makeself/%{name}-%{version}.tar.bz2
|
2025-02-17 19:25:10 +00:00
|
|
|
Source1: http://angst.cynapses.org/stripmakeself
|
2012-02-01 14:14:34 +04:00
|
|
|
License: GPLv3
|
|
|
|
Group: Archiving/Compression
|
2025-02-17 15:35:58 +00:00
|
|
|
BuildRequires: bzip2
|
|
|
|
BuildRequires: coreutils
|
2012-02-01 14:14:34 +04:00
|
|
|
Requires: bzip2
|
|
|
|
Requires: coreutils
|
|
|
|
Requires: gnupg
|
2012-10-23 07:02:46 +00:00
|
|
|
BuildArch: noarch
|
2012-02-01 14:14:34 +04:00
|
|
|
|
|
|
|
%description
|
|
|
|
Makeself is a small shell script that generates a self-extractable
|
|
|
|
tar.gz archive from a directory. The resulting file appears as a shell
|
|
|
|
script (many of those have a .run suffix), and can be launched as
|
|
|
|
is. The archive will then uncompress itself to a temporary directory
|
|
|
|
and an optional arbitrary command will be executed (for example an
|
|
|
|
installation script). This is pretty similar to archives generated
|
|
|
|
with WinZip Self-Extractor in the Windows world. Makeself archives
|
|
|
|
also include checksums for integrity self-validation (CRC and/or MD5
|
|
|
|
checksums).
|
|
|
|
|
|
|
|
The makeself.sh script itself is used only to create the archives from
|
|
|
|
a directory of files. The resultant archive is actually a compressed
|
|
|
|
(using gzip, bzip2, or compress) TAR archive, with a small shell
|
|
|
|
script stub at the beginning. This small stub performs all the steps
|
|
|
|
of extracting the files, running the embedded command, and removing
|
|
|
|
the temporary files when it's all over. All what the user has to do to
|
|
|
|
install the software contained in such an archive is to "run" the
|
|
|
|
archive, i.e sh nice-software.run. I recommend using the "run" (which
|
|
|
|
was introduced by some Makeself archives released by Loki Software) or
|
|
|
|
"sh" suffix for such archives not to confuse the users, since they
|
|
|
|
know it's actually shell scripts (with quite a lot of binary data
|
|
|
|
attached to it though!).
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2025-02-17 19:11:31 +00:00
|
|
|
%setup -qn %{name}-release-%{version}
|
2025-02-17 19:25:10 +00:00
|
|
|
cp -p %{SOURCE1} .
|
2012-02-01 14:14:34 +04:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2012-10-23 07:02:46 +00:00
|
|
|
mkdir -p %{buildroot}%{_bindir} \
|
|
|
|
%{buildroot}%{_mandir}/man1 \
|
|
|
|
%{buildroot}%{_datadir}/makeself/
|
|
|
|
install -m 755 makeself.sh %{buildroot}%{_bindir}/makeself
|
|
|
|
install -m 755 makeself-header.sh %{buildroot}%{_datadir}/makeself/makeself-header
|
|
|
|
install -m 755 stripmakeself %{buildroot}%{_bindir}/
|
|
|
|
install -m 644 makeself.1 %{buildroot}%{_mandir}/man1/
|
2012-02-01 14:14:34 +04:00
|
|
|
|
|
|
|
%files
|
2025-02-17 19:33:39 +00:00
|
|
|
%doc COPYING README.md
|
2012-02-01 14:14:34 +04:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_datadir}/makeself/*
|
|
|
|
|
|
|
|
%changelog
|