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