ALT Linux repos
Group :: Archiving/Compression
RPM: upx
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: upx
Version: 2.02
Release: alt1
Packager: Fr. Br. George <george at altlinux.ru>
Summary: The Ultimate Packer for eXecutables
License: GPL
Group: Archiving/Compression
Url: http://upx.sourceforge.net
Source: %url/download/%name-%version-src.tar.gz
BuildRequires: gcc-c++, libucl-devel, zlib-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 -n %name-%version-src
# Got it from FC, they're thinking it's useful
subst 's/ -O2 / /' src/Makefile
subst 's/ -Werror//' src/Makefile
%build
%make_build -C doc upx.1
%make_build -C src target=linux CXX=g++ CCARCH="%optflags" UCLDIR=%prefix exeext=
%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
Version: 2.02
Release: alt1
Packager: Fr. Br. George <george at altlinux.ru>
Summary: The Ultimate Packer for eXecutables
License: GPL
Group: Archiving/Compression
Url: http://upx.sourceforge.net
Source: %url/download/%name-%version-src.tar.gz
BuildRequires: gcc-c++, libucl-devel, zlib-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 -n %name-%version-src
# Got it from FC, they're thinking it's useful
subst 's/ -O2 / /' src/Makefile
subst 's/ -Werror//' src/Makefile
%build
%make_build -C doc upx.1
%make_build -C src target=linux CXX=g++ CCARCH="%optflags" UCLDIR=%prefix exeext=
%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