zamotivator

Untitled

Mar 21st, 2013
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 80.46 KB | None | 0 0
  1. Index: 3rdparty/centos6/boost-146.spec
  2. ===================================================================
  3. --- 3rdparty/centos6/boost-146.spec (working copy)
  4. +++ 3rdparty/centos6/boost-146.spec (working copy)
  5. @@ -9,7 +9,7 @@
  6.  Group: System Environment/Libraries
  7.  Source: http://sourceforge.net/projects/boost/files/boost/1.46.1/boost_1_46_1.tar.bz2
  8.  
  9. -# Patches for fix warning under CentOS 6.3
  10. +# Patches for fix warning under CentOS 6
  11.  # https://svn.boost.org/trac/boost/ticket/4276
  12.  Patch0: boost-map_iterator.patch
  13.  # https://svn.boost.org/trac/boost/ticket/5416
  14. Index: 3rdparty/centos6/build.sh
  15. ===================================================================
  16. --- 3rdparty/centos6/build.sh   (working copy)
  17. +++ 3rdparty/centos6/build.sh   (working copy)
  18. @@ -60,7 +60,7 @@
  19.  popd
  20.  
  21.  echo Copying sources to "${build_dir}/SOURCES"
  22. -cp "${source_dir}"/*  "${script_dir}"/centos-6.3-x86_64.cfg "${script_dir}"/patches/*.patch "${script_dir}"/patches/*.in "${build_dir}/SOURCES"
  23. +cp "${source_dir}"/*  "${script_dir}"/centos-6-x86_64.cfg "${script_dir}"/patches/*.patch "${script_dir}"/patches/*.in "${build_dir}/SOURCES"
  24.  
  25.  echo Copying specs to "${build_dir}/SOURCES"
  26.  for spec_file_name in `(cd ${script_dir}; ls *.spec)`; do
  27. @@ -79,7 +79,7 @@
  28.  pushd "${build_dir}"/SRPMS
  29.      for f in *.src.rpm; do
  30.          echo Building binary package from $f
  31. -        python ${script_dir}/../../utils/chroot_build.py -b -d centos-6.3-x86_64 -s $f -r "${chroot_result_dir}" || die Can not build $f
  32. +        python ${script_dir}/../../utils/chroot_build.py -b -d centos-6-x86_64 -s $f -r "${chroot_result_dir}" || die Can not build $f
  33.      done
  34.  popd
  35.  
  36. Index: 3rdparty/centos6/centos-6-x86_64.cfg
  37. ===================================================================
  38. --- 3rdparty/centos6/centos-6-x86_64.cfg    (working copy)
  39. +++ 3rdparty/centos6/centos-6-x86_64.cfg    (working copy)
  40. @@ -1,4 +1,4 @@
  41. -config_opts['root'] = 'centos-6.3-x86_64'
  42. +config_opts['root'] = 'centos-6-x86_64'
  43.  config_opts['target_arch'] = 'x86_64'
  44.  config_opts['legal_host_arches'] = ('x86_64',)
  45.  config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
  46. @@ -22,14 +22,14 @@
  47.  [base]
  48.  name=BaseOS
  49.  enabled=1
  50. -mirrorlist=http://mirrorlist.centos.org/?release=6.3&arch=x86_64&repo=os
  51. +mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os
  52.  failovermethod=priority
  53.  priority=1
  54.  
  55.  [updates]
  56.  name=updates
  57.  enabled=1
  58. -mirrorlist=http://mirrorlist.centos.org/?release=6.3&arch=x86_64&repo=updates
  59. +mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates
  60.  failovermethod=priority
  61.  priority=2
  62.  
  63. Index: 3rdparty/centos6/centos-6.3-x86_64.cfg
  64. ===================================================================
  65. --- 3rdparty/centos6/centos-6.3-x86_64.cfg  (revision 6104)
  66. +++ 3rdparty/centos6/centos-6.3-x86_64.cfg  (working copy)
  67. @@ -1,50 +0,0 @@
  68. -config_opts['root'] = 'centos-6.3-x86_64'
  69. -config_opts['target_arch'] = 'x86_64'
  70. -config_opts['legal_host_arches'] = ('x86_64',)
  71. -config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
  72. -config_opts['dist'] = 'el6'  # only useful for --resultdir variable subst
  73. -config_opts['plugin_conf']['ccache_enable'] = False
  74. -
  75. -config_opts['yum.conf'] = """
  76. -[main]
  77. -cachedir=/var/cache/yum
  78. -debuglevel=1
  79. -reposdir=/dev/null
  80. -logfile=/var/log/yum.log
  81. -retries=20
  82. -obsoletes=1
  83. -gpgcheck=0
  84. -assumeyes=1
  85. -syslog_ident=mock
  86. -syslog_device=
  87. -
  88. -# repos
  89. -[base]
  90. -name=BaseOS
  91. -enabled=1
  92. -mirrorlist=http://mirrorlist.centos.org/?release=6.3&arch=x86_64&repo=os
  93. -failovermethod=priority
  94. -priority=1
  95. -
  96. -[updates]
  97. -name=updates
  98. -enabled=1
  99. -mirrorlist=http://mirrorlist.centos.org/?release=6.3&arch=x86_64&repo=updates
  100. -failovermethod=priority
  101. -priority=2
  102. -
  103. -[scidb]
  104. -name=SciDB repo
  105. -enabled=1
  106. -baseurl=http://downloads.paradigm4.com/centos6.3/3rdparty
  107. -gpgcheck=0
  108. -failovermethod=priority
  109. -priority=3
  110. -
  111. -[epel]
  112. -name=epel
  113. -enabled=1
  114. -mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=x86_64
  115. -failovermethod=priority
  116. -priority=99
  117. -"""
  118. Index: 3rdparty/centos6/mock-1124.spec
  119. ===================================================================
  120. --- 3rdparty/centos6/mock-1124.spec (working copy)
  121. +++ 3rdparty/centos6/mock-1124.spec (working copy)
  122. @@ -7,7 +7,7 @@
  123.  License: GPLv2+
  124.  Group: Development/Tools
  125.  Source: https://fedorahosted.org/mock/raw-attachment/wiki/MockTarballs/%{name}-%{version}.tar.xz
  126. -Source1: centos-6.3-x86_64.cfg
  127. +Source1: centos-6-x86_64.cfg
  128.  URL: http://fedoraproject.org/wiki/Projects/Mock
  129.  BuildArch: noarch
  130.  Requires: python >= 2.6, yum >= 2.4, yum-utils >= 1.1.9, tar, pigz, python-ctypes, python-decoratortools, usermode
  131. Index: 3rdparty/centos63/apache-maven-3.0.4.spec
  132. ===================================================================
  133. --- 3rdparty/centos63/apache-maven-3.0.4.spec   (revision 6104)
  134. +++ 3rdparty/centos63/apache-maven-3.0.4.spec   (working copy)
  135. @@ -1,39 +0,0 @@
  136. -Name:           apache-maven
  137. -Version:        3.0.4
  138. -Release:        1
  139. -Summary:        Apache Maven
  140. -Group:          Development/Tools
  141. -License:        Apache
  142. -BuildArch:      noarch
  143. -URL:            http://maven.apache.org/
  144. -Source:         http://apache-mirror.rbc.ru/pub/apache/maven/maven-3/3.0.4/binaries/apache-maven-3.0.4-bin.tar.gz
  145. -
  146. -%description
  147. -Apache Maven is a software project management and comprehension tool.
  148. -ased on the concept of a project object model (POM), Maven can manage
  149. -a project's build, reporting and documentation from a central piece
  150. -of information.
  151. -
  152. -%prep
  153. -%setup -q
  154. -
  155. -%build
  156. -
  157. -%install
  158. -mkdir -p $RPM_BUILD_ROOT%{_bindir}
  159. -mkdir -p $RPM_BUILD_ROOT/usr/share/maven/bin
  160. -mkdir -p $RPM_BUILD_ROOT/usr/share/maven/boot
  161. -mkdir -p $RPM_BUILD_ROOT/usr/share/maven/lib
  162. -
  163. -install -p -D bin/mvn $RPM_BUILD_ROOT/usr/share/maven/bin/
  164. -install -p -D bin/mvnDebug $RPM_BUILD_ROOT/usr/share/maven/bin/
  165. -install -m644 -p -D bin/m2.conf $RPM_BUILD_ROOT/usr/share/maven/bin/
  166. -install -m644 -p -D boot/*.jar $RPM_BUILD_ROOT/usr/share/maven/boot/
  167. -install -m644 -p -D lib/*.jar $RPM_BUILD_ROOT/usr/share/maven/lib/
  168. -ln -sf /usr/share/maven/bin/mvn $RPM_BUILD_ROOT%{_bindir}/mvn
  169. -ln -sf /usr/share/maven/bin/mvnDebug $RPM_BUILD_ROOT%{_bindir}/mvnDebug
  170. -%clean
  171. -
  172. -%files
  173. -%defattr(-,root,root,-)
  174. -/usr/*
  175. \ No newline at end of file
  176. Index: 3rdparty/centos63/boost-146.spec
  177. ===================================================================
  178. --- 3rdparty/centos63/boost-146.spec    (revision 6104)
  179. +++ 3rdparty/centos63/boost-146.spec    (working copy)
  180. @@ -1,364 +0,0 @@
  181. -%define scidb_boost scidb-boost-SCIDB_VERSION_MAJOR.SCIDB_VERSION_MINOR
  182. -%define scidb_path  /opt/scidb/SCIDB_VERSION_MAJOR.SCIDB_VERSION_MINOR
  183. -Name: %{scidb_boost}
  184. -Summary: The free peer-reviewed portable C++ source libraries
  185. -Version: 1.46.1
  186. -Release: SCIDB_VERSION_PATCH
  187. -License: Boost
  188. -URL: http://www.boost.org/
  189. -Group: System Environment/Libraries
  190. -Source: http://sourceforge.net/projects/boost/files/boost/1.46.1/boost_1_46_1.tar.bz2
  191. -
  192. -# Patches for fix warning under CentOS 6.3
  193. -# https://svn.boost.org/trac/boost/ticket/4276
  194. -Patch0: boost-map_iterator.patch
  195. -# https://svn.boost.org/trac/boost/ticket/5416
  196. -Patch1: boost-serializationExportWarningPatch.patch
  197. -
  198. -%define srcdir boost_1_46_1
  199. -%define _docdir %{scidb_path}/doc
  200. -%define _libdir %{scidb_path}/lib
  201. -Requires: %{scidb_boost}-date-time = %{version}-%{release}
  202. -Requires: %{scidb_boost}-filesystem = %{version}-%{release}
  203. -Requires: %{scidb_boost}-graph = %{version}-%{release}
  204. -Requires: %{scidb_boost}-iostreams = %{version}-%{release}
  205. -Requires: %{scidb_boost}-program-options = %{version}-%{release}
  206. -Requires: %{scidb_boost}-python = %{version}-%{release}
  207. -Requires: %{scidb_boost}-regex = %{version}-%{release}
  208. -Requires: %{scidb_boost}-serialization = %{version}-%{release}
  209. -Requires: %{scidb_boost}-signals = %{version}-%{release}
  210. -Requires: %{scidb_boost}-system = %{version}-%{release}
  211. -Requires: %{scidb_boost}-test = %{version}-%{release}
  212. -Requires: %{scidb_boost}-thread = %{version}-%{release}
  213. -Requires: %{scidb_boost}-wave = %{version}-%{release}
  214. -Requires: %{scidb_boost}-random = %{version}-%{release}
  215. -Requires: %{scidb_boost}-math = %{version}-%{release}
  216. -
  217. -BuildRequires: libstdc++-devel
  218. -BuildRequires: bzip2-libs
  219. -BuildRequires: bzip2-devel
  220. -BuildRequires: zlib-devel
  221. -BuildRequires: python-devel
  222. -BuildRequires: libicu-devel
  223. -BuildRequires: chrpath
  224. -
  225. -%description
  226. -Boost provides free peer-reviewed portable C++ source libraries.  The
  227. -emphasis is on libraries which work well with the C++ Standard
  228. -Library, in the hopes of establishing "existing practice" for
  229. -extensions and providing reference implementations so that the Boost
  230. -libraries are suitable for eventual standardization. (Some of the
  231. -libraries have already been proposed for inclusion in the C++
  232. -Standards Committee's upcoming C++ Standard Library Technical Report.)
  233. -
  234. -%package date-time
  235. -Summary: Runtime component of boost date-time library
  236. -Group: System Environment/Libraries
  237. -%description date-time
  238. -Runtime support for Boost Date Time, set of date-time libraries based
  239. -on generic programming concepts.
  240. -
  241. -%package filesystem
  242. -Summary: Runtime component of boost filesystem library
  243. -Group: System Environment/Libraries
  244. -%description filesystem
  245. -Runtime support for the Boost Filesystem Library, which provides
  246. -portable facilities to query and manipulate paths, files, and
  247. -directories.
  248. -
  249. -%package graph
  250. -Summary: Runtime component of boost graph library
  251. -Group: System Environment/Libraries
  252. -%description graph
  253. -Runtime support for the BGL graph library.  BGL interface and graph
  254. -components are generic, in the same sense as the the Standard Template
  255. -Library (STL).
  256. -
  257. -%package iostreams
  258. -Summary: Runtime component of boost iostreams library
  259. -Group: System Environment/Libraries
  260. -%description iostreams
  261. -Runtime support for Boost.IOStreams, a framework for defining streams,
  262. -stream buffers and i/o filters.
  263. -
  264. -%package math
  265. -Summary: Stub that used to contain boost math library
  266. -Group: System Environment/Libraries
  267. -%description math
  268. -This package is a stub that used to contain runtime component of boost
  269. -math library.  Now that boost math library is header-only, this
  270. -package is empty.  It's kept around only so that during yum-assisted
  271. -update, old libraries from %{scidb_boost}-math package aren't left around.
  272. -
  273. -%package program-options
  274. -Summary:  Runtime component of boost program_options library
  275. -Group: System Environment/Libraries
  276. -%description program-options
  277. -Runtime support of boost program options library, which allows program
  278. -developers to obtain (name, value) pairs from the user, via
  279. -conventional methods such as command line and configuration file.
  280. -
  281. -%package python
  282. -Summary: Runtime component of boost python library
  283. -Group: System Environment/Libraries
  284. -%description python
  285. -The Boost Python Library is a framework for interfacing Python and
  286. -C++. It allows you to quickly and seamlessly expose C++ classes
  287. -functions and objects to Python, and vice versa, using no special
  288. -tools -- just your C++ compiler.  This package contains runtime
  289. -support for Boost Python Library.
  290. -
  291. -%package regex
  292. -Summary: Runtime component of boost regular expression library
  293. -Group: System Environment/Libraries
  294. -%description regex
  295. -Runtime support for boost regular expression library.
  296. -
  297. -%package serialization
  298. -Summary: Runtime component of boost serialization library
  299. -Group: System Environment/Libraries
  300. -%description serialization
  301. -Runtime support for serialization for persistence and marshaling.
  302. -
  303. -%package signals
  304. -Summary: Runtime component of boost signals and slots library
  305. -Group: System Environment/Libraries
  306. -%description signals
  307. -Runtime support for managed signals & slots callback implementation.
  308. -
  309. -%package system
  310. -Summary: Runtime component of boost system support library
  311. -Group: System Environment/Libraries
  312. -%description system
  313. -Runtime component of Boost operating system support library, including
  314. -the diagnostics support that will be part of the C++0x standard
  315. -library.
  316. -
  317. -%package test
  318. -Summary: Runtime component of boost test library
  319. -Group: System Environment/Libraries
  320. -%description test
  321. -Runtime support for simple program testing, full unit testing, and for
  322. -program execution monitoring.
  323. -
  324. -%package thread
  325. -Summary: Runtime component of boost thread library
  326. -Group: System Environment/Libraries
  327. -%description thread
  328. -Runtime component Boost.Thread library, which provides classes and
  329. -functions for managing multiple threads of execution, and for
  330. -synchronizing data between the threads or providing separate copies of
  331. -data specific to individual threads.
  332. -
  333. -%package wave
  334. -Summary: Runtime component of boost C99/C++ preprocessing library
  335. -Group: System Environment/Libraries
  336. -%description wave
  337. -Runtime support for the Boost.Wave library, a Standards conformant,
  338. -and highly configurable implementation of the mandated C99/C++
  339. -preprocessor functionality.
  340. -
  341. -%package random
  342. -Summary: Runtime component of boost random library
  343. -Group: System Environment/Libraries
  344. -%description random
  345. -The Boost Random Number Library (Boost.Random for short) provides a
  346. -variety of generators and distributions to produce random numbers having
  347. -useful properties, such as uniform distribution.
  348. -
  349. -%package devel
  350. -Summary: The Boost C++ headers and shared development libraries
  351. -Group: Development/Libraries
  352. -Requires: %{scidb_boost} = %{version}-%{release}
  353. -Provides: %{scidb_boost}-python-devel = %{version}-%{release}
  354. -%description devel
  355. -Headers and shared object symlinks for the Boost C++ libraries.
  356. -
  357. -%package static
  358. -Summary: The Boost C++ static development libraries
  359. -Group: Development/Libraries
  360. -Requires: %{scidb_boost}-devel = %{version}-%{release}
  361. -Obsoletes: %{scidb_boost}-devel-static < 1.34.1-14
  362. -Provides: %{scidb_boost}-devel-static = %{version}-%{release}
  363. -%description static
  364. -Static Boost C++ libraries.
  365. -
  366. -%package doc
  367. -Summary: HTML documentation for the Boost C++ libraries
  368. -Group: Documentation
  369. -BuildArch: noarch
  370. -Provides: %{scidb_boost}-python-docs = %{version}-%{release}
  371. -%description doc
  372. -This package contains the documentation in the HTML format of the Boost C++
  373. -libraries. The documentation provides the same content as that on the Boost
  374. -web page (http://www.boost.org/doc/libs/1_40_0).
  375. -
  376. -%prep
  377. -%setup -q -n %{srcdir}
  378. -%patch0 -p1
  379. -%patch1 -p1
  380. -
  381. -%build
  382. -./bootstrap.sh --prefix=/usr
  383. -./bjam --without-mpi %{?_smp_mflags}
  384. -
  385. -%install
  386. -rm -rf $RPM_BUILD_ROOT
  387. -cd %{_builddir}/%{srcdir}/
  388. -./bjam --prefix=$RPM_BUILD_ROOT/usr install
  389. -mkdir -p "$RPM_BUILD_ROOT/%{scidb_path}"
  390. -mv "$RPM_BUILD_ROOT/usr/lib" "$RPM_BUILD_ROOT/%{scidb_path}"
  391. -mv "$RPM_BUILD_ROOT/usr/include" "$RPM_BUILD_ROOT/%{scidb_path}"
  392. -
  393. -%clean
  394. -rm -rf $RPM_BUILD_ROOT
  395. -
  396. -%post date-time -p /sbin/ldconfig
  397. -
  398. -%postun date-time -p /sbin/ldconfig
  399. -
  400. -%post filesystem -p /sbin/ldconfig
  401. -
  402. -%postun filesystem -p /sbin/ldconfig
  403. -
  404. -%post graph -p /sbin/ldconfig
  405. -
  406. -%postun graph -p /sbin/ldconfig
  407. -
  408. -%post iostreams -p /sbin/ldconfig
  409. -
  410. -%postun iostreams -p /sbin/ldconfig
  411. -
  412. -%post program-options -p /sbin/ldconfig
  413. -
  414. -%postun program-options -p /sbin/ldconfig
  415. -
  416. -%post python -p /sbin/ldconfig
  417. -
  418. -%postun python -p /sbin/ldconfig
  419. -
  420. -%post regex -p /sbin/ldconfig
  421. -
  422. -%postun regex -p /sbin/ldconfig
  423. -
  424. -%post serialization -p /sbin/ldconfig
  425. -
  426. -%postun serialization -p /sbin/ldconfig
  427. -
  428. -%post signals -p /sbin/ldconfig
  429. -
  430. -%postun signals -p /sbin/ldconfig
  431. -
  432. -%post system -p /sbin/ldconfig
  433. -
  434. -%postun system -p /sbin/ldconfig
  435. -
  436. -%post test -p /sbin/ldconfig
  437. -
  438. -%postun test -p /sbin/ldconfig
  439. -
  440. -%post thread -p /sbin/ldconfig
  441. -
  442. -%postun thread -p /sbin/ldconfig
  443. -
  444. -%post wave -p /sbin/ldconfig
  445. -
  446. -%postun wave -p /sbin/ldconfig
  447. -
  448. -%post random -p /sbin/ldconfig
  449. -
  450. -%postun random -p /sbin/ldconfig
  451. -
  452. -%files
  453. -
  454. -%files date-time
  455. -%defattr(-, root, root, -)
  456. -%doc LICENSE_1_0.txt
  457. -%{_libdir}/libboost_date_time*.so.%{version}
  458. -
  459. -%files filesystem
  460. -%defattr(-, root, root, -)
  461. -%doc LICENSE_1_0.txt
  462. -%{_libdir}/libboost_filesystem*.so.%{version}
  463. -
  464. -%files graph
  465. -%defattr(-, root, root, -)
  466. -%doc LICENSE_1_0.txt
  467. -%{_libdir}/libboost_graph.so.%{version}
  468. -
  469. -%files iostreams
  470. -%defattr(-, root, root, -)
  471. -%doc LICENSE_1_0.txt
  472. -%{_libdir}/libboost_iostreams*.so.%{version}
  473. -
  474. -%files math
  475. -%defattr(-, root, root, -)
  476. -%doc LICENSE_1_0.txt
  477. -%{_libdir}/libboost_math*.so.%{version}
  478. -
  479. -%files test
  480. -%defattr(-, root, root, -)
  481. -%doc LICENSE_1_0.txt
  482. -%{_libdir}/libboost_prg_exec_monitor*.so.%{version}
  483. -%{_libdir}/libboost_unit_test_framework*.so.%{version}
  484. -
  485. -%files program-options
  486. -%defattr(-, root, root, -)
  487. -%doc LICENSE_1_0.txt
  488. -%{_libdir}/libboost_program_options*.so.%{version}
  489. -
  490. -%files python
  491. -%defattr(-, root, root, -)
  492. -%doc LICENSE_1_0.txt
  493. -%{_libdir}/libboost_python*.so.%{version}
  494. -
  495. -%files regex
  496. -%defattr(-, root, root, -)
  497. -%doc LICENSE_1_0.txt
  498. -%{_libdir}/libboost_regex*.so.%{version}
  499. -
  500. -%files serialization
  501. -%defattr(-, root, root, -)
  502. -%doc LICENSE_1_0.txt
  503. -%{_libdir}/libboost_serialization*.so.%{version}
  504. -%{_libdir}/libboost_wserialization*.so.%{version}
  505. -
  506. -%files signals
  507. -%defattr(-, root, root, -)
  508. -%doc LICENSE_1_0.txt
  509. -%{_libdir}/libboost_signals*.so.%{version}
  510. -
  511. -%files system
  512. -%defattr(-, root, root, -)
  513. -%doc LICENSE_1_0.txt
  514. -%{_libdir}/libboost_system*.so.%{version}
  515. -
  516. -%files thread
  517. -%defattr(-, root, root, -)
  518. -%doc LICENSE_1_0.txt
  519. -%{_libdir}/libboost_thread*.so.%{version}
  520. -
  521. -%files wave
  522. -%defattr(-, root, root, -)
  523. -%doc LICENSE_1_0.txt
  524. -%{_libdir}/libboost_wave*.so.%{version}
  525. -
  526. -%files random
  527. -%defattr(-, root, root, -)
  528. -%doc LICENSE_1_0.txt
  529. -%{_libdir}/libboost_random*.so.%{version}
  530. -
  531. -%files doc
  532. -%defattr(-, root, root, -)
  533. -%doc %{_docdir}/scidb-boost-*-%{version}
  534. -
  535. -%files devel
  536. -%defattr(-, root, root, -)
  537. -%doc LICENSE_1_0.txt
  538. -%{scidb_path}/include/boost
  539. -%{_libdir}/libboost_*.so
  540. -
  541. -%files static
  542. -%defattr(-, root, root, -)
  543. -%doc LICENSE_1_0.txt
  544. -%{_libdir}/*.a
  545. Index: 3rdparty/centos63/build.sh
  546. ===================================================================
  547. --- 3rdparty/centos63/build.sh  (revision 6104)
  548. +++ 3rdparty/centos63/build.sh  (working copy)
  549. @@ -1,89 +0,0 @@
  550. -#!/bin/bash
  551. -
  552. -[ -f /usr/sbin/mock ] && HAS_MOCK=1 || HAS_MOCK=0
  553. -
  554. -if [ ! $HAS_MOCK ]; then
  555. -    echo You dont have mock utility
  556. -    echo Connect SciDB repository and install mock
  557. -fi
  558. -
  559. -function usage()
  560. -{
  561. -    echo "Usage: $0 <result dir>"
  562. -    exit 1
  563. -}
  564. -
  565. -function die()
  566. -{
  567. -    echo $1
  568. -    exit 1
  569. -}
  570. -
  571. -[ ! "$#" -eq 1 ] && usage
  572. -
  573. -export SCIDB_VERSION_MAJOR=`awk -F . '{print $1}' $(dirname "$0")/../../version`
  574. -export SCIDB_VERSION_MINOR=`awk -F . '{print $2}' $(dirname "$0")/../../version`
  575. -export SCIDB_VERSION_PATCH=`awk -F . '{print $3}' $(dirname "$0")/../../version`
  576. -
  577. -build_dir="`mktemp -d /tmp/scidb_packaging.XXXXX`"
  578. -chroot_result_dir="$1"
  579. -source_dir=~/scidb_3rd_party_sources
  580. -
  581. -pushd "$(dirname "$0")"
  582. -script_dir="`pwd`"
  583. -popd
  584. -
  585. -sources="
  586. -http://netcologne.dl.sourceforge.net/project/boost/boost/1.46.1/boost_1_46_1.tar.bz2
  587. -http://pqxx.org/download/software/libpqxx/libpqxx-3.1.tar.gz
  588. -http://www.cmake.org/files/v2.8/cmake-2.8.10.tar.gz
  589. -http://prdownloads.sourceforge.net/swig/swig-2.0.8.tar.gz
  590. -http://zlib.net/pigz/pigz-2.2.5.tar.gz
  591. -https://fedorahosted.org/mock/raw-attachment/wiki/MockTarballs/mock-1.1.24.tar.xz
  592. -http://www.sai.msu.su/apache/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0.tar.gz
  593. -http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.bz2
  594. -http://argparse.googlecode.com/files/argparse-1.2.1.tar.gz
  595. -http://apache-mirror.rbc.ru/pub/apache/maven/maven-3/3.0.4/binaries/apache-maven-3.0.4-bin.tar.gz
  596. -http://www.samba.org/ftp/ccache/ccache-3.1.6.tar.xz
  597. -http://netcologne.dl.sourceforge.net/project/cppunit/cppunit/1.12.1/cppunit-1.12.1.tar.gz
  598. -"
  599. -
  600. -echo Preparing dirs
  601. -mkdir -p "${build_dir}"/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS} "${source_dir}" "${chroot_result_dir}" || die
  602. -
  603. -echo Downloading sources to "${source_dir}"
  604. -pushd "${source_dir}"
  605. -    for url in $sources; do
  606. -        filename="`basename $url`"
  607. -        [ ! -f $filename ] && wget "$url" -O tmp && mv tmp $filename
  608. -    done
  609. -popd
  610. -
  611. -echo Copying sources to "${build_dir}/SOURCES"
  612. -cp "${source_dir}"/*  "${script_dir}"/centos-6.3-x86_64.cfg "${script_dir}"/patches/*.patch "${script_dir}"/patches/*.in "${build_dir}/SOURCES"
  613. -
  614. -echo Copying specs to "${build_dir}/SOURCES"
  615. -for spec_file_name in `(cd ${script_dir}; ls *.spec)`; do
  616. -    cat "${script_dir}"/${spec_file_name} | sed -e "s/SCIDB_VERSION_MAJOR/${SCIDB_VERSION_MAJOR}/" | sed -e "s/SCIDB_VERSION_MINOR/${SCIDB_VERSION_MINOR}/" | sed -e "s/SCIDB_VERSION_PATCH/${SCIDB_VERSION_PATCH}/" > "${build_dir}"/SPECS/${spec_file_name}
  617. -done;
  618. -
  619. -echo Building source packages
  620. -pushd "${build_dir}"/SPECS
  621. -    for f in *.spec; do
  622. -        echo Building $f source package
  623. -        rpmbuild -D"_topdir ${build_dir}" -bs $f || die "Can't build $f"
  624. -    done
  625. -popd
  626. -
  627. -echo Building dependencies in chroot
  628. -pushd "${build_dir}"/SRPMS
  629. -    for f in *.src.rpm; do
  630. -        echo Building binary package from $f
  631. -        python ${script_dir}/../../utils/chroot_build.py -b -d centos-6.3-x86_64 -s $f -r "${chroot_result_dir}" || die Can not build $f
  632. -    done
  633. -popd
  634. -
  635. -echo Removing build dir "${build_dir}"
  636. -sudo rm -rf "${build_dir}"
  637. -
  638. -echo Done. Take result from "${chroot_result_dir}"
  639. Index: 3rdparty/centos63/ccache.spec
  640. ===================================================================
  641. --- 3rdparty/centos63/ccache.spec   (revision 6104)
  642. +++ 3rdparty/centos63/ccache.spec   (working copy)
  643. @@ -1,350 +0,0 @@
  644. -%ifarch x86_64
  645. -%global archs %{ix86} x86_64
  646. -%else
  647. -%ifarch %{ix86}
  648. -%global archs %{ix86}
  649. -%else
  650. -%global archs %{_target_cpu}
  651. -%endif
  652. -%endif
  653. -
  654. -%define abs2rel() perl -MFile::Spec -e 'print File::Spec->abs2rel(@ARGV)' %1 %2
  655. -%global relccache %(%abs2rel %{_bindir}/ccache %{_libdir}/ccache)
  656. -
  657. -Name:           ccache
  658. -Version:        3.1.6
  659. -Release:        2%{?dist}
  660. -Summary:        C/C++ compiler cache
  661. -
  662. -Group:          Development/Tools
  663. -License:        GPLv3+
  664. -URL:            http://ccache.samba.org/
  665. -Source0:        http://samba.org/ftp/ccache/%{name}-%{version}.tar.xz
  666. -Source1:        %{name}.sh.in
  667. -Source2:        %{name}.csh.in
  668. -BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  669. -
  670. -BuildRequires:  perl(File::Spec)
  671. -BuildRequires:  zlib-devel >= 1.2.3
  672. -# coreutils for triggerin, triggerpostun
  673. -Requires: coreutils
  674. -
  675. -%description
  676. -ccache is a compiler cache.  It speeds up recompilation of C/C++ code
  677. -by caching previous compiles and detecting when the same compile is
  678. -being done again.  The main focus is to handle the GNU C/C++ compiler
  679. -(GCC), but it may also work with compilers that mimic GCC good enough.
  680. -
  681. -
  682. -%prep
  683. -%setup -q
  684. -sed -e 's|@LIBDIR@|%{_libdir}|g' -e 's|@CACHEDIR@|%{_var}/cache/ccache|g' \
  685. -    %{SOURCE1} > %{name}.sh
  686. -sed -e 's|@LIBDIR@|%{_libdir}|g' -e 's|@CACHEDIR@|%{_var}/cache/ccache|g' \
  687. -    %{SOURCE2} > %{name}.csh
  688. -# Make sure system zlib is used
  689. -rm -r zlib
  690. -
  691. -
  692. -%build
  693. -%configure
  694. -make %{?_smp_mflags}
  695. -
  696. -
  697. -%install
  698. -rm -rf $RPM_BUILD_ROOT
  699. -
  700. -make install DESTDIR=$RPM_BUILD_ROOT
  701. -
  702. -install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
  703. -install -pm 644 %{name}.sh %{name}.csh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
  704. -
  705. -install -dm 770 $RPM_BUILD_ROOT%{_var}/cache/ccache
  706. -
  707. -# %%ghost files for ownership, keep in sync with triggers
  708. -install -dm 755 $RPM_BUILD_ROOT%{_libdir}/ccache
  709. -for n in cc gcc g++ c++ ; do
  710. -    ln -s %{relccache} $RPM_BUILD_ROOT%{_libdir}/ccache/$n
  711. -    for p in avr- arm-gp2x-linux- msp430- ; do
  712. -        ln -s %{relccache} $RPM_BUILD_ROOT%{_libdir}/ccache/$p$n
  713. -    done
  714. -    for s in 32 34 4 44 ; do
  715. -        ln -s %{relccache} $RPM_BUILD_ROOT%{_libdir}/ccache/$n$s
  716. -    done
  717. -    for a in %{archs} ; do
  718. -        ln -s %{relccache} \
  719. -            $RPM_BUILD_ROOT%{_libdir}/ccache/$a-%{_vendor}-%{_target_os}-$n
  720. -    done
  721. -done
  722. -find $RPM_BUILD_ROOT%{_libdir}/ccache -type l | \
  723. -    sed -e "s|^$RPM_BUILD_ROOT|%%ghost |" > %{name}-%{version}.compilers
  724. -
  725. -
  726. -%check
  727. -make check
  728. -
  729. -
  730. -%clean
  731. -rm -fr $RPM_BUILD_ROOT
  732. -
  733. -
  734. -%define ccache_trigger(p:) \
  735. -%triggerin -- %{-p*}\
  736. -for n in %* ; do\
  737. -    [ ! -x %{_bindir}/$n ] || ln -sf %{relccache} %{_libdir}/ccache/$n\
  738. -    for a in %{archs} ; do\
  739. -        [ ! -x %{_bindir}/$a-%{_vendor}-%{_target_os}-$n ] || \\\
  740. -          ln -sf %{relccache} %{_libdir}/ccache/$a-%{_vendor}-%{_target_os}-$n\
  741. -    done\
  742. -done\
  743. -:\
  744. -%triggerpostun -- %{-p*}\
  745. -for n in %* ; do\
  746. -    [ -x %{_bindir}/$n ] || rm -f %{_libdir}/ccache/$n\
  747. -    for a in %{archs} ; do\
  748. -        [ -x %{_bindir}/$a-%{_vendor}-%{_target_os}-$n ] || \\\
  749. -            rm -f %{_libdir}/ccache/$a-%{_vendor}-%{_target_os}-$n\
  750. -    done\
  751. -done\
  752. -:\
  753. -%{nil}
  754. -
  755. -%ccache_trigger -p arm-gp2x-linux-gcc arm-gp2x-linux-cc arm-gp2x-linux-gcc
  756. -%ccache_trigger -p arm-gp2x-linux-gcc-c++ arm-gp2x-linux-c++ arm-gp2x-linux-g++
  757. -%ccache_trigger -p avr-gcc avr-cc avr-gcc
  758. -%ccache_trigger -p avr-gcc-c++ avr-c++ avr-g++
  759. -%ccache_trigger -p compat-gcc-32 cc32 gcc32
  760. -%ccache_trigger -p compat-gcc-32-c++ c++32 g++32
  761. -%ccache_trigger -p compat-gcc-34 cc34 gcc34
  762. -%ccache_trigger -p compat-gcc-34-c++ c++34 g++34
  763. -%ccache_trigger -p gcc cc gcc
  764. -%ccache_trigger -p gcc-c++ c++ g++
  765. -%ccache_trigger -p gcc4 cc4 gcc4
  766. -%ccache_trigger -p gcc4-c++ c++4 g++4
  767. -%ccache_trigger -p gcc44 cc4 gcc44
  768. -%ccache_trigger -p gcc44-c++ c++44 g++44
  769. -%ccache_trigger -p mingw32-gcc i686-pc-mingw32-cc i686-pc-mingw32-gcc
  770. -%ccache_trigger -p mingw32-gcc-c++ i686-pc-mingw32-c++ i686-pc-mingw32-g++
  771. -%ccache_trigger -p msp430-gcc msp430-cc msp430-gcc
  772. -
  773. -%pre
  774. -getent group ccache >/dev/null || groupadd -r ccache || :
  775. -
  776. -
  777. -%files -f %{name}-%{version}.compilers
  778. -%defattr(-,root,root,-)
  779. -%doc AUTHORS.* GPL-3.0.txt LICENSE.* MANUAL.* NEWS.* README.*
  780. -%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
  781. -%{_bindir}/ccache
  782. -%dir %{_libdir}/ccache/
  783. -%attr(2770,root,ccache) %dir %{_var}/cache/ccache/
  784. -%{_mandir}/man1/ccache.1*
  785. -
  786. -
  787. -%changelog
  788. -* Sun Dec  4 2011 Ville Skyttä <ville.skytta@iki.fi> - 3.1.6-2
  789. -- Turn on CCACHE_HASHDIR by default (#759592, Jan Kratochvil).
  790. -
  791. -* Mon Aug 22 2011 Ville Skyttä <ville.skytta@iki.fi> - 3.1.6-1
  792. -- Update to 3.1.6.
  793. -
  794. -* Mon May 30 2011 Ville Skyttä <ville.skytta@iki.fi> - 3.1.5-1
  795. -- Update to 3.1.5.
  796. -
  797. -* Sat Apr  2 2011 Ville Skyttä <ville.skytta@iki.fi> - 3.1.4-4
  798. -- Replace Requires(trigger*) with plain requires to appease rpmbuild >= 4.9.
  799. -
  800. -* Sat Apr  2 2011 Ville Skyttä <ville.skytta@iki.fi> - 3.1.4-3
  801. -- Reset non-working cache dir related env settings on user switch (#651023).
  802. -
  803. -* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
  804. -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  805. -
  806. -* Fri Jan 14 2011 Ville Skyttä <ville.skytta@iki.fi> - 3.1.4-1
  807. -- Update to 3.1.4.
  808. -
  809. -* Sun Dec  5 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.1.3-2
  810. -- Update compiler executable lists, make their package triggers more targeted.
  811. -- Auto-symlink mingw32-gcc(-c++) compilers.
  812. -
  813. -* Sun Nov 28 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.1.3-1
  814. -- Update to 3.1.3, fixes #657857.
  815. -
  816. -* Tue Nov 23 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.1.2-1
  817. -- Update to 3.1.2.
  818. -
  819. -* Thu Nov 18 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.1.1-1
  820. -- Update to 3.1.1.
  821. -
  822. -* Sat Sep 18 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.1-1
  823. -- Update to 3.1, fixes #610853.
  824. -- Make sh profile script "nounset" clean.
  825. -
  826. -* Fri Jul 16 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.0.1-1
  827. -- Update to 3.0.1.
  828. -
  829. -* Sat Jul  3 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.0-1
  830. -- Update to 3.0, no-strip patch no longer needed.
  831. -
  832. -* Fri Jun  4 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.0-0.2.pre1
  833. -- Reintroduce minor profile.d script performance improvements.
  834. -
  835. -* Thu May 13 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.0-0.1.pre1
  836. -- Update to 3.0pre1 (#591040), license changed to GPLv3+.
  837. -
  838. -* Mon Mar  1 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.0-0.1.pre0
  839. -- Update to 3.0pre0, all old patches applied/superseded upstream.
  840. -  Note: old caches will no longer be used, see NEWS for details.
  841. -- Don't use "pathmunge" in the profile.d sh script to work around #548960.
  842. -- Patch to avoid stripping the binary during build.
  843. -- Add auto-symlink support for gcc44(-c++) and msp430-gcc.
  844. -- Run test suite during build.
  845. -- Update description.
  846. -
  847. -* Sat Dec 19 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.4-17
  848. -- Minor profile.d script performance improvements.
  849. -- Fix hardcoded /var/cache/ccache in profile.d scripts.
  850. -
  851. -* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.4-16
  852. -- Switch #438201 patch URL to Debian patch tracking (original is MIA).
  853. -
  854. -* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-15
  855. -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  856. -
  857. -* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-14
  858. -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  859. -
  860. -* Wed Mar 19 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.4-13
  861. -- Apply patch to fix path to saved dependency files (#438201).
  862. -
  863. -* Sat Feb  9 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.4-12
  864. -- Rebuild.
  865. -
  866. -* Tue Oct  2 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.4-11
  867. -- Apply upstream fix for problems when $HOME is not set (#315441).
  868. -
  869. -* Wed Aug 22 2007 Ville Skyttä <ville.skytta@iki.fi>
  870. -- Fix URL to upstream tarball.
  871. -
  872. -* Sun Aug 19 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.4-10
  873. -- License: GPLv2+
  874. -- Make compiler symlinks relative.
  875. -- Make profile.d scripts noreplace.
  876. -
  877. -* Mon Jul 30 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.4-9
  878. -- Use shared cache dir for users in the ccache group by default
  879. -  (#247760, based on Andy Shevchenko's work).
  880. -- Fix outdated hardlink info in cache sharing docs.
  881. -- Add auto-symlink support for avr-gcc(-c++) and arm-gp2x-linux-gcc(-c++).
  882. -- Make triggers always exit with a zero exit status.
  883. -
  884. -* Thu Mar 15 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.4-8
  885. -- Bypass cache with --coverage, -fprofile-arcs and -ftest-coverage
  886. -  (upstream CVS and Matt Fago, #231462).
  887. -
  888. -* Fri Nov 10 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.4-7
  889. -- Require coreutils for triggers (#215030).
  890. -
  891. -* Wed Aug  9 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.4-6
  892. -- Add auto-symlink support for compat-gcc-34(-c++).
  893. -- Untabify, escape macros in changelog.
  894. -
  895. -* Tue May 16 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.4-5
  896. -- Add auto-symlink support for g++-libstdc++-so_7.
  897. -
  898. -* Sat Nov 26 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.4-4
  899. -- Drop "bin" from compiler symlink path.
  900. -- Make profile.d snippets non-executable (#35714).
  901. -
  902. -* Sun May  1 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.4-3
  903. -- Auto-symlink update: add compat-gcc-32 and compat-gcc-32-c++, drop
  904. -  bunch of no longer relevant compilers.
  905. -
  906. -* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.4-2
  907. -- rebuilt
  908. -
  909. -* Sun Sep 26 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:2.4-0.fdr.1
  910. -- Update to 2.4.
  911. -- Add symlinking support for gcc4 and gcc4-c++.
  912. -- Move the ccache executable to %%{_bindir}.
  913. -- Include more docs.
  914. -
  915. -* Fri Jun 25 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:2.3-0.fdr.5
  916. -- Add support for gcc33 and g++33.
  917. -
  918. -* Thu Jun 10 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:2.3-0.fdr.4
  919. -- Fix hardcoded lib path in profile.d scriptlets (bug 1558).
  920. -
  921. -* Mon May  3 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:2.3-0.fdr.3
  922. -- Add support for gcc34 and g++34, and
  923. -  %%{_target_cpu}-%%{_vendor}-%%{_target_os}-* variants.
  924. -
  925. -* Thu Nov 13 2003 Ville Skyttä <ville.skytta@iki.fi> - 0:2.3-0.fdr.2
  926. -- Add overriding symlinks for gcc-ssa and g++-ssa (bug 963).
  927. -
  928. -* Tue Nov 11 2003 Ville Skyttä <ville.skytta@iki.fi> - 0:2.3-0.fdr.1
  929. -- Update to 2.3.
  930. -- Implement triggers to keep list of "aliased" compilers up to date on the fly.
  931. -- Add gcc32 and a bunch of legacy packages to the list of overridden compilers.
  932. -
  933. -* Sat Aug  2 2003 Ville Skyttä <ville.skytta@iki.fi> - 0:2.2-0.fdr.6
  934. -- Add c++ to the list of overridden compilers (bug 548).
  935. -- Own everything including dirs under %%{_libdir}/ccache (bug 529).
  936. -- %%{buildroot} -> $RPM_BUILD_ROOT.
  937. -- Fix man page permissions.
  938. -- Use %%{?_smp_mflags}.
  939. -- Other cosmetic specfile tweaks.
  940. -
  941. -* Fri Mar 29 2003 Warren Togami <warren@togami.com> 2.2-0.fdr.5
  942. -- Epoch: 0
  943. -- Remove /usr/lib/ccache/sbin from PATH
  944. -
  945. -* Fri Mar 28 2003 Warren Togami <warren@togami.com> 2.2-0.fdr.4
  946. -- Add BuildRequires: autoconf >= 0:2.52
  947. -- Add Requires: gcc, gcc-c++ (minimal expectation of compilers)
  948. -
  949. -* Fri Mar 28 2003 Warren Togami <warren@togami.com> 2.2-0.fdr.3
  950. -- No longer use %%ghost, symlinks always exist
  951. -
  952. -* Thu Mar 27 2003 Warren Togami <warren@togami.com> 2.2-0.fdr.2
  953. -- Move symlinks to /usr/lib/ccache/bin
  954. -- Use /etc/profile.d/ccache.* scripts to add it to PATH
  955. -  As long as it is before /usr/bin it is good.
  956. -
  957. -* Thu Mar 27 2003 Warren Togami <warren@togami.com> 2.2-0.fdr.1
  958. -- Move symlinks to /bin since it seems to be at the beginning of PATH of all users
  959. -    before /usr/bin, the location of the real compiler.
  960. -- Package symlinks rather than create and remove during %%post and %%postun
  961. -
  962. -* Thu Feb 20 2003 Warren Togami <warren@togami.com> 2.2-4.fedora.1
  963. -- Fedora
  964. -
  965. -* Thu Feb 20 2003 Samir M. Nassar <rpm@redconcepts.net> 2.2-3.redconcepts
  966. -- Added symlinks to g++
  967. -- Removed symlink removal in post
  968. -
  969. -* Thu Feb 20 2003 Samir M. Nassar <rpm@redconcepts.net> 2.2-2.redconcepts
  970. -- Cleans symlinks if present to make upgrades easier
  971. -
  972. -* Thu Feb 20 2003 Samir M. Nassar <rpm@redconcepts.net> 2.2-1.redconcepts
  973. -- Upgraded to ccache 2.2
  974. -
  975. -* Tue Feb 04 2003 Samir M. Nassar <rpm@redconcepts.net> 2.1.1-4.redconcepts
  976. -- Using %%post to create the soft symlinks
  977. -- Using %%postun to remove the soft symlinks
  978. -- Thanks to Che <che666@uni.de> for the help
  979. -- Packaged as user
  980. -
  981. -* Sun Jan 19 2003 Samir M. Nassar <rpm@redconcepts.net> 2.1.1-3.redconcepts
  982. -- make a soft symlink between ccache and gcc
  983. -- make a soft symlink between ccache and cc
  984. -
  985. -* Thu Jan 16 2003 Samir M. Nassar <rpm@redconcepts.net> 2.1.1-2.redconcepts
  986. -- Normalized spec file.
  987. -
  988. -* Wed Jan 15 2003 Samir M, Nassar <rpm@redconcepts.net> 2.1.1-1.redconcepts
  989. -- Using ccache 2.2.1 sources
  990. -- Changed release to redconcepts for consistency
  991. -
  992. -* Wed Oct 22 2002 Samir M. Nassar <rpm.redconcepts.net> 1.9-1.rcn
  993. -- Initial RedConcepts.NET (rcn) build for Red Hat Linux 8.0
  994. Index: 3rdparty/centos63/centos-6.3-x86_64.cfg
  995. ===================================================================
  996. --- 3rdparty/centos63/centos-6.3-x86_64.cfg (revision 6104)
  997. +++ 3rdparty/centos63/centos-6.3-x86_64.cfg (working copy)
  998. @@ -1,50 +0,0 @@
  999. -config_opts['root'] = 'centos-6.3-x86_64'
  1000. -config_opts['target_arch'] = 'x86_64'
  1001. -config_opts['legal_host_arches'] = ('x86_64',)
  1002. -config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
  1003. -config_opts['dist'] = 'el6'  # only useful for --resultdir variable subst
  1004. -config_opts['plugin_conf']['ccache_enable'] = False
  1005. -
  1006. -config_opts['yum.conf'] = """
  1007. -[main]
  1008. -cachedir=/var/cache/yum
  1009. -debuglevel=1
  1010. -reposdir=/dev/null
  1011. -logfile=/var/log/yum.log
  1012. -retries=20
  1013. -obsoletes=1
  1014. -gpgcheck=0
  1015. -assumeyes=1
  1016. -syslog_ident=mock
  1017. -syslog_device=
  1018. -
  1019. -# repos
  1020. -[base]
  1021. -name=BaseOS
  1022. -enabled=1
  1023. -mirrorlist=http://mirrorlist.centos.org/?release=6.3&arch=x86_64&repo=os
  1024. -failovermethod=priority
  1025. -priority=1
  1026. -
  1027. -[updates]
  1028. -name=updates
  1029. -enabled=1
  1030. -mirrorlist=http://mirrorlist.centos.org/?release=6.3&arch=x86_64&repo=updates
  1031. -failovermethod=priority
  1032. -priority=2
  1033. -
  1034. -[scidb]
  1035. -name=SciDB repo
  1036. -enabled=1
  1037. -baseurl=http://downloads.paradigm4.com/centos6.3/3rdparty
  1038. -gpgcheck=0
  1039. -failovermethod=priority
  1040. -priority=3
  1041. -
  1042. -[epel]
  1043. -name=epel
  1044. -enabled=1
  1045. -mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=x86_64
  1046. -failovermethod=priority
  1047. -priority=99
  1048. -"""
  1049. Index: 3rdparty/centos63/cmake-28.spec
  1050. ===================================================================
  1051. --- 3rdparty/centos63/cmake-28.spec (revision 6104)
  1052. +++ 3rdparty/centos63/cmake-28.spec (working copy)
  1053. @@ -1,169 +0,0 @@
  1054. -# Set to bcond_without or use --with bootstrap if bootstrapping a new release
  1055. -# or architecture
  1056. -%bcond_with bootstrap
  1057. -# Set to bcond_with or use --without gui to disable qt4 gui build
  1058. -%bcond_without gui
  1059. -# Set to RC version if building RC, else %{nil}
  1060. -#%define rcver %{nil}
  1061. -
  1062. -Name:           cmake
  1063. -Version:        2.8.10
  1064. -Release:        1
  1065. -Summary:        Cross-platform make system
  1066. -
  1067. -Group:          Development/Tools
  1068. -
  1069. -# Most sources are BSD. Source/CursesDialog/form/ a bunch is MIT.
  1070. -# Source/kwsys/MD5.c is bundled(md5-deutsch) and zlib licensed. Some
  1071. -# GPL-licensed bison-generated files, these all include an exception
  1072. -# granting redistribution under terms of your choice
  1073. -License:        BSD and MIT and zlib
  1074. -URL:            http://www.cmake.org
  1075. -Source:        http://www.cmake.org/files/v2.8/cmake-%{version}.tar.gz
  1076. -#Source2:        macros.cmake28
  1077. -# Patch to find DCMTK in Fedora (bug #720140)
  1078. -#Patch0:         cmake-dcmtk.patch
  1079. -# (modified) Upstream patch to fix setting PKG_CONFIG_FOUND (bug #812188)
  1080. -#Patch1:         cmake-pkgconfig.patch
  1081. -# This patch renames the executables with a "28" suffix
  1082. -#Patch2:         cmake28.patch
  1083. -
  1084. -# Source/kwsys/MD5.c
  1085. -# see https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
  1086. -#Provides: bundled(md5-deutsch)
  1087. -
  1088. -#BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  1089. -
  1090. -BuildRequires:  gcc-gfortran
  1091. -BuildRequires:  ncurses-devel, libX11-devel
  1092. -BuildRequires:  bzip2-devel
  1093. -BuildRequires:  curl-devel
  1094. -BuildRequires:  expat-devel
  1095. -BuildRequires:  libarchive-devel
  1096. -BuildRequires:  zlib-devel
  1097. -
  1098. -%if %{without bootstrap}
  1099. -#BuildRequires: xmlrpc-c-devel
  1100. -%endif
  1101. -#%if %{with gui}
  1102. -#BuildRequires: qt4-devel, desktop-file-utils
  1103. -#%define qt_gui --qt-gui
  1104. -#%endif
  1105. -Requires:       rpm
  1106. -
  1107. -
  1108. -%description
  1109. -CMake is used to control the software compilation process using simple
  1110. -platform and compiler independent configuration files. CMake generates
  1111. -native makefiles and workspaces that can be used in the compiler
  1112. -environment of your choice. CMake is quite sophisticated: it is possible
  1113. -to support complex environments requiring system configuration, preprocessor
  1114. -generation, code generation, and template instantiation.
  1115. -
  1116. -
  1117. -#%package        gui
  1118. -#Summary:        Qt GUI for %{name}
  1119. -#Group:          Development/Tools
  1120. -#Requires:       %{name}%{?_isa} = %{version}-%{release}
  1121. -#
  1122. -#%description    gui
  1123. -#The %{name}-gui package contains the Qt based GUI for CMake.
  1124. -
  1125. -
  1126. -%prep
  1127. -%setup -q -n cmake-%{version}
  1128. -#%patch0 -p1 -b .dcmtk
  1129. -#%patch1 -p1 -b .pkgconfig
  1130. -#%patch2 -p1 -b .cmake28
  1131. -
  1132. -
  1133. -%build
  1134. -export CFLAGS="$RPM_OPT_FLAGS"
  1135. -export CXXFLAGS="$RPM_OPT_FLAGS"
  1136. -mkdir build
  1137. -cd build
  1138. -../bootstrap --prefix=%{_prefix} --datadir=/share/%{name} \
  1139. -             --docdir=/share/doc/%{name}-%{version} --mandir=/share/man \
  1140. -             --%{?with_bootstrap:no-}system-libs \
  1141. -             --parallel=`/usr/bin/getconf _NPROCESSORS_ONLN` \
  1142. -             --no-qt-gui
  1143. -make VERBOSE=1 %{?_smp_mflags}
  1144. -
  1145. -
  1146. -%install
  1147. -rm -rf $RPM_BUILD_ROOT
  1148. -cd build
  1149. -make install DESTDIR=$RPM_BUILD_ROOT
  1150. -find $RPM_BUILD_ROOT/%{_datadir}/%{name}/Modules -type f | xargs chmod -x
  1151. -cd ..
  1152. -#cp -a Example $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
  1153. -#mkdir -p $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/cmake28
  1154. -#install -m 0644 Docs/cmake-mode.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/cmake28/cmake28-mode.el
  1155. -# RPM macros
  1156. -#install -p -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.cmake28
  1157. -#sed -i -e "s|@@CMAKE_VERSION@@|%{version}|" $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.cmake28
  1158. -#touch -r %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.cmake28
  1159. -mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}
  1160. -
  1161. -#%if %{with gui}
  1162. -## Desktop file
  1163. -#desktop-file-install --delete-original \
  1164. -#  --dir=%{buildroot}%{_datadir}/applications \
  1165. -#  %{buildroot}/%{_datadir}/applications/CMake28.desktop
  1166. -#%endif
  1167. -
  1168. -
  1169. -#%check
  1170. -#unset DISPLAY
  1171. -#pushd build
  1172. -##ModuleNotices fails for some unknown reason, and we don't care
  1173. -##CMake.HTML currently requires internet access
  1174. -##CTestTestUpload requires internet access
  1175. -## Currently broken - disable for now
  1176. -#bin/ctest28 -V -E ModuleNotices -E CMake.HTML -E CTestTestUpload %{?_smp_mflags}
  1177. -#popd
  1178. -
  1179. -
  1180. -%clean
  1181. -rm -rf $RPM_BUILD_ROOT
  1182. -
  1183. -
  1184. -#%if %{with gui}
  1185. -#%post gui
  1186. -#update-desktop-database &> /dev/null || :
  1187. -#update-mime-database %{_datadir}/mime &> /dev/null || :
  1188. -
  1189. -#%postun gui
  1190. -#update-desktop-database &> /dev/null || :
  1191. -#update-mime-database %{_datadir}/mime &> /dev/null || :
  1192. -#%endif
  1193. -
  1194. -
  1195. -%files
  1196. -%defattr(-,root,root,-)
  1197. -#%config(noreplace) %{_sysconfdir}/rpm/macros.cmake
  1198. -%{_docdir}/%{name}-%{version}/
  1199. -#%if %{with gui}
  1200. -#%exclude %{_docdir}/%{name}-%{version}/cmake28-gui.*
  1201. -#%endif
  1202. -%{_bindir}/ccmake
  1203. -%{_bindir}/cmake
  1204. -%{_bindir}/cpack
  1205. -%{_bindir}/ctest
  1206. -%{_datadir}/aclocal/cmake.m4
  1207. -%{_datadir}/%{name}/
  1208. -%{_mandir}/man1/*
  1209. -#%exclude %{_mandir}/man1/cmake-gui.1.gz
  1210. -#%{_datadir}/emacs/site-lisp/cmake
  1211. -%{_libdir}/%{name}/
  1212. -
  1213. -#%if %{with gui}
  1214. -#%files gui
  1215. -#%defattr(-,root,root,-)
  1216. -#%{_docdir}/%{name}-%{version}/cmake28-gui.*
  1217. -#%{_bindir}/cmake28-gui
  1218. -#%{_datadir}/applications/CMake28.desktop
  1219. -#%{_datadir}/mime/packages/cmake28cache.xml
  1220. -#%{_datadir}/pixmaps/CMake28Setup32.png
  1221. -#%{_mandir}/man1/cmake28-gui.1.gz
  1222. -#%endif
  1223. Index: 3rdparty/centos63/cppunit.spec
  1224. ===================================================================
  1225. --- 3rdparty/centos63/cppunit.spec  (revision 6104)
  1226. +++ 3rdparty/centos63/cppunit.spec  (working copy)
  1227. @@ -1,146 +0,0 @@
  1228. -Name: cppunit
  1229. -Version: 1.12.1
  1230. -Release: 3.1%{?dist}
  1231. -
  1232. -Summary: C++ unit testing framework
  1233. -# no license in files
  1234. -License: LGPLv2+
  1235. -Group: Development/Libraries
  1236. -Url: http://cppunit.sourceforge.net/
  1237. -Source: http://downloads.sourceforge.net/cppunit/cppunit-%{version}.tar.gz
  1238. -Patch0: cppunit-1.12.0-nolibdir.patch
  1239. -
  1240. -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  1241. -BuildRequires: doxygen, graphviz
  1242. -
  1243. -%description
  1244. -CppUnit is the C++ port of the famous JUnit framework for unit testing.
  1245. -Test output is in XML for automatic testing and GUI based for supervised
  1246. -tests.
  1247. -
  1248. -%package devel
  1249. -Summary: Libraries and headers for cppunit development
  1250. -Group: Development/Libraries
  1251. -Requires: pkgconfig, automake
  1252. -Requires: %{name} = %{version}-%{release}
  1253. -
  1254. -%description devel
  1255. -This package contains the libraries and headers necessary for developing
  1256. -programs that use cppunit.
  1257. -
  1258. -%package doc
  1259. -Summary: HTML formatted API documention for cppunit
  1260. -Group: Documentation
  1261. -
  1262. -%description doc
  1263. -The cppunit-doc package contains HTML formatted API documention generated by
  1264. -the popular doxygen documentation generation tool.
  1265. -
  1266. -%prep
  1267. -%setup -q
  1268. -%patch0 -p1 -b .nolibdir
  1269. -for file in THANKS ChangeLog NEWS; do
  1270. -   iconv -f latin1 -t utf8 < $file > ${file}.utf8
  1271. -   touch -c -r $file ${file}.utf8
  1272. -   mv ${file}.utf8 $file
  1273. -done
  1274. -
  1275. -%build
  1276. -export LDFLAGS=-ldl
  1277. -%configure --enable-doxygen --disable-static
  1278. -make %{?_smp_mflags}
  1279. -
  1280. -%install
  1281. -rm -rf $RPM_BUILD_ROOT
  1282. -make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  1283. -rm $RPM_BUILD_ROOT%{_libdir}/*.la
  1284. -# remove double of doc
  1285. -rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/cppunit
  1286. -
  1287. -# ensure that timestamp of cppunit-config is the same for all arches
  1288. -touch -c -r cppunit-config.in.nolibdir $RPM_BUILD_ROOT%{_bindir}/cppunit-config
  1289. -
  1290. -# clean up examples
  1291. -rm -rf __dist-examples __dist-examples-dir
  1292. -cp -a examples __dist-examples
  1293. -make -C __dist-examples distclean
  1294. -# Makefile.am files are left as documentation
  1295. -find __dist-examples \( -name Makefile.in -o -name .cvsignore -o -name '*.dsw' -o -name '*.dsp' \) -exec rm {} \;
  1296. -chmod a-x __dist-examples/qt/run.bat
  1297. -mkdir __dist-examples-dir
  1298. -mv __dist-examples __dist-examples-dir/examples
  1299. -
  1300. -%clean
  1301. -rm -rf $RPM_BUILD_ROOT
  1302. -
  1303. -%post -p /sbin/ldconfig
  1304. -
  1305. -%postun -p /sbin/ldconfig
  1306. -
  1307. -%files
  1308. -%defattr(-,root,root,-)
  1309. -%doc AUTHORS COPYING NEWS README THANKS ChangeLog TODO BUGS doc/FAQ
  1310. -%{_bindir}/DllPlugInTester
  1311. -%{_libdir}/libcppunit*.so.*
  1312. -
  1313. -%files devel
  1314. -%defattr(-,root,root,-)
  1315. -%{_bindir}/cppunit-config
  1316. -%{_includedir}/cppunit
  1317. -%{_libdir}/libcppunit.so
  1318. -%{_datadir}/aclocal/cppunit.m4
  1319. -%{_mandir}/man1/cppunit-config.1*
  1320. -%{_libdir}/pkgconfig/cppunit.pc
  1321. -
  1322. -%files doc
  1323. -%defattr(-,root,root,-)
  1324. -%doc __dist-examples-dir/examples/
  1325. -%doc doc/html
  1326. -
  1327. -%changelog
  1328. -* Mon Nov 30 2009 Dennis Gregorovic <dgregor@redhat.com> - 1.12.1-3.1
  1329. -- Rebuilt for RHEL 6
  1330. -
  1331. -* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-3
  1332. -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  1333. -
  1334. -* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-2
  1335. -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  1336. -
  1337. -* Thu Sep 18 2008 Patrice Dumas <pertusus@free.fr> 1.12.1-1
  1338. -- Update to 1.12.1
  1339. -
  1340. -* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.12.0-5
  1341. -- Autorebuild for GCC 4.3
  1342. -
  1343. -* Mon Dec 17 2007 Patrice Dumas <pertusus@free.fr> 1.12.0-4
  1344. -- remove libdir reference to cppunit-config, should fix multiarch conflict
  1345. -  (#340951)
  1346. -- fix encoding and remove windows related files in examples
  1347. -- keep timestamps
  1348. -
  1349. -* Mon Jan 29 2007 Patrice Dumas <pertusus@free.fr> 1.12.0-3
  1350. -- add rightly files to -devel (#224106)
  1351. -- add necessary requires for -devel (#224106)
  1352. -- ship examples
  1353. -
  1354. -* Sun Sep 10 2006 Patrice Dumas <pertusus@free.fr> 1.12.0-2
  1355. -- rebuild for FC6
  1356. -
  1357. -* Wed Jul  5 2006 Patrice Dumas <pertusus@free.fr> 1.12.0-1
  1358. -- update to 1.12
  1359. -
  1360. -* Sun May 21 2006 Patrice Dumas <pertusus@free.fr> 1.11.6-1
  1361. -- update to 1.11.6
  1362. -
  1363. -* Wed Dec 21 2005 Patrice Dumas <pertusus@free.fr> 1.11.4-1
  1364. -- update
  1365. -
  1366. -* Mon Aug 15 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.11.0-2
  1367. -- various cleanups
  1368. -
  1369. -* Mon Jul  4 2005 Patrice Dumas <pertusus@free.fr> 1.11.0-1
  1370. -- update using the fedora template
  1371. -
  1372. -* Sat Apr 14 2001 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
  1373. -- Initial release
  1374. Index: 3rdparty/centos63/libpqxx-31.spec
  1375. ===================================================================
  1376. --- 3rdparty/centos63/libpqxx-31.spec   (revision 6104)
  1377. +++ 3rdparty/centos63/libpqxx-31.spec   (working copy)
  1378. @@ -1,66 +0,0 @@
  1379. -Name:           libpqxx
  1380. -Version:        3.1
  1381. -Release:        1
  1382. -Summary:        C++ client API for PostgreSQL
  1383. -
  1384. -Group:          System Environment/Libraries
  1385. -License:        BSD
  1386. -URL:            http://pqxx.org/
  1387. -Source:         http://pqxx.org/download/software/libpqxx/libpqxx-3.1.tar.gz
  1388. -
  1389. -BuildRequires:  postgresql-devel
  1390. -BuildRequires:  pkgconfig
  1391. -
  1392. -%description
  1393. -C++ client API for PostgreSQL. The standard front-end (in the sense of
  1394. -"language binding") for writing C++ programs that use PostgreSQL.
  1395. -Supersedes older libpq++ interface.
  1396. -
  1397. -%package devel
  1398. -Summary:        Development tools for libpqxx
  1399. -Group:          Development/Libraries
  1400. -Requires:       %{name} = %{version}-%{release}
  1401. -Requires:       pkgconfig
  1402. -Requires:       postgresql-devel
  1403. -
  1404. -%description devel
  1405. -The libpgxx-devel package contains the header files and static
  1406. -libraries necessary for developing programs which use libpqxx.
  1407. -
  1408. -%prep
  1409. -%setup -q
  1410. -
  1411. -%build
  1412. -%configure --enable-shared --disable-static
  1413. -# I hate rpath... ;)
  1414. -%{__perl} -pi -e 's/hardcode_into_libs=yes/hardcode_into_libs=no/;' \
  1415. -libtool
  1416. -make %{?_smp_mflags} -j%{?jobs:1}
  1417. -
  1418. -
  1419. -%install
  1420. -rm -rf $RPM_BUILD_ROOT
  1421. -make install DESTDIR=$RPM_BUILD_ROOT %{?_smp_mflags}
  1422. -
  1423. -rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  1424. -%{__perl} -pi -e 's,-R/usr/lib,,' $RPM_BUILD_ROOT%{_bindir}/pqxx-config
  1425. -
  1426. -%clean
  1427. -rm -rf $RPM_BUILD_ROOT
  1428. -
  1429. -%post -p /sbin/ldconfig
  1430. -
  1431. -%postun -p /sbin/ldconfig
  1432. -
  1433. -%files
  1434. -%defattr(-,root,root,-)
  1435. -%doc AUTHORS ChangeLog COPYING NEWS README VERSION
  1436. -%{_libdir}/libpqxx-*.so
  1437. -
  1438. -%files devel
  1439. -%defattr(-,root,root,-)
  1440. -%doc README-UPGRADE
  1441. -%{_bindir}/pqxx-config
  1442. -%{_libdir}/libpqxx.so
  1443. -%{_includedir}/pqxx
  1444. -%{_libdir}/pkgconfig/libpqxx.pc
  1445. Index: 3rdparty/centos63/log4cxx-0100.spec
  1446. ===================================================================
  1447. --- 3rdparty/centos63/log4cxx-0100.spec (revision 6104)
  1448. +++ 3rdparty/centos63/log4cxx-0100.spec (working copy)
  1449. @@ -1,67 +0,0 @@
  1450. -Name: log4cxx
  1451. -Version: 0.10.0
  1452. -Release: 1
  1453. -Summary: A port to C++ of the Log4j project
  1454. -
  1455. -Group: System Environment/Libraries
  1456. -License: ASL 2.0
  1457. -URL: http://logging.apache.org/log4cxx/index.html
  1458. -Source0: http://www.apache.org/dist/logging/log4cxx/%{version}/apache-%{name}-%{version}.tar.gz
  1459. -Patch0: log4cxx-cstring.patch
  1460. -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  1461. -
  1462. -BuildRequires: apr-devel,apr-util-devel,doxygen
  1463. -
  1464. -%description
  1465. -Log4cxx is a popular logging package written in C++. One of its distinctive
  1466. -features is the notion of inheritance in loggers. Using a logger hierarchy it
  1467. -is possible to control which log statements are output at arbitrary
  1468. -granularity. This helps reduce the volume of logged output and minimize the
  1469. -cost of logging.
  1470. -
  1471. -%prep
  1472. -%setup -q -n apache-%{name}-%{version}
  1473. -%patch0 -p1
  1474. -
  1475. -%build
  1476. -sed -i.libdir_syssearch -e \
  1477. - '/sys_lib_dlsearch_path_spec/s|/usr/lib |/usr/lib /usr/lib64 /lib /lib64 |' \
  1478. - configure
  1479. -%configure
  1480. -make -k %{?_smp_mflags}
  1481. -
  1482. -%install
  1483. -rm -rf $RPM_BUILD_ROOT
  1484. -make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  1485. -mv $RPM_BUILD_ROOT%{_datadir}/%{name}/html .
  1486. -
  1487. -%clean
  1488. -rm -rf $RPM_BUILD_ROOT
  1489. -
  1490. -%post -p /sbin/ldconfig
  1491. -%postun -p /sbin/ldconfig
  1492. -
  1493. -%files
  1494. -%defattr(-,root,root,-)
  1495. -%{_libdir}/liblog4cxx.so.10.0.0
  1496. -%{_libdir}/liblog4cxx.so.10
  1497. -
  1498. -%doc NOTICE LICENSE KEYS
  1499. -
  1500. -%package devel
  1501. -Requires: %{name} = %{version}-%{release},pkgconfig,apr-devel
  1502. -Group: Development/Libraries
  1503. -Summary: Header files for Log4xcc - a port to C++ of the Log4j project
  1504. -
  1505. -%description devel
  1506. -Header files and documentation you can use to develop with log4cxx
  1507. -
  1508. -%files devel
  1509. -%defattr(-,root,root,-)
  1510. -%exclude %{_libdir}/*.la
  1511. -%exclude %{_libdir}/*.a
  1512. -%{_includedir}/log4cxx
  1513. -%{_libdir}/liblog4cxx.so
  1514. -%{_libdir}/pkgconfig/liblog4cxx.pc
  1515. -%doc html/
  1516. -
  1517. Index: 3rdparty/centos63/mock-1124.spec
  1518. ===================================================================
  1519. --- 3rdparty/centos63/mock-1124.spec    (revision 6104)
  1520. +++ 3rdparty/centos63/mock-1124.spec    (working copy)
  1521. @@ -1,110 +0,0 @@
  1522. -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  1523. -
  1524. -Summary: Builds packages inside chroots
  1525. -Name: mock
  1526. -Version: 1.1.24
  1527. -Release: 1
  1528. -License: GPLv2+
  1529. -Group: Development/Tools
  1530. -Source: https://fedorahosted.org/mock/raw-attachment/wiki/MockTarballs/%{name}-%{version}.tar.xz
  1531. -Source1: centos-6.3-x86_64.cfg
  1532. -URL: http://fedoraproject.org/wiki/Projects/Mock
  1533. -BuildArch: noarch
  1534. -Requires: python >= 2.6, yum >= 2.4, yum-utils >= 1.1.9, tar, pigz, python-ctypes, python-decoratortools, usermode
  1535. -Requires(pre): shadow-utils
  1536. -Requires(post): coreutils
  1537. -BuildRequires: python-devel
  1538. -
  1539. -%description
  1540. -Mock takes an SRPM and builds it in a chroot
  1541. -
  1542. -%prep
  1543. -%setup -q
  1544. -%setup1
  1545. -
  1546. -%build
  1547. -%configure
  1548. -make
  1549. -
  1550. -%install
  1551. -rm -rf $RPM_BUILD_ROOT
  1552. -make %{?_smp_mflags} DESTDIR=$RPM_BUILD_ROOT install
  1553. -mkdir -p $RPM_BUILD_ROOT/var/lib/mock
  1554. -mkdir -p $RPM_BUILD_ROOT/var/cache/mock
  1555. -ln -s consolehelper $RPM_BUILD_ROOT/usr/bin/mock
  1556. -
  1557. -# compatibility symlinks
  1558. -# (probably be nuked in the future)
  1559. -pushd $RPM_BUILD_ROOT/etc/mock
  1560. -ln -s epel-5-i386.cfg   fedora-5-i386-epel.cfg
  1561. -ln -s epel-5-ppc.cfg    fedora-5-ppc-epel.cfg
  1562. -ln -s epel-5-x86_64.cfg fedora-5-x86_64-epel.cfg
  1563. -# more compat, from devel/rawhide rename
  1564. -ln -s fedora-rawhide-i386.cfg fedora-devel-i386.cfg
  1565. -ln -s fedora-rawhide-x86_64.cfg fedora-devel-x86_64.cfg
  1566. -ln -s fedora-rawhide-ppc.cfg fedora-devel-ppc.cfg
  1567. -ln -s fedora-rawhide-ppc64.cfg fedora-devel-ppc64.cfg
  1568. -install -m 0644 %{SOURCE1} .
  1569. -popd
  1570. -echo "%defattr(0644, root, mock)" > %{name}.cfgs
  1571. -find $RPM_BUILD_ROOT%{_sysconfdir}/mock -name "*.cfg" \
  1572. -    | sed -e "s|^$RPM_BUILD_ROOT|%%config(noreplace) |" >> %{name}.cfgs
  1573. -
  1574. -# just for %%ghosting purposes
  1575. -ln -s fedora-rawhide-x86_64.cfg $RPM_BUILD_ROOT%{_sysconfdir}/mock/default.cfg
  1576. -
  1577. -%clean
  1578. -rm -rf $RPM_BUILD_ROOT
  1579. -
  1580. -%pre
  1581. -if [ $1 -eq 1 ]; then
  1582. -    groupadd -r mock >/dev/null 2>&1 || :
  1583. -fi
  1584. -
  1585. -%post
  1586. -# TODO: use dist and version of install system, not build one
  1587. -if [ ! -e %{_sysconfdir}/%{name}/default.cfg ] ; then
  1588. -    # in case of dangling symlink
  1589. -    rm -f %{_sysconfdir}/%{name}/default.cfg
  1590. -    arch=$(uname -i)
  1591. -    for ver in %{?fedora}%{?rhel} rawhide ; do
  1592. -        cfg=%{?fedora:fedora}%{?rhel:epel}-$ver-$arch.cfg
  1593. -        if [ -e %{_sysconfdir}/%{name}/$cfg ] ; then
  1594. -            ln -s -f $cfg %{_sysconfdir}/%{name}/default.cfg
  1595. -            exit 0
  1596. -        fi
  1597. -    done
  1598. -fi
  1599. -# fix cache permissions from old installs
  1600. -chmod 2775 /var/cache/mock
  1601. -:
  1602. -
  1603. -%files -f %{name}.cfgs
  1604. -%defattr(-, root, root)
  1605. -
  1606. -# executables
  1607. -%{_bindir}/mock
  1608. -%{_bindir}/mockchain
  1609. -%attr(0755, root, root) %{_sbindir}/mock
  1610. -
  1611. -# python stuff
  1612. -%{python_sitelib}/*
  1613. -
  1614. -# config files
  1615. -%dir  %{_sysconfdir}/%{name}
  1616. -%ghost %config(noreplace,missingok) %{_sysconfdir}/%{name}/default.cfg
  1617. -%config(noreplace) %{_sysconfdir}/%{name}/*.ini
  1618. -%config(noreplace) %{_sysconfdir}/pam.d/%{name}
  1619. -%config(noreplace) %{_sysconfdir}/security/console.apps/%{name}
  1620. -%{_sysconfdir}/bash_completion.d
  1621. -
  1622. -# docs
  1623. -%{_mandir}/man1/mock.1*
  1624. -%{_mandir}/man1/mockchain.1*
  1625. -%doc ChangeLog
  1626. -
  1627. -# cache & build dirs
  1628. -%defattr(0775, root, mock, 02775)
  1629. -%dir /var/cache/mock
  1630. -%dir /var/lib/mock
  1631. -
  1632. \ No newline at end of file
  1633. Index: 3rdparty/centos63/patches/boost-map_iterator.patch
  1634. ===================================================================
  1635. --- 3rdparty/centos63/patches/boost-map_iterator.patch  (revision 6104)
  1636. +++ 3rdparty/centos63/patches/boost-map_iterator.patch  (working copy)
  1637. @@ -1,12 +0,0 @@
  1638. -diff -ur a/boost/ptr_container/detail/map_iterator.hpp b/boost/ptr_container/detail/map_iterator.hpp
  1639. ---- a/boost/ptr_container/detail/map_iterator.hpp
  1640. -+++ b/boost/ptr_container/detail/map_iterator.hpp
  1641. -@@ -49,7 +49,7 @@
  1642. -             : first(rp->first), second(rp->second)
  1643. -             { }
  1644. -            
  1645. --            const ref_pair* const operator->() const
  1646. -+            const ref_pair* operator->() const
  1647. -             {
  1648. -                 return this;
  1649. -             }
  1650. Index: 3rdparty/centos63/patches/boost-serializationExportWarningPatch.patch
  1651. ===================================================================
  1652. --- 3rdparty/centos63/patches/boost-serializationExportWarningPatch.patch   (revision 6104)
  1653. +++ 3rdparty/centos63/patches/boost-serializationExportWarningPatch.patch   (working copy)
  1654. @@ -1,12 +0,0 @@
  1655. -diff -ur a/boost/serialization/export.hpp b/boost/serialization/export.hpp
  1656. ---- a/boost/serialization/export.hpp
  1657. -+++ b/boost/serialization/export.hpp
  1658. -@@ -131,7 +131,7 @@
  1659. -         // through pointers to their base classes.
  1660. -         instantiate_ptr_serialization((T*)0, 0, adl_tag());
  1661. -     }
  1662. --    const void export_guid(mpl::true_) const {
  1663. -+    void export_guid(mpl::true_) const {
  1664. -     }
  1665. -     guid_initializer const & export_guid() const {
  1666. -         BOOST_STATIC_WARNING(boost::is_polymorphic< T >::value);
  1667. Index: 3rdparty/centos63/patches/ccache.csh.in
  1668. ===================================================================
  1669. --- 3rdparty/centos63/patches/ccache.csh.in (revision 6104)
  1670. +++ 3rdparty/centos63/patches/ccache.csh.in (working copy)
  1671. @@ -1,28 +0,0 @@
  1672. -# Use ccache by default.  Users who don't want that can setenv the
  1673. -# CCACHE_DISABLE environment variable in their personal profile.
  1674. -
  1675. -if ( "$path" !~ *@LIBDIR@/ccache* ) then
  1676. -    set path = ( @LIBDIR@/ccache $path )
  1677. -endif
  1678. -
  1679. -# If @CACHEDIR@ is writable, use a shared cache there, except for root.
  1680. -# Users who don't want that even if they have the write permission can setenv
  1681. -# the CCACHE_DIR environment variable to another location and possibly unsetenv
  1682. -# the CCACHE_UMASK environment variable in their personal profile.
  1683. -
  1684. -if ( $?CCACHE_DIR ) then
  1685. -    if ( ! -w "$CCACHE_DIR" ) then
  1686. -        # Reset broken settings maybe inherited when switching users (#651023).
  1687. -        unsetenv CCACHE_DIR
  1688. -        unsetenv CCACHE_UMASK
  1689. -    endif
  1690. -else if ( $uid != 0 ) then
  1691. -    if ( -w @CACHEDIR@ && -d @CACHEDIR@ ) then
  1692. -        # Set up the shared cache.
  1693. -        setenv CCACHE_DIR @CACHEDIR@
  1694. -        setenv CCACHE_UMASK 002
  1695. -        unsetenv CCACHE_HARDLINK
  1696. -    endif
  1697. -endif
  1698. -
  1699. -setenv CCACHE_HASHDIR
  1700. Index: 3rdparty/centos63/patches/ccache.sh.in
  1701. ===================================================================
  1702. --- 3rdparty/centos63/patches/ccache.sh.in  (revision 6104)
  1703. +++ 3rdparty/centos63/patches/ccache.sh.in  (working copy)
  1704. @@ -1,29 +0,0 @@
  1705. -# Use ccache by default.  Users who don't want that can set the CCACHE_DISABLE
  1706. -# environment variable in their personal profile.
  1707. -
  1708. -case ":${PATH:-}:" in
  1709. -    *:@LIBDIR@/ccache:*) ;;
  1710. -    *) PATH="@LIBDIR@/ccache${PATH:+:$PATH}" ;;
  1711. -esac
  1712. -
  1713. -# If @CACHEDIR@ is writable, use a shared cache there, except for root.
  1714. -# Users who don't want that even if they have the write permission can set
  1715. -# the CCACHE_DIR environment variable to another location and possibly unset
  1716. -# the CCACHE_UMASK environment variables in their personal profile.
  1717. -
  1718. -if [ -n "${CCACHE_DIR:-}" ] ; then
  1719. -    if [ ! -w "$CCACHE_DIR" ] ; then
  1720. -        # Reset broken settings maybe inherited when switching users (#651023).
  1721. -        unset CCACHE_DIR
  1722. -        unset CCACHE_UMASK
  1723. -    fi
  1724. -elif [ "${EUID:-}" != 0 ] ; then
  1725. -    if [ -w @CACHEDIR@ ] && [ -d @CACHEDIR@ ] ; then
  1726. -        # Set up the shared cache.
  1727. -        export CCACHE_DIR=@CACHEDIR@
  1728. -        export CCACHE_UMASK=002
  1729. -        unset CCACHE_HARDLINK
  1730. -    fi
  1731. -fi
  1732. -
  1733. -export CCACHE_HASHDIR=
  1734. Index: 3rdparty/centos63/patches/cppunit-1.12.0-nolibdir.patch
  1735. ===================================================================
  1736. --- 3rdparty/centos63/patches/cppunit-1.12.0-nolibdir.patch (revision 6104)
  1737. +++ 3rdparty/centos63/patches/cppunit-1.12.0-nolibdir.patch (working copy)
  1738. @@ -1,13 +0,0 @@
  1739. -diff -up cppunit-1.12.0/cppunit-config.in.nolibdir cppunit-1.12.0/cppunit-config.in
  1740. ---- cppunit-1.12.0/cppunit-config.in.nolibdir  2007-10-21 11:19:40.000000000 +0200
  1741. -+++ cppunit-1.12.0/cppunit-config.in   2007-10-21 11:20:01.000000000 +0200
  1742. -@@ -87,9 +87,6 @@ if test "$echo_cflags" = "yes"; then
  1743. - fi
  1744. -
  1745. - if test "$echo_libs" = "yes"; then
  1746. --      if test @libdir@ != /usr/lib ; then
  1747. --            my_linker_flags="-L@libdir@"
  1748. --      fi
  1749. -       echo ${my_linker_flags} -lcppunit @LIBADD_DL@
  1750. - fi      
  1751. -
  1752. Index: 3rdparty/centos63/patches/log4cxx-cstring.patch
  1753. ===================================================================
  1754. --- 3rdparty/centos63/patches/log4cxx-cstring.patch (revision 6104)
  1755. +++ 3rdparty/centos63/patches/log4cxx-cstring.patch (working copy)
  1756. @@ -1,35 +0,0 @@
  1757. -diff -ur apache-log4cxx-0.10.0.orig/src/examples/cpp/console.cpp apache-log4cxx-0.10.0.new/src/examples/cpp/console.cpp
  1758. ---- apache-log4cxx-0.10.0.orig/src/examples/cpp/console.cpp    2008-03-31 18:34:52.000000000 -0400
  1759. -+++ apache-log4cxx-0.10.0.new/src/examples/cpp/console.cpp 2008-11-16 17:01:37.000000000 -0500
  1760. -@@ -22,6 +22,9 @@
  1761. - #include <log4cxx/logmanager.h>
  1762. - #include <iostream>
  1763. - #include <locale.h>
  1764. -+#include <cstring>
  1765. -+#include <cstdio>
  1766. -+#include <stdint.h>
  1767. -
  1768. - using namespace log4cxx;
  1769. - using namespace log4cxx::helpers;
  1770. -diff -ur apache-log4cxx-0.10.0.orig/src/main/cpp/inputstreamreader.cpp apache-log4cxx-0.10.0.new/src/main/cpp/inputstreamreader.cpp
  1771. ---- apache-log4cxx-0.10.0.orig/src/main/cpp/inputstreamreader.cpp  2008-03-31 18:34:09.000000000 -0400
  1772. -+++ apache-log4cxx-0.10.0.new/src/main/cpp/inputstreamreader.cpp   2008-11-16 16:56:42.000000000 -0500
  1773. -@@ -20,6 +20,7 @@
  1774. - #include <log4cxx/helpers/exception.h>
  1775. - #include <log4cxx/helpers/pool.h>
  1776. - #include <log4cxx/helpers/bytebuffer.h>
  1777. -+#include <cstring>
  1778. -
  1779. - using namespace log4cxx;
  1780. - using namespace log4cxx::helpers;
  1781. -diff -ur apache-log4cxx-0.10.0.orig/src/main/cpp/socketoutputstream.cpp apache-log4cxx-0.10.0.new/src/main/cpp/socketoutputstream.cpp
  1782. ---- apache-log4cxx-0.10.0.orig/src/main/cpp/socketoutputstream.cpp 2008-03-31 18:34:09.000000000 -0400
  1783. -+++ apache-log4cxx-0.10.0.new/src/main/cpp/socketoutputstream.cpp  2008-11-16 16:59:54.000000000 -0500
  1784. -@@ -19,6 +19,7 @@
  1785. - #include <log4cxx/helpers/socketoutputstream.h>
  1786. - #include <log4cxx/helpers/socket.h>
  1787. - #include <log4cxx/helpers/bytebuffer.h>
  1788. -+#include <cstring>
  1789. -
  1790. - using namespace log4cxx;
  1791. - using namespace log4cxx::helpers;
  1792. Index: 3rdparty/centos63/pigz-225.spec
  1793. ===================================================================
  1794. --- 3rdparty/centos63/pigz-225.spec (revision 6104)
  1795. +++ 3rdparty/centos63/pigz-225.spec (working copy)
  1796. @@ -1,38 +0,0 @@
  1797. -Name:           pigz
  1798. -Version:        2.2.5
  1799. -Release:        1
  1800. -Summary:        Parallel implementation of gzip
  1801. -Group:          Applications/File
  1802. -License:        zlib
  1803. -URL:            http://www.zlib.net/pigz/
  1804. -Source:         http://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
  1805. -
  1806. -BuildRequires:  zlib-devel
  1807. -BuildRequires:  ncompress
  1808. -
  1809. -%description
  1810. -pigz, which stands for parallel implementation of gzip,
  1811. -is a fully functional replacement for gzip that exploits
  1812. -multiple processors and multiple cores to the hilt when compressing data.
  1813. -
  1814. -%prep
  1815. -%setup -q
  1816. -
  1817. -%build
  1818. -make %{?_smp_mflags} CFLAGS='%{optflags}'
  1819. -
  1820. -%install
  1821. -rm -rf $RPM_BUILD_ROOT
  1822. -install -p -D pigz $RPM_BUILD_ROOT%{_bindir}/pigz
  1823. -pushd $RPM_BUILD_ROOT%{_bindir}; ln pigz unpigz; popd
  1824. -install -p -D pigz.1 -m 0644 $RPM_BUILD_ROOT%{_datadir}/man/man1/pigz.1
  1825. -
  1826. -%clean
  1827. -rm -rf $RPM_BUILD_ROOT
  1828. -
  1829. -%files
  1830. -%defattr(-,root,root,-)
  1831. -%doc pigz.pdf README
  1832. -%{_bindir}/pigz
  1833. -%{_bindir}/unpigz
  1834. -%{_datadir}/man/man1/pigz.*
  1835. Index: 3rdparty/centos63/protobuf-241.spec
  1836. ===================================================================
  1837. --- 3rdparty/centos63/protobuf-241.spec (revision 6104)
  1838. +++ 3rdparty/centos63/protobuf-241.spec (working copy)
  1839. @@ -1,187 +0,0 @@
  1840. -Summary:        Protocol Buffers - Google's data interchange format
  1841. -Name:           protobuf
  1842. -Version:        2.4.1
  1843. -Release:        2
  1844. -License:        BSD
  1845. -Group:          Development/Libraries
  1846. -Source:         http://protobuf.googlecode.com/files/%{name}-%{version}.tar.bz2
  1847. -URL:            http://code.google.com/p/protobuf/
  1848. -BuildRequires:  libtool pkgconfig
  1849. -
  1850. -%description
  1851. -Protocol Buffers are a way of encoding structured data in an efficient
  1852. -yet extensible format. Google uses Protocol Buffers for almost all of
  1853. -its internal RPC protocols and file formats.
  1854. -
  1855. -Protocol buffers are a flexible, efficient, automated mechanism for
  1856. -serializing structured data – think XML, but smaller, faster, and
  1857. -simpler. You define how you want your data to be structured once, then
  1858. -you can use special generated source code to easily write and read
  1859. -your structured data to and from a variety of data streams and using a
  1860. -variety of languages. You can even update your data structure without
  1861. -breaking deployed programs that are compiled against the "old" format.
  1862. -
  1863. -%package compiler
  1864. -Summary: Protocol Buffers compiler
  1865. -Group: Development/Libraries
  1866. -Requires: %{name} = %{version}-%{release}
  1867. -
  1868. -%description compiler
  1869. -This package contains Protocol Buffers compiler for all programming
  1870. -languages
  1871. -
  1872. -%package devel
  1873. -Summary: Protocol Buffers C++ headers and libraries
  1874. -Group: Development/Libraries
  1875. -Requires: %{name} = %{version}-%{release}
  1876. -Requires: %{name}-compiler = %{version}-%{release}
  1877. -Requires: pkgconfig
  1878. -
  1879. -%description devel
  1880. -This package contains Protocol Buffers compiler for all languages and
  1881. -C++ headers and libraries
  1882. -
  1883. -%package static
  1884. -Summary: Static development files for %{name}
  1885. -Group: Development/Libraries
  1886. -Requires: %{name} = %{version}-%{release}
  1887. -
  1888. -%description static
  1889. -Static libraries for Protocol Buffers
  1890. -
  1891. -%package lite
  1892. -Summary: Protocol Buffers LITE_RUNTIME libraries
  1893. -Group: Development/Libraries
  1894. -
  1895. -%description lite
  1896. -Protocol Buffers built with optimize_for = LITE_RUNTIME.
  1897. -
  1898. -The "optimize_for = LITE_RUNTIME" option causes the compiler to generate code
  1899. -which only depends libprotobuf-lite, which is much smaller than libprotobuf but
  1900. -lacks descriptors, reflection, and some other features.
  1901. -
  1902. -%package lite-devel
  1903. -Summary: Protocol Buffers LITE_RUNTIME development libraries
  1904. -Group: Development/Libraries
  1905. -Requires: %{name}-devel = %{version}-%{release}
  1906. -Requires: %{name}-lite = %{version}-%{release}
  1907. -
  1908. -%description lite-devel
  1909. -This package contains development libraries built with
  1910. -optimize_for = LITE_RUNTIME.
  1911. -
  1912. -The "optimize_for = LITE_RUNTIME" option causes the compiler to generate code
  1913. -which only depends libprotobuf-lite, which is much smaller than libprotobuf but
  1914. -lacks descriptors, reflection, and some other features.
  1915. -
  1916. -%package lite-static
  1917. -Summary: Static development files for %{name}-lite
  1918. -Group: Development/Libraries
  1919. -Requires: %{name}-devel = %{version}-%{release}
  1920. -
  1921. -%description lite-static
  1922. -This package contains static development libraries built with
  1923. -optimize_for = LITE_RUNTIME.
  1924. -
  1925. -The "optimize_for = LITE_RUNTIME" option causes the compiler to generate code
  1926. -which only depends libprotobuf-lite, which is much smaller than libprotobuf but
  1927. -lacks descriptors, reflection, and some other features.
  1928. -
  1929. -%package java
  1930. -Summary: Java Protocol Buffers runtime library
  1931. -Group:   Development/Languages
  1932. -BuildRequires:    java-devel >= 1.6
  1933. -BuildRequires:    jpackage-utils
  1934. -BuildRequires:    apache-maven
  1935. -#BuildRequires:    maven-compiler-plugin
  1936. -#BuildRequires:    maven-install-plugin
  1937. -#BuildRequires:    maven-jar-plugin
  1938. -#BuildRequires:    maven-javadoc-plugin
  1939. -#uildRequires:    maven-resources-plugin
  1940. -#BuildRequires:    maven-surefire-plugin
  1941. -#BuildRequires:    maven-antrun-plugin
  1942. -#BuildRequires:    maven-doxia
  1943. -#BuildRequires:    maven-doxia-sitetools
  1944. -Requires:         java
  1945. -Requires:         jpackage-utils
  1946. -Conflicts:        %{name}-compiler > %{version}
  1947. -Conflicts:        %{name}-compiler < %{version}
  1948. -BuildArch:        noarch
  1949. -
  1950. -%description java
  1951. -This package contains Java Protocol Buffers runtime library.
  1952. -
  1953. -%prep
  1954. -%setup -q
  1955. -
  1956. -%build
  1957. -%configure
  1958. -make %{?_smp_mflags}
  1959. -
  1960. -pushd java
  1961. -mvn package
  1962. -popd
  1963. -
  1964. -%install
  1965. -rm -rf %{buildroot}
  1966. -make %{?_smp_mflags} install DESTDIR=%{buildroot} STRIPBINARIES=no INSTALL="%{__install} -p" CPPROG="cp -p"
  1967. -find %{buildroot} -type f -name "*.la" -exec rm -f {} \;
  1968. -
  1969. -pushd java
  1970. -install -d -m 755 %{buildroot}%{_javadir}
  1971. -install -pm 644 target/%{name}-java-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
  1972. -popd
  1973. -
  1974. -%post -p /sbin/ldconfig
  1975. -%postun -p /sbin/ldconfig
  1976. -
  1977. -%post lite -p /sbin/ldconfig
  1978. -%postun lite -p /sbin/ldconfig
  1979. -
  1980. -%post compiler -p /sbin/ldconfig
  1981. -%postun compiler -p /sbin/ldconfig
  1982. -
  1983. -%clean
  1984. -rm -rf %{buildroot}
  1985. -
  1986. -%files
  1987. -%defattr(-, root, root, -)
  1988. -%{_libdir}/libprotobuf.so.*
  1989. -%doc CHANGES.txt CONTRIBUTORS.txt COPYING.txt README.txt
  1990. -
  1991. -%files compiler
  1992. -%defattr(-, root, root, -)
  1993. -%{_bindir}/protoc
  1994. -%{_libdir}/libprotoc.so.*
  1995. -%doc COPYING.txt README.txt
  1996. -
  1997. -%files devel
  1998. -%defattr(-, root, root, -)
  1999. -%dir %{_includedir}/google
  2000. -%{_includedir}/google/protobuf/
  2001. -%{_libdir}/libprotobuf.so
  2002. -%{_libdir}/libprotoc.so
  2003. -%{_libdir}/pkgconfig/protobuf.pc
  2004. -%doc examples/add_person.cc examples/addressbook.proto examples/list_people.cc examples/Makefile examples/README.txt
  2005. -
  2006. -%files static
  2007. -%defattr(-, root, root, -)
  2008. -%{_libdir}/libprotobuf.a
  2009. -%{_libdir}/libprotoc.a
  2010. -
  2011. -%files lite
  2012. -%defattr(-, root, root, -)
  2013. -%{_libdir}/libprotobuf-lite.so.*
  2014. -
  2015. -%files lite-devel
  2016. -%defattr(-, root, root, -)
  2017. -%{_libdir}/libprotobuf-lite.so
  2018. -%{_libdir}/pkgconfig/protobuf-lite.pc
  2019. -
  2020. -%files lite-static
  2021. -%defattr(-, root, root, -)
  2022. -%{_libdir}/libprotobuf-lite.a
  2023. -
  2024. -%files java
  2025. -%defattr(-, root, root, -)
  2026. -%{_javadir}/%{name}.jar
  2027. Index: 3rdparty/centos63/python-argparse-121.spec
  2028. ===================================================================
  2029. --- 3rdparty/centos63/python-argparse-121.spec  (revision 6104)
  2030. +++ 3rdparty/centos63/python-argparse-121.spec  (working copy)
  2031. @@ -1,42 +0,0 @@
  2032. -Summary: Python command-line parsing library
  2033. -Name: python-argparse
  2034. -Version: 1.2.1
  2035. -Release: 1
  2036. -URL: http://pypi.python.org/pypi/argparse
  2037. -Source: http://argparse.googlecode.com/files/argparse-%{version}.tar.gz
  2038. -License: Python
  2039. -Group: Development/Tools
  2040. -BuildArch: noarch
  2041. -Requires: python
  2042. -
  2043. -BuildRequires: python
  2044. -BuildRequires: python-setuptools
  2045. -
  2046. -%description
  2047. -The argparse module makes it easy to write user friendly command line interfaces.
  2048. -The program defines what arguments it requires, and argparse will figure out how
  2049. -to parse those out of sys.argv. The argparse module also automatically generates
  2050. -help and usage messages and issues errors when users give the program invalid arguments.
  2051. -As of Python >= 2.7 and >= 3.2, the argparse module is maintained within the Python
  2052. -standard library. For users who still need to support Python < 2.7 or < 3.2, it is
  2053. -also provided as a separate package, which tries to stay compatible with the module
  2054. -in the standard library, but also supports older Python versions.
  2055. -
  2056. -%prep
  2057. -%setup -q -n argparse-%{version}
  2058. -
  2059. -%build
  2060. -%{__python} setup.py build
  2061. -
  2062. -%install
  2063. -rm -rf ${RPM_BUILD_ROOT}
  2064. -%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
  2065. -
  2066. -%clean
  2067. -rm -rf ${RPM_BUILD_ROOT}
  2068. -
  2069. -%files
  2070. -%defattr(-,root,root)
  2071. -%doc LICENSE.txt PKG-INFO NEWS.txt README.txt
  2072. -%doc doc/*
  2073. -%{python_sitelib}/*
  2074. Index: 3rdparty/centos63/swig-208.spec
  2075. ===================================================================
  2076. --- 3rdparty/centos63/swig-208.spec (revision 6104)
  2077. +++ 3rdparty/centos63/swig-208.spec (working copy)
  2078. @@ -1,46 +0,0 @@
  2079. -Summary: Simplified Wrapper and Interface Generator
  2080. -Name: swig2
  2081. -Version: 2.0.8
  2082. -Release: 1
  2083. -URL: http://www.swig.org/
  2084. -Source: http://prdownloads.sourceforge.net/swig/swig-%{version}.tar.gz
  2085. -License: BSD
  2086. -Group: Development/Tools
  2087. -
  2088. -BuildRequires: pcre-devel
  2089. -
  2090. -%description
  2091. -SWIG is a software development tool that connects programs written in C and C++
  2092. -with a variety of high-level programming languages. SWIG is primarily used with
  2093. -common scripting languages such as Perl, Python, Tcl/Tk, and Ruby, however the
  2094. -list of supported languages also includes non-scripting languages such as Java,
  2095. -OCAML and C#. Also several interpreted and compiled Scheme implementations
  2096. -(Guile, MzScheme, Chicken) are supported. SWIG is most commonly used to create
  2097. -high-level interpreted or compiled programming environments, user interfaces,
  2098. -and as a tool for testing and prototyping C/C++ software. SWIG can also export
  2099. -its parse tree in the form of XML and Lisp s-expressions.
  2100. -
  2101. -%prep
  2102. -%setup -q -n swig-%{version}
  2103. -
  2104. -%build
  2105. -%configure
  2106. -make %{?_smp_mflags}
  2107. -
  2108. -%install
  2109. -rm -rf ${RPM_BUILD_ROOT}
  2110. -make DESTDIR=$RPM_BUILD_ROOT install
  2111. -#rename swig to swig2 so we can easily coexist with swig-1*
  2112. -mv ${RPM_BUILD_ROOT}/%{_bindir}/swig ${RPM_BUILD_ROOT}/%{_bindir}/swig2
  2113. -mv ${RPM_BUILD_ROOT}/%{_bindir}/ccache-swig ${RPM_BUILD_ROOT}/%{_bindir}/ccache-swig2
  2114. -mv ${RPM_BUILD_ROOT}/usr/share/man/man1/ccache-swig.1 ${RPM_BUILD_ROOT}/usr/share/man/man1/ccache-swig2.1
  2115. -
  2116. -%clean
  2117. -rm -rf ${RPM_BUILD_ROOT}
  2118. -
  2119. -%files
  2120. -%defattr(-,root,root)
  2121. -%doc ANNOUNCE CHANGES INSTALL LICENSE LICENSE-GPL LICENSE-UNIVERSITIES README RELEASENOTES
  2122. -%doc Doc/*
  2123. -%{_bindir}/*
  2124. -/usr/share/*
  2125. Index: deployment/common/chroot_build.sh
  2126. ===================================================================
  2127. --- deployment/common/chroot_build.sh   (revision 6104)
  2128. +++ deployment/common/chroot_build.sh   (working copy)
  2129. @@ -1,11 +1,11 @@
  2130.  #!/bin/bash
  2131.  
  2132.  case `./os_detect.sh` in
  2133. -    "CentOS 6.3")
  2134. -   ./chroot_build.py -i -d centos-6.3-x86_64
  2135. +    "CentOS 6")
  2136. +   ./chroot_build.py -i -d centos-6-x86_64
  2137.     ;;
  2138. -    "RedHat 6.3")
  2139. -   echo "We do not support build SciDB under RedHat 6.3. Please use CentOS 6.3 instead"
  2140. +    "RedHat 6")
  2141. +   echo "We do not support build SciDB under RedHat 6. Please use CentOS 6 instead"
  2142.     exit 1
  2143.     ;;
  2144.      "Ubuntu 12.04")
  2145. Index: deployment/common/configure_postgresql.py
  2146. ===================================================================
  2147. --- deployment/common/configure_postgresql.py   (revision 6104)
  2148. +++ deployment/common/configure_postgresql.py   (working copy)
  2149. @@ -19,7 +19,7 @@
  2150.  password=sys.argv[3]
  2151.  network=sys.argv[4]
  2152.  
  2153. -if OS == "CentOS 6.3" or OS == "RedHat 6.3":
  2154. +if OS == "CentOS 6" or OS == "RedHat 6":
  2155.      pg_hba_conf="/var/lib/pgsql/data/pg_hba.conf"
  2156.      postgresql_conf="/var/lib/pgsql/data/postgresql.conf"
  2157.      default=[
  2158. Index: deployment/common/configure_postgresql.sh
  2159. ===================================================================
  2160. --- deployment/common/configure_postgresql.sh   (revision 6104)
  2161. +++ deployment/common/configure_postgresql.sh   (working copy)
  2162. @@ -20,7 +20,7 @@
  2163.      chmod 0440 ${POSTGRESQL_SUDOERS}
  2164.  }
  2165.  
  2166. -function centos63()
  2167. +function centos6()
  2168.  {
  2169.      yum install -y postgresql postgresql-server postgresql-contrib expect
  2170.      /sbin/chkconfig postgresql on
  2171. @@ -31,11 +31,11 @@
  2172.  
  2173.  OS=`./os_detect.sh`
  2174.  case ${OS} in
  2175. -    "CentOS 6.3")
  2176. -   centos63
  2177. +    "CentOS 6")
  2178. +   centos6
  2179.     ;;
  2180. -    "RedHat 6.3")
  2181. -   centos63
  2182. +    "RedHat 6")
  2183. +   centos6
  2184.     ;;
  2185.      "Ubuntu 12.04")
  2186.     apt-get update
  2187. Index: deployment/common/install_scidb_packages.sh
  2188. ===================================================================
  2189. --- deployment/common/install_scidb_packages.sh (revision 6104)
  2190. +++ deployment/common/install_scidb_packages.sh (working copy)
  2191. @@ -13,7 +13,7 @@
  2192.  dpkg -i ${PACKAGE_FILE_NAME_LIST}
  2193.  }
  2194.  
  2195. -function centos63
  2196. +function centos6
  2197.  {
  2198.  echo "Install SciDB packages: ${PACKAGE_FILE_NAME_LIST}"
  2199.  rpm -i ${PACKAGE_FILE_NAME_LIST}
  2200. @@ -22,12 +22,12 @@
  2201.  
  2202.  OS=`./os_detect.sh`
  2203.  
  2204. -if [ "${OS}" = "CentOS 6.3" ]; then
  2205. -    centos63
  2206. +if [ "${OS}" = "CentOS 6" ]; then
  2207. +    centos6
  2208.  fi
  2209.  
  2210. -if [ "${OS}" = "RedHat 6.3" ]; then
  2211. -    centos63
  2212. +if [ "${OS}" = "RedHat 6" ]; then
  2213. +    centos6
  2214.  fi
  2215.  
  2216.  if [ "${OS}" = "Ubuntu 12.04" ]; then
  2217. Index: deployment/common/os_detect.sh
  2218. ===================================================================
  2219. --- deployment/common/os_detect.sh  (revision 6104)
  2220. +++ deployment/common/os_detect.sh  (working copy)
  2221. @@ -5,16 +5,16 @@
  2222.  if [ $# -eq 1 ]; then
  2223.      FILE=`readlink -f ${1}`
  2224.  fi;
  2225. -if [ `cat ${FILE} | grep "CentOS" | grep "6.3" | wc -l` = "1" ]; then
  2226. -    OS="CentOS 6.3"
  2227. +if [ `cat ${FILE} | grep "CentOS" | grep "6" | wc -l` = "1" ]; then
  2228. +    OS="CentOS 6"
  2229.  fi
  2230.  
  2231.  if [ `cat ${FILE} | grep "Ubuntu" | grep "12.04" | wc -l` = "1" ]; then
  2232.      OS="Ubuntu 12.04"
  2233.  fi
  2234.  
  2235. -if [ `cat ${FILE} | grep "Red Hat" | grep "6.3" | wc -l` = "1" ]; then
  2236. -    OS="RedHat 6.3"
  2237. +if [ `cat ${FILE} | grep "Red Hat" | grep "6" | wc -l` = "1" ]; then
  2238. +    OS="RedHat 6"
  2239.  fi
  2240.  
  2241.  if [ "${OS}" = "not supported" ]; then
  2242. Index: deployment/common/prepare_chroot.sh
  2243. ===================================================================
  2244. --- deployment/common/prepare_chroot.sh (revision 6104)
  2245. +++ deployment/common/prepare_chroot.sh (working copy)
  2246. @@ -14,7 +14,7 @@
  2247.  chmod a-wx,o-r,ug+r ${CHROOT_SUDOERS}
  2248.  }
  2249.  
  2250. -function centos63 ()
  2251. +function centos6 ()
  2252.  {
  2253.  yum install --enablerepo=scidb3rdparty -y gcc make rpm-build mock python-argparse git git-svn
  2254.  chroot_sudoers_mock
  2255. @@ -39,15 +39,15 @@
  2256.  
  2257.  function redhat63 ()
  2258.  {
  2259. -echo "We do not support build SciDB under RedHat 6.3. Please use CentOS 6.3 instead"
  2260. +echo "We do not support build SciDB under RedHat 6. Please use CentOS 6 instead"
  2261.  exit 1
  2262.  }
  2263.  
  2264. -if [ "${OS}" = "CentOS 6.3" ]; then
  2265. -    centos63
  2266. +if [ "${OS}" = "CentOS 6" ]; then
  2267. +    centos6
  2268.  fi
  2269.  
  2270. -if [ "${OS}" = "RedHat 6.3" ]; then
  2271. +if [ "${OS}" = "RedHat 6" ]; then
  2272.      redhat63
  2273.  fi
  2274.  
  2275. Index: deployment/common/prepare_httpd_cdash.sh
  2276. ===================================================================
  2277. --- deployment/common/prepare_httpd_cdash.sh    (revision 6104)
  2278. +++ deployment/common/prepare_httpd_cdash.sh    (working copy)
  2279. @@ -3,7 +3,7 @@
  2280.  username=${1}
  2281.  
  2282.  case `./os_detect.sh` in
  2283. -    "CentOS 6.3")
  2284. +    "CentOS 6")
  2285.     service iptables stop
  2286.     chkconfig iptables off
  2287.     yum install -y httpd
  2288. @@ -23,8 +23,8 @@
  2289.     rm -f ${CONFIG}.new
  2290.     setenforce 0   
  2291.     ;;
  2292. -    "RedHat 6.3")
  2293. -   echo "We do not support build SciDB under RedHat 6.3. Please use CentOS 6.3 instead"
  2294. +    "RedHat 6")
  2295. +   echo "We do not support build SciDB under RedHat 6. Please use CentOS 6 instead"
  2296.     exit 1
  2297.     ;;
  2298.      "Ubuntu 12.04")
  2299. Index: deployment/common/prepare_toolchain.sh
  2300. ===================================================================
  2301. --- deployment/common/prepare_toolchain.sh  (revision 6104)
  2302. +++ deployment/common/prepare_toolchain.sh  (working copy)
  2303. @@ -28,9 +28,9 @@
  2304.  echo "DONE"
  2305.  }
  2306.  
  2307. -function centos63 ()
  2308. +function centos6 ()
  2309.  {
  2310. -echo "Prepare CentOS 6.3 for build SciDB"
  2311. +echo "Prepare CentOS 6 for build SciDB"
  2312.  
  2313.  INSTALL="yum install --enablerepo=scidb3rdparty -y"
  2314.  # Build dependencies:
  2315. @@ -51,17 +51,17 @@
  2316.  
  2317.  function redhat63 ()
  2318.  {
  2319. -echo "We do not support build SciDB under RedHat 6.3. Please use CentOS 6.3 instead"
  2320. +echo "We do not support build SciDB under RedHat 6. Please use CentOS 6 instead"
  2321.  exit 1
  2322.  }
  2323.  
  2324.  OS=`./os_detect.sh`
  2325.  
  2326. -if [ "${OS}" = "CentOS 6.3" ]; then
  2327. -    centos63
  2328. +if [ "${OS}" = "CentOS 6" ]; then
  2329. +    centos6
  2330.  fi
  2331.  
  2332. -if [ "${OS}" = "RedHat 6.3" ]; then
  2333. +if [ "${OS}" = "RedHat 6" ]; then
  2334.      redhat63
  2335.  fi
  2336.  
  2337. Index: deployment/common/register_3rdparty_scidb_repository.sh
  2338. ===================================================================
  2339. --- deployment/common/register_3rdparty_scidb_repository.sh (revision 6104)
  2340. +++ deployment/common/register_3rdparty_scidb_repository.sh (working copy)
  2341. @@ -1,6 +1,6 @@
  2342.  #!/bin/bash
  2343.  
  2344. -function centos63()
  2345. +function centos6()
  2346.  {
  2347.  (echo <<EOF "[scidb3rdparty]
  2348.  name=SciDB 3rdparty repository
  2349. @@ -17,12 +17,12 @@
  2350.  
  2351.  OS=`./os_detect.sh`
  2352.  
  2353. -if [ "${OS}" = "CentOS 6.3" ]; then
  2354. -    centos63
  2355. +if [ "${OS}" = "CentOS 6" ]; then
  2356. +    centos6
  2357.  fi
  2358.  
  2359. -if [ "${OS}" = "RedHat 6.3" ]; then
  2360. -    centos63
  2361. +if [ "${OS}" = "RedHat 6" ]; then
  2362. +    centos6
  2363.  fi
  2364.  
  2365.  # We do not need 3rdparty for Ubuntu 12.04
  2366. Index: deployment/common/scidb_install.sh
  2367. ===================================================================
  2368. --- deployment/common/scidb_install.sh  (revision 6104)
  2369. +++ deployment/common/scidb_install.sh  (working copy)
  2370. @@ -1,6 +1,6 @@
  2371.  #!/bin/bash
  2372.  
  2373. -function centos63 ()
  2374. +function centos6 ()
  2375.  {
  2376.      /sbin/chkconfig iptables off
  2377.      /sbin/service iptables stop
  2378. @@ -25,12 +25,12 @@
  2379.  
  2380.  OS=`./os_detect.sh`
  2381.  
  2382. -if [ "${OS}" = "CentOS 6.3" ]; then
  2383. -    centos63
  2384. +if [ "${OS}" = "CentOS 6" ]; then
  2385. +    centos6
  2386.  fi
  2387.  
  2388. -if [ "${OS}" = "RedHat 6.3" ]; then
  2389. -    centos63
  2390. +if [ "${OS}" = "RedHat 6" ]; then
  2391. +    centos6
  2392.  fi
  2393.  
  2394.  if [ "${OS}" = "Ubuntu 12.04" ]; then
  2395. Index: deployment/common/user_access.sh
  2396. ===================================================================
  2397. --- deployment/common/user_access.sh    (revision 6104)
  2398. +++ deployment/common/user_access.sh    (working copy)
  2399. @@ -35,11 +35,11 @@
  2400.      disable_host_checking
  2401.      chmod go-rwx,u+rwx ${HOME}/.ssh
  2402.      chmod a-x,go-rw,u+rw ${HOME}/.ssh/*
  2403. -    if [ "${OS}" = "CentOS 6.3" ]; then
  2404. +    if [ "${OS}" = "CentOS 6" ]; then
  2405.     selinux_home_ssh
  2406.      fi
  2407.  
  2408. -    if [ "${OS}" = "RedHat 6.3" ]; then
  2409. +    if [ "${OS}" = "RedHat 6" ]; then
  2410.     selinux_home_ssh
  2411.      fi
  2412.  }
  2413. Index: deployment/deploy.sh
  2414. ===================================================================
  2415. --- deployment/deploy.sh    (revision 6104)
  2416. +++ deployment/deploy.sh    (working copy)
  2417. @@ -153,7 +153,7 @@
  2418.  function configure_rpm ()
  2419.  {
  2420.      # build target
  2421. -    target=centos-6.3-x86_64
  2422. +    target=centos-6-x86_64
  2423.      # package kind
  2424.      kind=rpm
  2425.      # get package name from filename
  2426. @@ -201,14 +201,14 @@
  2427.      fi;
  2428.      # Match OS
  2429.      case "${OS}" in
  2430. -   "CentOS 6.3")
  2431. +   "CentOS 6")
  2432.         configure_rpm
  2433.         ;;
  2434. -   "RedHat 6.3")
  2435. +   "RedHat 6")
  2436.         if [ ${with_redhat} == 1 ]; then
  2437.         configure_rpm
  2438.         else
  2439. -       echo "We do not support build SciDB under RedHat 6.3. Please use CentOS 6.3 instead"
  2440. +       echo "We do not support build SciDB under RedHat 6. Please use CentOS 6 instead"
  2441.         exit 1
  2442.         fi;
  2443.         ;;
  2444. Index: utils/make_packages.sh
  2445. ===================================================================
  2446. --- utils/make_packages.sh  (revision 6104)
  2447. +++ utils/make_packages.sh  (working copy)
  2448. @@ -31,7 +31,7 @@
  2449.  esac
  2450.  
  2451.  if [ "$target" == "chroot" ]; then
  2452. -    [ "$#" -lt 4 ] && echo Looks like you forgot chroot distro! Try: centos-6.3-x86_64 or ubuntu-precise-amd64 && usage
  2453. +    [ "$#" -lt 4 ] && echo Looks like you forgot chroot distro! Try: centos-6-x86_64 or ubuntu-precise-amd64 && usage
  2454.  fi
  2455.  
  2456.  if [ $target != "insource" ]; then
Add Comment
Please, Sign In to add comment