diff --git a/util/archive/unrar/actions.py b/util/archive/unrar/actions.py new file mode 100644 index 0000000000..c7a00ffa49 --- /dev/null +++ b/util/archive/unrar/actions.py @@ -0,0 +1,25 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import pisitools +from pisi.actionsapi import autotools +from pisi.actionsapi import get + +WorkDir = "%s" % get.srcNAME() + +def build(): +#changed for version 4.2.4 + autotools.make() +#autotools.make for older version +# autotools.make('-f makefile.unix \ +# CXXFLAGS="%s" \ +# CXX="%s" \ +# STRIP="true"' % (get.CXXFLAGS(), get.CXX())) + +def install(): + pisitools.dobin("unrar") + + pisitools.dodoc("readme.txt","license.txt") diff --git a/util/archive/unrar/files/unrar-5.3.4-soname.patch b/util/archive/unrar/files/unrar-5.3.4-soname.patch new file mode 100644 index 0000000000..24d250a51d --- /dev/null +++ b/util/archive/unrar/files/unrar-5.3.4-soname.patch @@ -0,0 +1,11 @@ +--- a/makefile 2013-04-29 16:27:05.000000000 +0200 ++++ b/makefile 2013-10-01 22:07:29.611485989 +0200 +@@ -133,7 +133,7 @@ + lib: CXXFLAGS+=$(LIBFLAGS) + lib: clean $(OBJECTS) $(LIB_OBJ) + @rm -f libunrar.so +- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ) ++ $(LINK) -shared -Wl,-soname,libunrar.so.$(libversion) -o libunrar.so.$(libversion) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ) + + install-unrar: + install -D unrar $(DESTDIR)/bin/unrar diff --git a/util/archive/unrar/pspec.xml b/util/archive/unrar/pspec.xml new file mode 100644 index 0000000000..cc4f2f368c --- /dev/null +++ b/util/archive/unrar/pspec.xml @@ -0,0 +1,66 @@ + + + + + unrar + http://www.rarsoft.com/rar_add.htm + + PisiLinux Community + admins@pisilinux.org + + unRAR + app:console + RAR decompressor + unrar is a program to decompress RAR archives. + http://www.rarlab.com/rar/unrarsrc-5.3.4.tar.gz + + unrar-5.3.4-soname.patch + + + + + unrar + + /usr/bin + /usr/share/doc + + + + + + 2015-01-25 + 5.3.4 + Version bump. + yusuf Aydemir + yuısuf.aydemir@pisilinux.org + + + 2015-01-25 + 5.2.4 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2013-11-19 + 5.0.13 + Rebuild + Richard de Bruin + admins@pisilinux.org + + + 2013-11-18 + 5.0.13 + Version bump + Richard de Bruin + admins@pisilinux.org + + + 2012-10-31 + 4.2.4 + First release + Richard de Bruin + admins@pisilinux.org + + + \ No newline at end of file diff --git a/util/archive/unrar/translations.xml b/util/archive/unrar/translations.xml new file mode 100644 index 0000000000..2e0419f713 --- /dev/null +++ b/util/archive/unrar/translations.xml @@ -0,0 +1,8 @@ + + + + unrar + RAR açma uygulaması + Unrar, RAR biçimli sıkıştırılmış dosyaları açar. + +