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