]> git.pld-linux.org Git - packages/upx.git/blame - upx.spec
- updated to 3.91
[packages/upx.git] / upx.spec
CommitLineData
832e19b4 1Summary: The Ultimate Packer for eXecutables
a7b72c2e 2Summary(pl.UTF-8): Program pakujący pliki wykonywalne
832e19b4 3Name: upx
2c59d358 4Version: 3.91
ed886ab2 5Release: 1
30a1124d
JB
6License: GPL v2+
7Group: Development/Tools
94eab29e 8Source0: http://upx.sourceforge.net/download/%{name}-%{version}-src.tar.bz2
2c59d358 9# Source0-md5: c6d0b3ea2ecb28cb8031d59a4b087a43
90c4f0f1 10Source1: http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2
ba743253 11# Source1-md5: 29d5ffd03a5a3e51aef6a74e9eafb759
fe80e83c 12URL: http://upx.sourceforge.net/
3d19f148 13BuildRequires: libstdc++-devel
90c4f0f1 14BuildRequires: perl-base
15BuildRequires: perl-tools-pod
30a1124d 16BuildRequires: rpmbuild(macros) >= 1.167
d7c486e5 17BuildRequires: ucl-devel >= 1.01
736d75e0 18BuildRequires: zlib-devel
832e19b4 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
ddf92ac4 22UPX is an advanced executable file compressor. UPX will typically
23reduce the file size of programs by around 50%-70%. Note that UPX
24needs to decompress the program file before run, what request some
25space in /tmp. You shouldn't compress suid guid and some others
26"strategic" for security programs. UPX needs access to the /proc
27filesystem.
832e19b4 28
8c355926
JR
29%description -l pl.UTF-8
30UPX jest zaawansowanym kompresorem plików wykonywalnych. Zazwyczaj
31zmniejsza wielkość programów o około 50%-70%. UPX dekompresuje program
ea6072b8
JB
32przed uruchomieniem, co wymaga trochę miejsca w /tmp. Nie należy nim
33kompresować programów mających suid, guid oraz innych ważnych dla
34bezpieczeństwa systemu. Do pracy wymaga dostępu do systemu plików
35/proc.
832e19b4 36
37%prep
736d75e0 38%setup -q -n %{name}-%{version}-src -a1
832e19b4 39
40%build
d7c486e5
JB
41%{__make} -C doc
42%{__make} -C src \
e07e5d6b 43 CCARCH="" \
e07e5d6b 44 CC="%{__cc}" \
45 CXX="%{__cxx}" \
30a1124d
JB
46 CFLAGS_O="%{rpmcflags}" \
47 CXXFLAGS="%{rpmcxxflags}" \
736d75e0 48 UCLDIR="%{_prefix}" \
49 UPX_LZMADIR="../"
832e19b4 50
51%install
52rm -rf $RPM_BUILD_ROOT
53install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
d2e320a7 54
832e19b4 55install doc/upx.1 $RPM_BUILD_ROOT%{_mandir}/man1
ef3163f7 56install src/upx.out $RPM_BUILD_ROOT%{_bindir}/upx
832e19b4 57
832e19b4 58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
736d75e0 63%doc BUGS LICENSE NEWS PROJECTS README README.1ST README.SRC THANKS
832e19b4 64%attr(755,root,root) %{_bindir}/upx
65%{_mandir}/man1/upx.1*
This page took 0.131327 seconds and 4 git commands to generate.