head 1.24; access; symbols; locks; strict; comment @-- @; 1.24 date 2009.08.30.08.04.58; author rse; state Exp; branches; next 1.23; commitid fxuuFzSrxFLc3H1u; 1.23 date 2009.08.17.19.46.39; author rse; state Exp; branches; next 1.22; commitid heXoyU05tF4Ql50u; 1.22 date 2009.07.27.17.02.25; author rse; state Exp; branches; next 1.21; commitid ZuglsRJ1y97m7nXt; 1.21 date 2009.06.30.20.20.57; author rse; state Exp; branches; next 1.20; commitid mW7f5wxeUG4f4VTt; 1.20 date 2009.04.18.13.12.30; author rse; state Exp; branches; next 1.19; commitid 4pHXU27WTIGCZuKt; 1.19 date 2009.02.10.07.52.24; author rse; state Exp; branches; next 1.18; commitid TG2o5C8XhtaurRBt; 1.18 date 2009.01.30.17.34.38; author rse; state Exp; branches; next 1.17; commitid 3OmFRbJFsAE91vAt; 1.17 date 2008.09.11.16.41.08; author rse; state Exp; branches; next 1.16; commitid lRrVlmEUSNfNfnit; 1.16 date 2008.08.19.16.19.46; author rse; state Exp; branches; next 1.15; commitid wIWLm92kd8EiSpft; 1.15 date 2008.08.13.17.09.51; author rse; state Exp; branches; next 1.14; commitid lipCjFuRS7crlEet; 1.14 date 2008.05.05.18.02.11; author rse; state Exp; branches; next 1.13; commitid 6GOY9LWyUcIFQN1t; 1.13 date 2008.04.26.15.51.35; author rse; state Exp; branches; next 1.12; commitid CxN7IfHMESxOpD0t; 1.12 date 2008.04.25.16.07.37; author cs; state Exp; branches; next 1.11; commitid BOnzz4XdG0Fjxv0t; 1.11 date 2008.01.01.14.57.45; author rse; state Exp; branches; next 1.10; commitid B8esaHJHoduuKILs; 1.10 date 2007.12.10.20.22.55; author rse; state Exp; branches; next 1.9; commitid cKIbLXIOOiDUlVIs; 1.9 date 2007.12.06.17.42.48; author cs; state Exp; branches; next 1.8; commitid NR4jHzQkgGLXAoIs; 1.8 date 2007.10.24.14.34.35; author cs; state Exp; branches; next 1.7; commitid oacAT4BRDMp5WQCs; 1.7 date 2007.10.14.10.49.32; author rse; state Exp; branches; next 1.6; commitid l2bdq2tI9rlN0yBs; 1.6 date 2007.08.03.14.37.21; author cs; state Exp; branches; next 1.5; commitid WREbIxnef92sAjss; 1.5 date 2007.07.25.14.45.55; author cs; state Exp; branches; next 1.4; commitid ZaL8h3WKjiTjV9rs; 1.4 date 2007.07.24.12.21.41; author rse; state Exp; branches; next 1.3; commitid MYnJDuv7M41Q91rs; 1.3 date 2007.07.11.15.59.46; author cs; state Exp; branches; next 1.2; commitid unKbh6802ZXyMmps; 1.2 date 2007.06.27.08.39.57; author rse; state Exp; branches; next 1.1; commitid kVp7IOXqbD9ANwns; 1.1 date 2007.06.27.08.38.59; author rse; state Exp; branches; next ; commitid FhthuO7BuQsfNwns; desc @@ 1.24 log @upgrading package: lzma 9.06 -> 9.07 @ text @## ## lzma.spec -- OpenPKG RPM Package Specification ## Copyright (c) 2000-2009 OpenPKG Foundation e.V. ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # package version %define V_opkg 9.07 %define V_sdk 907 # package information Name: lzma Summary: Lempel-Ziv-Markov Algorithm (LZMA) Compression URL: http://tukaani.org/lzma/ Vendor: Igor Pavlov, Lasse Collin Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: Compression License: LGPL Version: %{V_opkg} Release: 20090830 # list of sources Source0: http://switch.dl.sourceforge.net/sevenzip/7z%{V_sdk}.tar.bz2 # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20060823, make, gcc, gcc::with_cxx = yes PreReq: OpenPKG, openpkg >= 20060823 AutoReq: no AutoReqProv: no %description Simple command line implementation of LZMA compression algorithm. This tool uses raw LZMA format as opposed to 7z container format, which uses LZMA as the default compression algorithm, but has many additional features and a header incompatible to that of raw LZMA streams. If you need to create highly-compatible archives, you probably want to use p7zip(1). lzma(1) is taken from the LZMA SDK. Compression ratio is about 25-30% better than bzip2(1) and decompression speed is about two times faster. The downside is higher CPU and RAM requirements for compression. %track prog lzma = { version = %{V_sdk} url = http://sourceforge.net/projects/sevenzip/files/ regex = 7z(__VER__)\.tar\.bz2 } %prep %setup -q -c %build ( cd CPP/7zip/Compress/LZMA_Alone %{l_make} %{l_mflags} -f makefile.gcc \ CXX="%{l_cxx} %{l_cxxflags -O} -D_LZMA_SYSTEM_SIZE_T" \ CXX_C="%{l_cc} %{l_cflags -O} -D_LZMA_SYSTEM_SIZE_T" ) || exit $? %install rm -rf $RPM_BUILD_ROOT %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/bin %{l_shtool} install -c -s -m 755 \ CPP/7zip/Compress/LZMA_Alone/lzma \ $RPM_BUILD_ROOT%{l_prefix}/bin/lzma-7z %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.23 log @upgrading package: lzma 9.04 -> 9.06 @ text @d25 2 a26 2 %define V_opkg 9.06 %define V_sdk 906 d39 1 a39 1 Release: 20090817 @ 1.22 log @upgrading package: lzma 4.65 -> 9.04 @ text @d25 2 a26 2 %define V_opkg 9.04 %define V_sdk 904 d39 1 a39 1 Release: 20090727 a42 1 Patch0: lzma.patch a71 1 %patch -p0 @ 1.21 log @switch to the new SourceForge.net website functionality where we can find all files (again) @ text @d25 2 a26 2 %define V_opkg 4.65 %define V_sdk 465 d39 1 a39 1 Release: 20090210 d43 1 d73 1 @ 1.20 log @bump years in copyright messages @ text @d66 1 a66 1 url = http://prdownloads.sourceforge.net/sevenzip/ @ 1.19 log @factor out LZMAUtils (which now becomes XZ) @ text @d3 1 a3 1 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. @ 1.18 log @modifying package: lzma-4.x 20080911 -> 20090130 @ text @d25 2 a26 3 %define V_opkg 4.x %define V_lzmautils 4.999.5alpha %define V_sdk 464 d39 1 a39 1 Release: 20090130 d42 1 a42 2 Source0: http://tukaani.org/lzma/lzma-%{V_lzmautils}.tar.gz Source1: http://switch.dl.sourceforge.net/sevenzip/7z%{V_sdk}.tar.bz2 d64 1 a64 6 prog lzma:lzmautils = { version = %{V_lzmautils} url = http://tukaani.org/lzma/download regex = lzma-(__VER__)\.tar\.gz } prog lzma:sdk = { a71 1 %setup -q -c -T -D -a 1 a73 15 # build LZMA from LZMA Utils ( cd lzma-%{V_lzmautils} CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ ./configure \ --prefix=%{l_prefix} \ --mandir=%{l_prefix}/man \ --without-libiconv-prefix \ --without-libintl-prefix \ --disable-nls \ --disable-shared %{l_make} %{l_mflags} ) || exit $? # build LZMA from 7-Zip SDK a81 7 # install LZMA from LZMA Utils ( cd lzma-%{V_lzmautils} %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT ) || exit $? # install LZMA from 7-Zip SDK a86 2 # determine installation files @ 1.17 log @modifying package: lzma-4.x 20080819 -> 20080911 @ text @d27 1 a27 1 %define V_sdk 460 d40 1 a40 1 Release: 20080911 @ 1.16 log @modifying package: lzma-4.x 20080813 -> 20080819 @ text @d26 1 a26 1 %define V_lzmautils 4.999.3alpha d40 1 a40 1 Release: 20080819 a44 1 Patch0: lzma.patch a79 1 %patch -p0 -d lzma-%{V_lzmautils} @ 1.15 log @modifying package: lzma-4.x 20080505 -> 20080813 @ text @d27 1 a27 1 %define V_sdk 459 d40 1 a40 1 Release: 20080813 @ 1.14 log @modifying package: lzma-4.x 20080426 -> 20080505 @ text @d27 1 a27 1 %define V_sdk 458 d40 1 a40 1 Release: 20080505 @ 1.13 log @remove warning stuff @ text @d27 1 a27 1 %define V_sdk 457 d40 1 a40 1 Release: 20080426 @ 1.12 log @modifying package: lzma-4.x 20080101 -> 20080425 @ text @d40 1 a40 1 Release: 20080425 d45 1 d81 1 a86 1 CXX="%{l_cxx}" \ a87 1 CXXFLAGS="%{l_cxxflags -O}" \ @ 1.11 log @Update package specifications according to OpenPKG year 2008 world order: http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html @ text @d26 1 a26 1 %define V_lzmautils 4.42.2alpha d40 1 a40 1 Release: 20080101 @ 1.10 log @modifying package: lzma-4.x 20071206 -> 20071210 @ text @d3 1 a3 2 ## Copyright (c) 2000-2007 OpenPKG Foundation e.V. ## Copyright (c) 2000-2007 Ralf S. Engelschall d40 1 a40 1 Release: 20071210 @ 1.9 log @modifying package: lzma-4.x 20071024 -> 20071206 @ text @d27 1 a27 1 %define V_lzmautils 4.42.0alpha6 d41 1 a41 1 Release: 20071206 a111 4 %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/include %{l_shtool} install -c -m 644 \ src/common/lzma.h $RPM_BUILD_ROOT%{l_prefix}/include/ @ 1.8 log @modifying package: lzma-4.x 20071014 -> 20071024 @ text @d28 1 a28 1 %define V_sdk 456 d41 1 a41 1 Release: 20071024 @ 1.7 log @upgrading package: lzma 4.52 -> 4.x @ text @d28 1 a28 1 %define V_sdk 452 d41 1 a41 1 Release: 20071014 @ 1.6 log @upgrading package: lzma 4.51 -> 4.52 @ text @d26 3 a28 2 %define V_dist 452 %define V_opkg 4.52 d33 2 a34 2 URL: http://www.7-zip.org/ Vendor: Igor Pavlov d41 1 a41 1 Release: 20070803 d44 2 a45 1 Source0: http://switch.dl.sourceforge.net/sevenzip/7z%{V_dist}.tar.bz2 d67 7 a73 2 prog lzma = { version = %{V_dist} d80 1 d83 17 d108 11 d123 3 a125 1 $RPM_BUILD_ROOT%{l_prefix}/bin/ @ 1.5 log @upgrading package: lzma 4.50 -> 4.51 @ text @d26 2 a27 2 %define V_dist 451 %define V_opkg 4.51 d40 1 a40 1 Release: 20070725 d48 1 a48 1 BuildPreReq: OpenPKG, openpkg >= 20060823, make, gcc @ 1.4 log @upgrading package: lzma 4.49 -> 4.50 @ text @d26 2 a27 2 %define V_dist 450 %define V_opkg 4.50 d40 1 a40 1 Release: 20070724 @ 1.3 log @upgrading package: lzma 4.48 -> 4.49 @ text @d26 2 a27 2 %define V_dist 449 %define V_opkg 4.49 d40 1 a40 1 Release: 20070711 @ 1.2 log @fix tracking @ text @d26 2 a27 2 %define V_dist 448 %define V_opkg 4.48 d40 1 a40 1 Release: 20070627 @ 1.1 log @new package: lzma 4.48 (Lempel-Ziv-Markov Algorithm (LZMA) Compression) @ text @d66 1 a66 1 version = %{version} @