source: projects/specs/branches/6/b/bzip2/bzip2-vl.spec @ 3513

Revision 3513, 8.7 KB checked in by iwaim, 13 years ago (diff)

bzip2 1.0.5-5vl6

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2%define buildpdf 0
3
4Summary:     A file compression utility.
5Summary(ja): ファイル圧縮ユーティリティ
6Name: bzip2
7Version: 1.0.5
8Release: 5%{?_dist_release}
9License: BSD
10Group: Applications/Archiving
11URL: http://www.bzip.org/
12Source: http://www.bzip.org/%{version}/bzip2-%{version}.tar.gz
13Patch: bzip2-1.0.5-autoconflibtoolize.patch
14Patch1: bzip2-1.0.5-saneso.patch
15
16# P2 implements a progress counter (in %). It also
17# display the percentage of the original file the new file is (size).
18# URL: http://www.vanheusden.com/Linux/bzip2-1.0.2.diff.gz
19Patch2: bzip2-1.0.2.diff.bz2
20
21# Security Patches
22# Patch3: bzip2-1.0.2-tempfile.patch
23# Patch4: bzip2-1.0.2-chmod.patch
24# Patch5: bzip2-1.0.2-NULL-ptr-check.patch
25# Patch6: bzip2-1.0.2-bzgrep.patch
26
27BuildRoot: %{_tmppath}/%{name}-%{version}-root
28
29%if %buildpdf
30BuildRequires: tetex-dvips tetex-latex
31%endif
32BuildRequires: texinfo
33
34Vendor: Project Vine
35Distribution: Vine Linux
36
37%description
38Bzip2 is a freely available, patent-free, high quality data compressor.
39Bzip2 compresses files to within 10 to 15 percent of the capabilities
40of the best techniques available.  However, bzip2 has the added benefit
41of being approximately two times faster at compression and six times
42faster at decompression than those techniques.  Bzip2 is not the
43fastest compression utility, but it does strike a balance between speed
44and compression capability.
45
46Install bzip2 if you need a compression utility.
47
48
49%package devel
50Summary: Header files and libraries for developing apps which will use bzip2.
51Summary(ja): bzip2 を使うプログラム開発に必要なヘッダファイルとライブラリ
52Group: Development/Libraries
53Requires: %{name} = %{version}-%{release}
54
55%description devel
56Header files and a static library of bzip2 functions, for developing apps
57which will use the library.
58
59## to build compat32 for x86_64 architecture support
60%package -n compat32-%{name}
61Summary: A file compression utility.
62Summary(ja): ファイル圧縮ユーティリティ
63Group: System Environment/Libraries
64Requires: %{name} = %{version}-%{release}
65
66%description -n compat32-%{name}
67Bzip2 is a freely available, patent-free, high quality data compressor.
68Bzip2 compresses files to within 10 to 15 percent of the capabilities
69of the best techniques available.  However, bzip2 has the added benefit
70of being approximately two times faster at compression and six times
71faster at decompression than those techniques.  Bzip2 is not the
72fastest compression utility, but it does strike a balance between speed
73and compression capability.
74
75Install bzip2 if you need a compression utility.
76
77%package -n compat32-%{name}-devel
78Summary: Header files and libraries for developing apps which will use bzip2.
79Summary(ja): bzip2 を使うプログラム開発に必要なヘッダファイルとライブラリ
80Group: Development/Libraries
81Requires: compat32-%{name} = %{version}-%{release}
82Requires: %{name}-devel = %{version}-%{release}
83
84%description -n compat32-%{name}-devel
85Header files and a static library of bzip2 functions, for developing apps
86which will use the library.
87
88%prep
89%setup -q
90
91%patch -p1 -b .autoconf
92%patch1 -p1
93%patch2 -p1
94
95cp CHANGES ChangeLog
96mv CHANGES NEWS
97mv LICENSE COPYING
98cp m4/largefile.m4 .
99chmod a+x configure
100libtoolize -f --automake
101aclocal
102autoconf
103automake -a --foreign
104autoheader
105
106%build
107%configure --libdir=%{_libdir} --enable-shared --disable-static
108make
109
110%if %buildpdf
111texi2dvi --pdf manual.texi
112%endif
113
114%install
115rm -rf %{buildroot}
116
117%makeinstall
118
119cp bzgrep %{buildroot}%{_bindir}
120chmod 0755 %{buildroot}%{_bindir}/bzgrep
121
122rm -f %{buildroot}%{_libdir}/*.{a,la}
123
124%post -p /sbin/ldconfig
125
126%postun -p /sbin/ldconfig
127
128%post -n compat32-%{name} -p /sbin/ldconfig
129
130%postun -n compat32-%{name} -p /sbin/ldconfig
131
132%clean
133rm -rf %{buildroot}
134
135%files
136%defattr(-,root,root)
137%doc AUTHORS COPYING README README.COMPILATION.PROBLEMS NEWS ChangeLog
138%{_bindir}/*
139%{_mandir}/*/*
140%{_libdir}/*so.*
141
142%files devel
143%defattr(-,root,root)
144%{_includedir}/*
145%{_libdir}/*so
146
147## to build compat32 for x86_64 architecture support
148%if %{build_compat32}
149%files -n compat32-%{name}
150%defattr(-,root,root)
151%{_libdir}/*so.*
152
153%files -n compat32-%{name}-devel
154%defattr(-,root,root)
155%{_libdir}/*so
156%endif
157
158%changelog
159* Sun Apr 17 2011 IWAI, Masaharu <iwai@alib.jp> 1.0.5-5vl6
160- build on current VineSeed
161- update URL and Source0 tags URL
162
163* Thu Feb 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-4
164- rebuild with new toolchain
165
166* Sun Jul 05 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.5-3
167- updated Patch0: bzip2-1.0.5-autoconflibtoolize.patch
168- removed unneccesary %if !%{build_compat32} case condition
169
170* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-2
171- spec in utf-8
172- remove static library
173
174* Thu Mar 20 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.5-1
175- new upstream release with security fix
176- drop old patches (patch3-6) which are included in new release
177- build under new versioning policy
178
179* Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.3-0vl2
180- changed Group to Applications/Archiving
181- changed compat32-bzip2 Group to System Environment/Libraries
182
183* Tue Feb 21 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.3-0vl1
184- new upstream release
185- add Patch3-6 from Fedora Core (includes CAN-2005-0758/0953)
186
187* Sun Feb 12 2006 Shu KONNO <owa@bg.wakwak.com> 1.0.2-0vl5
188- fixed %%postun (missing to build as scriptlet by invalid comment)
189
190* Mon Feb 06 2006 Shu KONNO <owa@bg.wakwak.com> 1.0.2-0vl4
191- moved macros (_lib, gcc -m32) to /usr/lib/rpm/rpmrc or macros files
192
193* Fri Feb 03 2006 Shu KONNO <owa@bg.wakwak.com> 1.0.2-0vl3
194- added compat32- packages for x86_64 architecture support
195- changed autoconf-2.13 to current autoconf
196
197* Mon May 05 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.0.2-0vl2
198- added patch 1 from Rawhide 1.0.2-8
199- added patch 2 from Mandrake 1.0.2-14mdk
200
201* Sun Sep 29 2002 NISHIMURA Daisuke <nishi@graco.c.u-tokyo.ac.jp> 1.0.2-0vl1
202- previous patch is so incomplete that "bzip2 -f" fails.
203  instead, update the source which fixes this and other bugs.
204
205* Fri May 24 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
206- fix race condition.
207
208* Mon Jan 08 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
209- 1.0.1-3vl2
210- added Japanese summary
211- rebuilt under new %%{_mandir} definition
212
213* Sun Nov 19 2000 Satoshi MACHINO <machino@vinelinux.org> 1.0.1-3vl1
214- build on Vine Linux with gcc-2.95.3
215- partially used rpmmacros
216 
217* Fri Jul 21 2000 Trond Eivind Glomsr <teg@redhat.com>
218- new URL and source location
219
220* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
221- automatic rebuild
222
223* Sat Jul 01 2000 Trond Eivind Glomsr <teg@redhat.com>
224- 1.0.1
225- ported my patch
226
227* Tue Jun 13 2000 Jeff Johnson <jbj@redhat.com>
228- FHS packaging to build on solaris2.5.1.
229- remove config.cache from autoconf patch.
230- sparc: use %%configure, but not the m4 macros.
231
232* Tue Jun 06 2000 Trond Eivind Glomsr <teg@redhat.com>
233- Use %%configure, %%makeinstall, %%{_manpath} and %%{_tmpdir}
234
235* Wed May 17 2000 Trond Eivind Glomsr <teg@redhat.com>
236- 1.0.0 - ported my 1.0pre8 libtoolizedautoconf patch
237
238* Tue May 16 2000 Trond Eivind Glomsr <teg@redhat.com>
239- use soft links, not hardlinks, for binaries
240- mv .so to devel
241
242* Mon May 15 2000 Trond Eivind Glomsr <teg@redhat.com>
243- autoconfed and libtoolized package
244- fixed Copyright (it's BSD, not GPL)
245- dumped bzless (less works fine with bz2-files)
246- rewrote build and install parts
247- separated main package and devel package
248
249* Mon May  8 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
250- 1.0pre8
251
252* Fri Apr 14 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
253- Add bzgrep (a version of zgrep hacked to do bzip2)
254
255* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
256- handle compressed manpages
257
258* Fri Dec 31 1999 Bernhard Rosenkr舅zer <bero@redhat.com>
259- 0.9.5d
260- Update download URL, add URL: tag in header
261
262* Tue Aug 10 1999 Jeff Johnson <jbj@redhat.com>
263- upgrade to 0.9.5c.
264
265* Mon Aug  9 1999 Bill Nottingham <notting@redhat.com>
266- install actual bzip2 binary, not libtool cruft.
267
268* Sun Aug  8 1999 Jeff Johnson <jbj@redhat.com>
269- run ldconfig to get shared library.
270
271* Mon Aug  2 1999 Jeff Johnson <jbj@redhat.com>
272- create shared libbz1.so.* library.
273
274* Sun Apr  4 1999 Jeff Johnson <jbj@redhat.com>
275- update to bzip2-0.9.0c.
276
277* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
278- auto rebuild in the new build environment (release 4)
279
280* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
281- build against glibc 2.1
282
283* Wed Sep 30 1998 Cristian Gafton <gafton@redhat.com>
284- force compilation with egcs to avoid gcc optimization bug (thank God
285  we haven't been beaten by it)
286
287* Wed Sep 09 1998 Cristian Gafton <gafton@redhat.com>
288- version 0.9.0b
289
290* Tue Sep 08 1998 Cristian Gafton <gafton@redhat.com>
291- updated to 0.9.0
292
293* Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com>
294- first build for Manhattan
Note: See TracBrowser for help on using the repository browser.