]> git.pld-linux.org Git - packages/upx.git/commitdiff
- BR: zlib-devel
authorwitekfl <witekfl@pld-linux.org>
Thu, 11 Oct 2007 16:06:02 +0000 (16:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- glibc-static is not required
- enabled lzma
- added README.1ST to the docs
- rel 2

Changed files:
    upx.spec -> 1.31

upx.spec

index 129400942a020ea0cfb8913b926851cad5f3c375..884c27c3bbd527568f0563f2c400367029a5b8ef 100644 (file)
--- a/upx.spec
+++ b/upx.spec
@@ -2,15 +2,17 @@ Summary:      The Ultimate Packer for eXecutables
 Summary(pl.UTF-8):     Program pakujący pliki wykonywalne
 Name:          upx
 Version:       3.00
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications
 Source0:       http://upx.sourceforge.net/download/%{name}-%{version}-src.tar.bz2
 # Source0-md5: 9edb9e1b563a8ef306060028460a13b7
+Source1:        http://dl.sourceforge.net/sevenzip/lzma443.tar.bz2
+# Source1-md5:  c4e1b467184c7cffd4371c74df2baf0f
 URL:           http://upx.sourceforge.net/
-BuildRequires: glibc-static
 BuildRequires: libstdc++-devel
 BuildRequires: ucl-devel >= 1.01
+BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,7 +31,7 @@ nim kompresować programów mających suid, guid i innych ważnych dla
 bezpieczeństwa systemu. Do pracy wymaga dostępu do systemu /proc
 
 %prep
-%setup -q -n %{name}-%{version}-src
+%setup -q -n %{name}-%{version}-src -a1
 
 %build
 %{__make} -C doc
@@ -38,7 +40,8 @@ bezpieczeństwa systemu. Do pracy wymaga dostępu do systemu /proc
        CFLAGS_O="%{rpmcflags}" \
        CC="%{__cc}" \
        CXX="%{__cxx}" \
-       UCLDIR="%{_prefix}"
+       UCLDIR="%{_prefix}" \
+       UPX_LZMADIR="../"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -52,6 +55,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc BUGS LICENSE NEWS PROJECTS README README.SRC THANKS
+%doc BUGS LICENSE NEWS PROJECTS README README.1ST README.SRC THANKS
 %attr(755,root,root) %{_bindir}/upx
 %{_mandir}/man1/upx.1*
This page took 0.069314 seconds and 4 git commands to generate.