ALT Linux repos
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
%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