automatic version update by autodist [release 3.91-1mamba;Sat Jan 04 2014]

This commit is contained in:
Automatic Build System 2024-01-05 18:50:35 +01:00
parent 857d7aeb17
commit 21b9025a29
2 changed files with 84 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# upx # upx
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.

82
upx.spec Normal file
View File

@ -0,0 +1,82 @@
%define lzma_api_version 912
%define lzma_version 9.12
Name: upx
Version: 3.91
Release: 1mamba
Summary: An executable packer for several different executable formats
Group: Applications/Archiving
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://upx.sourceforge.net
Source0: http://upx.sourceforge.net/download/upx-%{version}-src.tar.bz2
Source1: http://downloads.sourceforge.net/project/sevenzip/LZMA%20SDK/%{lzma_version}/lzma%{lzma_api_version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: libucl-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
%prep
%setup -q -n %{name}-%{version}-src
sed -i -e 's/ -O2/ /' -e 's/ -Werror//' src/Makefile
mkdir lzma%{lzma_api_version}
tar xfj %{SOURCE1} -C lzma%{lzma_api_version}
%build
export CXXFLAGS="$RPM_OPT_FLAGS"
export CXX=g++
UPX_LZMA_VERSION=0x%{lzma_api_version} UPX_LZMADIR=../lzma%{lzma_api_version} %make -C src
make -C doc
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -m0755 -D src/upx.out %{buildroot}%{_bindir}/upx
mkdir -p %{buildroot}%{_mandir}/man1
install -pm 644 doc/upx.1 %{buildroot}%{_mandir}/man1/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/upx
%{_mandir}/man1/upx.1*
%doc COPYING LICENSE
#%doc BUGS NEWS README README.1ST README.SRC THANKS TODO
%changelog
* Sat Jan 04 2014 Automatic Build System <autodist@mambasoft.it> 3.91-1mamba
- automatic version update by autodist
* Sat Mar 30 2013 Automatic Build System <autodist@mambasoft.it> 3.09-1mamba
- automatic version update by autodist
* Wed Nov 21 2012 Automatic Build System <autodist@mambasoft.it> 3.08-1mamba
- automatic version update by autodist
* Thu Sep 23 2010 gil <puntogil@libero.it> 3.07-2mamba
- add lzma support
* Tue Sep 14 2010 Automatic Build System <autodist@mambasoft.it> 3.07-1mamba
- automatic update by autodist
* Thu Apr 29 2010 Automatic Build System <autodist@mambasoft.it> 3.05-1mamba
- automatic update by autodist
* Mon Sep 28 2009 Automatic Build System <autodist@mambasoft.it> 3.04-1mamba
- automatic update by autodist
* Thu Jan 03 2008 Silvan Calarco <silvan.calarco@mambasoft.it> src-1mamba
- package created by autospec