source: projects/specs/trunk/p/p7zip/p7zip-vl.spec @ 12491

Revision 12491, 5.8 KB checked in by tomop, 4 years ago (diff)

updated 6 packages

appstream-data-7-4

libid3tag-0.15.1b-6

openldap-2.4.53-1

p7zip-16.02-1

shotwell-0.30.10-1

unzip-6.0-6

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