makeself/makeself.spec

54 lines
1.8 KiB
RPMSpec

Name: makeself
Version: 2.4.3
Release: 1mamba
Summary: A small shell script that generates a self-extractable tar.gz archive from a directory
Group: Applications/Archiving
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://megastep.org/makeself/
Source: https://github.com/megastep/makeself.git/release-%{version}/makeself-%{version}.tar.bz2
License: GPL
BuildArch: noarch
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: bzip2
Requires: gzip
Requires: gnupg
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
makeself.sh 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).
%prep
%setup -q
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0755 makeself.sh %{buildroot}%{_bindir}/makeself
install -D -m0755 makeself.sh %{buildroot}%{_bindir}/makeself-header.sh
install -D -m0644 makeself.1 %{buildroot}%{_mandir}/man1/makeself.1
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/makeself
%{_bindir}/makeself-header.sh
%{_mandir}/man1/makeself.1*
%doc COPYING
%changelog
* Wed Feb 10 2021 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
- automatic version update by autodist
* Mon Oct 12 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-1mamba
- update to 2.2.0
* Sun Jan 23 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.5-1mamba
- package created by autospec