[521] | 1 | Summary: A file archiver with very high compression ratio |
---|
| 2 | Summary(ja): 非常に圧縮率の高いファイルアーカイバ |
---|
| 3 | Name: p7zip |
---|
[4007] | 4 | Version: 9.20.1 |
---|
[8474] | 5 | Release: 2%{?_dist_release} |
---|
[521] | 6 | License: LGPL |
---|
| 7 | Group: Applications/Archiving |
---|
| 8 | URL: http://p7zip.sourceforge.net/ |
---|
| 9 | Source0 http://prdownloads.sourceforge.net/p7zip/p7zip_%{version}_src_all.tar.bz2 |
---|
[4007] | 10 | |
---|
| 11 | Patch0: 01_makefile.patch |
---|
| 12 | Patch1: 02_man.patch |
---|
| 13 | Patch2: 04_no_strip_by_default.diff |
---|
| 14 | |
---|
[521] | 15 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 16 | BuildRequires: perl |
---|
| 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | p7zip is a port of 7-Zip for POSIX systems like Unix (Linux, Solaris, |
---|
| 22 | OpenBSD, FreeBSD, Cygwin, ...), MacOS X and BeOS. |
---|
| 23 | 7-Zip is a file archiver with high compression ratio. The program |
---|
| 24 | supports 7z, ZIP, CAB, RAR, ARJ, LZH, GZIP, BZIP2, Z, TAR, CPIO, RPM, |
---|
| 25 | and DEB formats. Compression ratio in the new 7z format is 30-50% better |
---|
| 26 | than ratio in ZIP format. |
---|
| 27 | |
---|
| 28 | %description -l ja |
---|
| 29 | p7zip は 7-Zip を UNIX (Linux, Solaris, OpenBSD, FreeBSD 等), MacOS X |
---|
| 30 | や BeOS のような POSIX システムに移植したものです。 |
---|
| 31 | 7-Zip は圧縮率の高いファイルアーカイバで、7z, ZIP, CAB, RAR, ARJ, LZH, |
---|
| 32 | GZIP, BZIP2, Z, TAR, CPIO, RPM, DEB フォーマットをサポートしています。 |
---|
| 33 | 新しい 7z フォーマットで圧縮すると、ZIP フォーマットで圧縮するよりも、 |
---|
| 34 | 圧縮率が 30〜50% 向上します。 |
---|
| 35 | |
---|
| 36 | %package plugins |
---|
| 37 | Summary: Additional plugins for p7zip |
---|
| 38 | Summary(ja): p7zip の追加プラグイン |
---|
| 39 | Group: Applications/Archiving |
---|
| 40 | Requires: %{name} = %{version} |
---|
| 41 | |
---|
| 42 | %description plugins |
---|
| 43 | Additional plugins that can be used with 7z to extend its abilities. |
---|
| 44 | This package contains also a virtual file system for Midnight Commander. |
---|
| 45 | |
---|
| 46 | %description -l ja plugins |
---|
| 47 | このパッケージには 7z の機能を拡張するための追加が含まれています。 |
---|
| 48 | また、Midnight Commander のための仮想ファイルシステムも含まれています。 |
---|
| 49 | |
---|
| 50 | %prep |
---|
| 51 | %setup -q -n %{name}_%{version} |
---|
[4007] | 52 | %patch0 -p1 |
---|
| 53 | %patch1 -p1 |
---|
| 54 | %patch2 -p1 |
---|
[521] | 55 | |
---|
[4007] | 56 | #%ifarch %{ix86} ppc alpha |
---|
| 57 | #%__cp -f makefile.linux_x86_ppc_alpha makefile.machine |
---|
| 58 | #%endif |
---|
[521] | 59 | %ifarch x86_64 |
---|
| 60 | %__cp -f makefile.linux_amd64 makefile.machine |
---|
| 61 | %endif |
---|
| 62 | |
---|
| 63 | #%__perl -p -i -e 's/ -O2.*/ %{optflags} \\/' \ |
---|
| 64 | %__perl -p -i -e 's/(OPTFLAGS=).*/\1%{optflags}/' \ |
---|
| 65 | makefile.machine |
---|
| 66 | |
---|
| 67 | %build |
---|
| 68 | %__make %{?_smp_mflags} all2 |
---|
| 69 | |
---|
| 70 | %check |
---|
| 71 | %__make test |
---|
| 72 | |
---|
| 73 | %install |
---|
| 74 | %__rm -rf %{buildroot} |
---|
| 75 | |
---|
| 76 | # create directories |
---|
| 77 | %__mkdir_p %{buildroot}%{_bindir} |
---|
| 78 | %__mkdir_p %{buildroot}%{_libdir}/%{name} |
---|
| 79 | %__mkdir_p %{buildroot}%{_mandir} |
---|
| 80 | |
---|
| 81 | # install libraries |
---|
| 82 | %__tar cfC - bin . | %__tar xfC - %{buildroot}%{_libdir}/%{name} |
---|
| 83 | |
---|
| 84 | # install man pages |
---|
| 85 | %__tar cf - man* | %__tar xfC - %{buildroot}%{_mandir} |
---|
| 86 | |
---|
| 87 | # install wrapper script for 7z |
---|
| 88 | %__cat << EOF > %{buildroot}%{_bindir}/7z |
---|
| 89 | #!/bin/sh |
---|
| 90 | exec %{_libdir}/%{name}/7z "\$@" |
---|
| 91 | EOF |
---|
| 92 | %__chmod 755 %{buildroot}%{_bindir}/7z |
---|
| 93 | |
---|
| 94 | # install wrapper script for 7za |
---|
| 95 | %__cat << EOF > %{buildroot}%{_bindir}/7za |
---|
| 96 | #!/bin/sh |
---|
| 97 | exec %{_libdir}/%{name}/7za "\$@" |
---|
| 98 | EOF |
---|
| 99 | %__chmod 755 %{buildroot}%{_bindir}/7za |
---|
| 100 | |
---|
| 101 | %clean |
---|
| 102 | %__rm -rf %{buildroot} |
---|
| 103 | |
---|
| 104 | %files |
---|
| 105 | %defattr(-,root,root) |
---|
| 106 | %doc ChangeLog README TODO DOCS |
---|
| 107 | %{_bindir}/7za |
---|
| 108 | %dir %{_libdir}/%{name} |
---|
| 109 | %{_libdir}/%{name}/7za |
---|
| 110 | %{_libdir}/%{name}/7zCon.sfx |
---|
| 111 | %{_mandir}/man*/7za.* |
---|
| 112 | |
---|
| 113 | %files plugins |
---|
| 114 | %defattr(-,root,root) |
---|
| 115 | %doc contrib |
---|
| 116 | %{_bindir}/7z |
---|
| 117 | %{_libdir}/%{name}/7z |
---|
| 118 | %{_libdir}/%{name}/7z.so |
---|
[4007] | 119 | #%{_libdir}/%{name}/Codecs |
---|
[521] | 120 | #{_libdir}/%{name}/Formats |
---|
| 121 | %{_mandir}/man*/* |
---|
| 122 | |
---|
| 123 | %changelog |
---|
[8474] | 124 | * Sat May 24 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 9.20.1-2 |
---|
| 125 | - rebuilt with new toolchain |
---|
| 126 | |
---|
[4007] | 127 | * Wed May 11 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 9.20.1-1 |
---|
| 128 | - new upstream release |
---|
| 129 | - added patch0,1,2 from Debian |
---|
| 130 | - deleted rar archive support in - plugins |
---|
| 131 | |
---|
[1176] | 132 | * Wed Jun 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 9.13-1 |
---|
[521] | 133 | - new upstream release |
---|
| 134 | |
---|
[1176] | 135 | * Sun Jun 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 9.04-1vl5 |
---|
[521] | 136 | - new upstream release |
---|
[1176] | 137 | |
---|
| 138 | * Sat Feb 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 4.65-1vl5 |
---|
| 139 | - new upstream release |
---|
[521] | 140 | - fixed %files plugins |
---|
| 141 | |
---|
| 142 | * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 4.58-1vl5 |
---|
| 143 | - new upstream release |
---|
| 144 | - applied new versioning policy, spec in utf-8 |
---|
| 145 | |
---|
| 146 | * Mon Jul 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.51-0vl1 |
---|
| 147 | - rebuilt with new toolchain |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
| 150 | * Wed Feb 07 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.44-0vl1 |
---|
| 151 | - upstream release |
---|
| 152 | |
---|
| 153 | * Sat Oct 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.43-0vl1 |
---|
| 154 | - upstream release |
---|
| 155 | |
---|
| 156 | * Fri Jul 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.42-0vl1 |
---|
| 157 | - upstream release |
---|
| 158 | |
---|
| 159 | * Sat Apr 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.39-0vl1 |
---|
| 160 | - upstream release |
---|
| 161 | |
---|
| 162 | * Thu Apr 06 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.37-0vl1 |
---|
| 163 | - upstream release |
---|
| 164 | |
---|
| 165 | * Mon Feb 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.33-0vl1 |
---|
| 166 | - upstream release |
---|
| 167 | |
---|
| 168 | * Tue Jan 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.30-0vl1 |
---|
| 169 | - upstream release |
---|
| 170 | |
---|
| 171 | * Mon Oct 24 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.29-0vl2 |
---|
| 172 | - separate plugins package like FC |
---|
| 173 | |
---|
| 174 | * Wed Oct 19 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.29-0vl1 |
---|
| 175 | - upstream release |
---|
| 176 | |
---|
| 177 | * Sat Sep 17 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.20-0vl1 |
---|
| 178 | - initial build |
---|