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