]> git.pld-linux.org Git - packages/upx.git/blob - upx.spec
- description cosmetics
[packages/upx.git] / upx.spec
1 Summary:        The Ultimate Packer for eXecutables
2 Summary(pl):    Program pakuj±cy pliki wykonywalne
3 Name:           upx
4 Version:        1.25
5 Release:        1
6 License:        GPL
7 Group:          Applications
8 Source0:        http://upx.sourceforge.net/download/%{name}-%{version}-src.tar.gz
9 # Source0-md5:  6f20a62999a46a1864652454b3c8a5d8
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
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
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 $RPM_BUILD_ROOT%{_bindir}
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.050895 seconds and 3 git commands to generate.