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

Revision 10120, 5.1 KB checked in by tomop, 8 years ago (diff)

p7zip-15.14.1-1

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