source: projects/specs/trunk/lib/libb/libboost/libboost-vl.spec @ 521

Revision 521, 17.0 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define major 1
2%define minor 42
3%define teeny 0
4%define tarname boost
5%define lnkver %{major}_%{minor}
6%define ver %{major}_%{minor}_%{teeny}
7
8Summary: Portable C++ source libraries
9Summary(ja): ポータブルな C++ ソースライブラリ
10Name: libboost
11Version: %{major}.%{minor}.%{teeny}
12Release: 2%{?_dist_release}
13Source0: http://downloads.sourceforge.net/%{tarname}/%{tarname}_%{ver}.tar.bz2
14Source1: user-config.jam
15License: distributable
16Group: System Environment/Libraries
17URL: http://www.boost.org/
18
19BuildRequires: python-devel apache2-devel bzip2-devel zlib-devel libicu-devel
20BuildRequires: libaio-devel lam
21BuildRoot: %{_tmppath}/%{name}-%{version}-root
22
23Vendor: Project Vine
24Distribution: Vine Linux
25
26Obsoletes: %{name}-date-time-devel %{name}-filesystem-devel %{name}-graph-devel
27Obsoletes: %{name}-iostreams-devel %{name}-program-options-devel
28Obsoletes: %{name}-python-devel %{name}-regex-devel
29Obsoletes: %{name}-serialization-devel %{name}-signals-devel %{name}-test-devel
30Obsoletes: %{name}-thread-devel %{name}-wave-devel
31
32%description
33Boost provides free peer-reviewed portable C++ source libraries.  The emphasis
34is on libraries which work well with the C++ Standard Library.  The libraries
35are intended to be widely useful, and are in regular use by thousands of
36programmers across a broad spectrum of applications.
37
38A further goal is to establish "existing practice" and provide reference
39implementations so that Boost libraries are suitable for eventual
40standardization. Ten Boost libraries will be included in the C++ Standards
41Committee's upcoming C++ Standard Library Technical Report as a step toward
42becoming part of a future C++ Standard.
43
44%description -l ja
45Boost は公開レビューされたフリーのC++ライブラリ群です。 C++ の標準ライブラリに
46準拠することに重点を置いて開発されています。使いやすく、広い分野のアプリ
47ケーションにおいて日常的に多くの開発者に用いられることを目指しています。
48
49さらなる目標は、最終的な標準化に適合した「存在する実例」としてリファレンス実装
50を提供することです。10 の Boost ライブラリが、将来の C++ 標準になるための一歩
51として、C++ 標準化委員会が策定中の C++ 標準ライブラリテクニカルレポートに
52含まれる予定です。
53
54%package devel
55Summary: Header files and libraries for developing apps which will use %{name}
56Summary(ja): %{name}の開発に必要なヘッダファイル及びライブラリ
57Group: Development/Libraries
58Requires: %{name} = %{version}-%{release}
59
60%description devel
61The %{name}-devel package contains the header files and libraries needed
62to develop programs that use the Boost library.
63
64%description devel -l ja
65%{name}-devel パッケージは Boost ライブラリを使うプログラムの開発に必要な
66ヘッダファイルやライブラリを含んでいます。
67
68%package doc
69Summary: Documents of %{name}
70Summary(ja): %{name}のドキュメント
71Group: Applications/Documentation
72Requires: %{name} = %{version}-%{release}
73
74%description doc
75The %{name}-doc package contains the documents about the boost library.
76
77%description doc -l ja
78%{name}-doc パッケージは Boost ライブラリについてのドキュメントを含んでいます。
79
80%package date-time
81Summary: Set of data-time libralies in %{name}
82Group: System Environment/Libraries
83Requires: %{name} = %{version}-%{release}
84
85%description date-time
86Set of data-time libralies in %{name}
87
88#%package date-time-devel
89#Summary: Static libraries for developing apps which will use %{name}-date-time
90#Group: Development/Libraries
91#Requires: %{name}-devel = %{version}-%{release}
92#Requires: %{name}-date-time = %{version}-%{release}
93#
94#%description date-time-devel
95#Static libraries for developing apps which will use %{name}-date-time
96
97%package filesystem
98Summary: Set of filesystem operation libralies in %{name}
99Group: System Environment/Libraries
100Requires: %{name} = %{version}-%{release}
101
102%description filesystem
103Set of filesystem operation libralies in %{name}
104
105#%package filesystem-devel
106#Summary: Static libraries for developing apps which will use %{name}-filesystem
107#Group: Development/Libraries
108#Requires: %{name}-devel = %{version}-%{release}
109#Requires: %{name}-filesystem = %{version}-%{release}
110#
111#%description filesystem-devel
112#Static libraries for developing apps which will use %{name}-filesystem
113
114%package graph
115Summary: Set of Graphviz libralies in %{name}
116Group: System Environment/Libraries
117Requires: %{name} = %{version}-%{release}
118
119%description graph
120Set of Graphviz libralies in %{name}
121
122#%package graph-devel
123#Summary: Static libraries for developing apps which will use %{name}-graph
124#Group: Development/Libraries
125#Requires: %{name}-devel = %{version}-%{release}
126#Requires: %{name}-graph = %{version}-%{release}
127#
128#%description graph-devel
129#Static libraries for developing apps which will use %{name}-graph
130
131%package iostreams
132Summary: Set of streams and i/o filters libralies in %{name}
133Group: System Environment/Libraries
134Requires: %{name} = %{version}-%{release}
135
136%description iostreams
137Set of streams and i/o filters libralies in %{name}
138
139#%package iostreams-devel
140#Summary: Static libraries for developing apps which will use %{name}-iostreams
141#Group: Development/Libraries
142#Requires: %{name}-devel = %{version}-%{release}
143#Requires: %{name}-iostreams = %{version}-%{release}
144#
145#%description iostreams-devel
146#Static libraries for developing apps which will use %{name}-iostreams
147
148%package math
149Summary: Set of math libralies in %{name}
150Group: System Environment/Libraries
151Requires: %{name} = %{version}-%{release}
152
153%description math
154Set of math libralies in %{name}
155
156%package program-options
157Summary: Set of program options libralies in %{name}
158Group: System Environment/Libraries
159Requires: %{name} = %{version}-%{release}
160
161%description program-options
162Set of program options libralies in %{name}
163
164#%package program-options-devel
165#Summary: Static libraries for developing apps which will use %{name}-program-options
166#Group: Development/Libraries
167#Requires: %{name}-devel = %{version}-%{release}
168#Requires: %{name}-program-options = %{version}-%{release}
169#
170#%description program-options-devel
171#Static libraries for developing apps which will use %{name}-program-options
172
173%package python
174Summary: Set of Python libralies in %{name}
175Group: System Environment/Libraries
176Requires: %{name} = %{version}-%{release}
177
178%description python
179Set of Python libralies in %{name}
180
181#%package python-devel
182#Summary: Static libraries for developing apps which will use %{name}-python
183#Group: Development/Libraries
184#Requires: %{name}-devel = %{version}-%{release}
185#Requires: %{name}-python = %{version}-%{release}
186#
187#%description python-devel
188#Static libraries for developing apps which will use %{name}-python
189
190%package regex
191Summary: Set of regular expression libralies in %{name}
192Group: System Environment/Libraries
193Requires: %{name} = %{version}-%{release}
194
195%description regex
196Set of regular expression libralies in %{name}
197
198#%package regex-devel
199#Summary: Static libraries for developing apps which will use %{name}-regex
200#Group: Development/Libraries
201#Requires: %{name}-devel = %{version}-%{release}
202#Requires: %{name}-regex = %{version}-%{release}
203#
204#%description regex-devel
205#Summary: Static libraries for developing apps which will use %{name}-regex
206
207%package serialization
208Summary: Set of serialization libralies in %{name}
209Group: System Environment/Libraries
210Requires: %{name} = %{version}-%{release}
211
212%description serialization
213Set of serialization libralies in %{name}
214
215#%package serialization-devel
216#Summary: Static libraries for developing apps which will use %{name}-serialization
217#Group: Development/Libraries
218#Requires: %{name}-devel = %{version}-%{release}
219#Requires: %{name}-serialization = %{version}-%{release}
220#
221#%description serialization-devel
222#Static libraries for developing apps which will use %{name}-serialization
223
224%package signals
225Summary: Set of signals and slots libralies in %{name}
226Group: System Environment/Libraries
227Requires: %{name} = %{version}-%{release}
228
229%description signals
230Set of signals and slots libralies in %{name}
231
232#%package signals-devel
233#Summary: Static libraries for developing apps which will use %{name}-signals
234#Group: Development/Libraries
235#Requires: %{name}-devel = %{version}-%{release}
236#Requires: %{name}-signals = %{version}-%{release}
237#
238#%description signals-devel
239#Static libraries for developing apps which will use %{name}-signals
240
241%package test
242Summary: Set of libraries for writing and executing tests in %{name}
243Group: System Environment/Libraries
244Requires: %{name} = %{version}-%{release}
245
246%description test
247Set of libraries for writing and executing tests in %{name}
248
249#%package test-devel
250#Summary: Static libraries for developing apps which will use %{name}-test
251#Group: Development/Libraries
252#Requires: %{name}-devel = %{version}-%{release}
253#Requires: %{name}-test = %{version}-%{release}
254#
255#%description test-devel
256#Static libraries for developing apps which will use %{name}-test
257
258%package thread
259Summary: Set of multi-thread libraries in %{name}
260Group: System Environment/Libraries
261Requires: %{name} = %{version}-%{release}
262
263%description thread
264Set of multi-thread libraries in %{name}
265
266#%package thread-devel
267#Summary: Static libraries for developing apps which will use %{name}-thread
268#Group: Development/Libraries
269#Requires: %{name}-devel = %{version}-%{release}
270#Requires: %{name}-thread = %{version}-%{release}
271#
272#%description thread-devel
273#Static libraries for developing apps which will use %{name}-thread
274
275%package wave
276Summary: Set of wave libraries in %{name}
277Group: System Environment/Libraries
278Requires: %{name} = %{version}-%{release}
279
280%description wave
281Set of wave libraries in %{name}
282
283#%package wave-devel
284#Summary: Static libraries for developing apps using %{name} wave libraries
285#Group: Development/Libraries
286#Requires: %{name}-devel = %{version}-%{release}
287#
288#%description wave-devel
289#Static libraries for developing apps using %{name} wave libraries
290
291%package system
292Summary: Operating system support
293Group: System Environment/Libraries
294Requires: %{name} = %{version}-%{release}
295
296%description system
297Operating system support, including the diagnostics support
298that will be part of the C++0x standard library
299
300%prep
301%setup -q -n %{tarname}_%{ver}
302cp %SOURCE1 user-config.jam
303
304%build
305## ./configure --prefix=/usr --libdir=%{_libdir} --with-icu
306## make EXPAT_INCLUDE=/usr/include EXPAT_LIBPATH=/usr/lib
307./bootstrap.sh \
308        --prefix=%{_prefix} \
309        --libdir=%{_libdir} \
310        --includedir=%{_includedir} \
311        --with-icu=%{_prefix} \
312        --with-python-version=%{pyver}
313
314./bjam -sICU_LINK="-L%{_libdir} -licui18n" --user-config=./user-config.jam link=shared
315
316%install
317rm -rf $RPM_BUILD_ROOT
318## ./tools/jam/src/bin.linux*/bjam -sICU_PATH=/usr -sEXPAT_INCLUDE=/usr/include -sEXPAT_LIBPATH=/usr/lib --user-config=user-config.jam --prefix=${RPM_BUILD_ROOT}/usr --libdir=${RPM_BUILD_ROOT}%{_libdir} install
319
320./bjam \
321        --prefix=${RPM_BUILD_ROOT}%{_prefix} \
322        --libdir=${RPM_BUILD_ROOT}%{_libdir} \
323        --user-config=./user-config.jam \
324        link=shared \
325        install
326
327ln -s ./%{tarname} ${RPM_BUILD_ROOT}/%{_includedir}/%{tarname}-%{lnkver}
328
329# remove unuse files
330rm -f ${RPM_BUILD_ROOT}/%{_libdir}/%{name}_*.a
331
332# unnead for libboost-1.42
333## pushd $RPM_BUILD_ROOT/%{_libdir}
334## for i in libboost_*-mt.so
335## do
336##   ln -sf $i $(echo $i | cut -f1 -d-).so
337## done
338## popd
339
340## %post devel
341## if [ $1 = 2 ]; then
342##    rm -rf %{_includedir}/%{tarname}
343## fi
344## ln -s %{_includedir}/%{tarname}-%{lnkver}/%{tarname} %{_includedir}/%{tarname}
345##
346## %postun devel
347## if [ $1 = 0 ]; then
348##    rm -rf %{_includedir}/%{tarname}
349## fi
350
351%post date-time -p /sbin/ldconfig
352%post filesystem -p /sbin/ldconfig
353%post graph -p /sbin/ldconfig
354%post iostreams -p /sbin/ldconfig
355%post math -p /sbin/ldconfig
356%post program-options -p /sbin/ldconfig
357%post python -p /sbin/ldconfig
358%post regex -p /sbin/ldconfig
359%post serialization -p /sbin/ldconfig
360%post signals -p /sbin/ldconfig
361%post system -p /sbin/ldconfig
362%post test -p /sbin/ldconfig
363%post thread -p /sbin/ldconfig
364%post wave -p /sbin/ldconfig
365
366%postun date-time -p /sbin/ldconfig
367%postun filesystem -p /sbin/ldconfig
368%postun graph -p /sbin/ldconfig
369%postun iostreams -p /sbin/ldconfig
370%postun math -p /sbin/ldconfig
371%postun program-options -p /sbin/ldconfig
372%postun python -p /sbin/ldconfig
373%postun regex -p /sbin/ldconfig
374%postun serialization -p /sbin/ldconfig
375%postun signals -p /sbin/ldconfig
376%postun system -p /sbin/ldconfig
377%postun test -p /sbin/ldconfig
378%postun thread -p /sbin/ldconfig
379%postun wave -p /sbin/ldconfig
380
381%clean
382rm -rf $RPM_BUILD_ROOT
383
384%files
385%defattr(-,root,root)
386%doc LICENSE_1_0.txt
387
388%files devel
389%defattr(-,root,root)
390%{_includedir}/boost/
391%{_includedir}/boost-%{lnkver}/
392
393%files doc
394%doc index.htm index.html boost.css boost.png rst.css doc libs more people wiki
395
396%files date-time
397%{_libdir}/%{name}_date_time*.so*
398
399%files filesystem
400%{_libdir}/%{name}_filesystem*.so*
401
402%files graph
403%{_libdir}/%{name}_graph*.so*
404%{_libdir}/%{name}_mpi*.so*
405%{_libdir}/mpi*.so*
406
407%files iostreams
408%{_libdir}/%{name}_iostreams*.so*
409
410%files math
411%{_libdir}/%{name}_math_*.so*
412
413%files program-options
414%{_libdir}/%{name}_program_options*.so*
415
416%files python
417%{_libdir}/%{name}_python*.so*
418
419%files regex
420%{_libdir}/%{name}_regex*.so*
421
422%files serialization
423%{_libdir}/%{name}_serialization*.so*
424%{_libdir}/%{name}_wserialization*.so*
425
426%files signals
427%{_libdir}/%{name}_signals*.so*
428
429%files test
430%{_libdir}/%{name}_prg_exec_monitor*.so*
431%{_libdir}/%{name}_unit_test_framework*.so*
432
433%files thread
434%{_libdir}/%{name}_thread*.so*
435
436%files wave
437%{_libdir}/%{name}_wave*.so*
438
439%files system
440%{_libdir}/%{name}_system*.so*
441
442%changelog
443* Mon Feb 08 2010 Shu KONNO <owa@bg.wakwak.com> 1.42.0-2
444- added "-licui18n" to bjam
445- added BR: lam
446
447* Sun Feb 07 2010 Shu KONNO <owa@bg.wakwak.com> 1.42.0-1
448- updated to boost_1_42_0
449- rebuilt with new toolchain and python-2.6
450- added user-config.jam to make libboost_mpi
451- added BR: libaio-devel
452- added %%{post,postun} -p /sbin/ldconfig
453- dropt no use parameter EXPAT_INCLUDE and EXPAT_LIBPATH
454- dropt %{_libdir}/%{name}_test_exec_monitor-*.a in %%files %{name}-test
455- dropt %%{post,postun} devel section
456
457* Sun Mar 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.36.0-2vl5
458- rebuilt with libicu-4.0.1
459- changed Group to System Environment/Libraries (except devel package)
460
461* Sat Aug 16 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.36.0-1vl5
462- new upstream release
463- add -math subpackage
464
465* Fri Aug 15 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.35.0-2vl5
466- build with python-2.5
467- add libboost_XXXX.so symlinks
468
469* Thu May 8 2008 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.35.0-1vl5
470- upstream release
471- applied new versioning policy
472- add EXPAT_INCLUDE and EXPAT_LIBPATH to enable GraphML support
473- add new package libboost-system
474- Obsolete: *-devel packages
475
476* Sat Sep  8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.34.1-0vl3
477- rebuilt with libicu-3.6
478- changed doc Group to Applications/Documentation
479
480* Sat Aug 18 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.34.1-0vl2
481- upstream release
482
483* Thu Jun 14 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.34.0-0vl3
484- add --libdir=%%{_libdir} to cope with x86_64 environment
485
486* Sun Jun 10 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.34.0-0vl2
487- upstream release
488- use Easy Build and Install process with ./configure
489- add BuildRequires: libicu-devel
490- remove %%{_libdir}/libboost_test_exec_monitor-*.so* from %%files -n libboost-test
491- add new packages: libboost-graph, libboost-graph-devel, libboost-wave
492- add files to doc package
493
494* Sun May 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.33.1-0vl2
495- rebuilt with new toolchain
496
497* Sat Feb 4 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.33.1-0vl1
498- upstream release
499
500* Mon Dec 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.33.0-0vl3
501- fixed typo in Groups:
502- devel packages also moved to Development/Libraries group
503
504* Mon Sep 19 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.33.0-0vl2
505- spec modified to avoid errors on non-ix86 archtecture
506  (previously the path linuxx86 was explicitly used)
507
508* Sun Sep 11 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.33.0-0vl1
509- initial release for Vine Linux
510
511* Sat Sep 10 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.33.0-0vl0.3
512- link /usr/include/boost_%{lnkver}/boost to /usr/include/boost
513
514* Sat Sep 10 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.33.0-0vl0.2
515- change package name from boost to libboost
516- separated into sub-packages
517
518* Fri Jun 17 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.33.0-0vl0.1
519- upstream release
520- add BuildRequires: bzip2-devel zlib-devel
521
522* Fri Jun 17 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.7
523- added so.* file
524
525* Mon Apr 25 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.6
526- moved %post, %postun script to -devel package
527
528* Mon Apr 25 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.5
529- moved doc/html to -devel package
530- make a symbolic link on %{_includedir}/boost
531
532* Mon Apr 25 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.4
533- fixed character code to euc-jp
534
535* Mon Apr 25 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.3
536- add %doc files
537
538* Fri Apr 22 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.2
539- remove Requires
540- split -devel package
541
542* Fri Apr 22 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.1
543- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.