Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37791938
en ru br
ALT Linux repos
S:3.96-alt2
D:3.03-alt1
5.0: 2.02-alt1
4.1: 2.02-alt1
4.0: 2.02-alt1
3.0: 1.25-alt1.1

Group :: Archiving/Compression
RPM: upx

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define version 1.25
%define release 2mdk
%define name upx

Name: upx
Version: 1.25
Release: alt1.1

Summary: The Ultimate Packer for eXecutables
License: GPL
Group: Archiving/Compression
Url: http://upx.sourceforge.net

Source: %url/download/%name-%version-src.tar.bz2

BuildPreReq: gcc-c++, libucl-devel

%description
UPX is an advanced executable file compressor.  UPX will typically
reduce the file size of programs and DLLs by around 50%-70%, thus
reducing disk space, network load times, download times and other
distribution and storage costs.

Programs and libraries compressed by UPX are completely self-contained
and run exactly as before, with no runtime or memory penalty for most
of the supported formats.

UPX supports a number of different executable formats, including
Win95/98/ME/NT/2000 programs and DLLs, DOS programs, and Linux executables.

%prep
%setup -q

%build
%make_build -C doc upx.1
%make_build -C src target=linux CXX=g++ CCARCH="%optflags" UCLDIR=%prefix

%install
install -pD -m755 src/upx $RPM_BUILD_ROOT%_bindir/upx
install -pD -m644 doc/upx.1 $RPM_BUILD_ROOT%_man1dir/upx.1

%files
%doc BUGS LICENSE NEWS PROJECTS README* THANKS doc/*.txt
%_bindir/*
%_man1dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin