automatic version update by autodist [release 4.1.0-1mamba;Sun Sep 03 2023]

This commit is contained in:
Automatic Build System 2024-01-05 18:50:36 +01:00
parent 575988c8ca
commit 10807ae3cf

View File

@ -1,48 +1,37 @@
%define lzma_api_version 912
%define lzma_version 9.12
Name: upx Name: upx
Version: 3.96 Version: 4.1.0
Release: 1mamba Release: 1mamba
Summary: An executable packer for several different executable formats Summary: An executable packer for several different executable formats
Group: Applications/Archiving Group: Applications/Archiving
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://upx.sourceforge.net URL: https://github.com/upx/upx
Source0: http://upx.sourceforge.net/download/upx-%{version}-src.tar.xz Source0: https://github.com/upx/upx.git/v%{version}/upx-%{version}.tar.bz2
Source1: http://downloads.sourceforge.net/project/sevenzip/LZMA%20SDK/%{lzma_version}/lzma%{lzma_api_version}.tar.bz2
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: libucl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
UPX is a free, portable, extendable, high-performance executable packer for several different executable formats. It achieves an excellent compression ratio and offers very fast decompression. Your executables suffer no memory overhead or other drawbacks for most of the formats supported, because of in-place decompression. UPX is a free, portable, extendable, high-performance executable packer for several different executable formats. It achieves an excellent compression ratio and offers very fast decompression. Your executables suffer no memory overhead or other drawbacks for most of the formats supported, because of in-place decompression.
%prep %debug_package
%setup -q -n %{name}-%{version}-src
sed -i -e 's/ -O2/ /' -e 's/ -Werror//' src/Makefile %prep
mkdir lzma%{lzma_api_version} %setup -q
tar xfj %{SOURCE1} -C lzma%{lzma_api_version}
%build %build
export CXXFLAGS="$RPM_OPT_FLAGS" %cmake
export CXX=g++
UPX_LZMA_VERSION=0x%{lzma_api_version} UPX_LZMADIR=../lzma%{lzma_api_version} %make -C src CHECK_WHITESPACE= %cmake_build
make -C doc CHECK_WHITESPACE=
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -m0755 -D src/upx.out %{buildroot}%{_bindir}/upx %cmake_install
mkdir -p %{buildroot}%{_mandir}/man1
install -pm 644 doc/upx.1 %{buildroot}%{_mandir}/man1/
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -51,10 +40,18 @@ install -pm 644 doc/upx.1 %{buildroot}%{_mandir}/man1/
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/upx %{_bindir}/upx
%{_mandir}/man1/upx.1* %{_mandir}/man1/upx.1*
%dir %{_docdir}/upx
%{_docdir}/upx/*
%doc COPYING LICENSE %doc COPYING LICENSE
#%doc BUGS NEWS README README.1ST README.SRC THANKS TODO #%doc BUGS NEWS README README.1ST README.SRC THANKS TODO
%changelog %changelog
* Sun Sep 03 2023 Automatic Build System <autodist@mambasoft.it> 4.1.0-1mamba
- automatic version update by autodist
* Sat Nov 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.1-1mamba
- update to 4.0.1
* Fri Feb 07 2020 Automatic Build System <autodist@mambasoft.it> 3.96-1mamba * Fri Feb 07 2020 Automatic Build System <autodist@mambasoft.it> 3.96-1mamba
- automatic version update by autodist - automatic version update by autodist