Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: 3rdparty/centos6/boost-146.spec
- ===================================================================
- --- 3rdparty/centos6/boost-146.spec (working copy)
- +++ 3rdparty/centos6/boost-146.spec (working copy)
- @@ -9,7 +9,7 @@
- Group: System Environment/Libraries
- Source: http://sourceforge.net/projects/boost/files/boost/1.46.1/boost_1_46_1.tar.bz2
- -# Patches for fix warning under CentOS 6.3
- +# Patches for fix warning under CentOS 6
- # https://svn.boost.org/trac/boost/ticket/4276
- Patch0: boost-map_iterator.patch
- # https://svn.boost.org/trac/boost/ticket/5416
- Index: 3rdparty/centos6/build.sh
- ===================================================================
- --- 3rdparty/centos6/build.sh (working copy)
- +++ 3rdparty/centos6/build.sh (working copy)
- @@ -60,7 +60,7 @@
- popd
- echo Copying sources to "${build_dir}/SOURCES"
- -cp "${source_dir}"/* "${script_dir}"/centos-6.3-x86_64.cfg "${script_dir}"/patches/*.patch "${script_dir}"/patches/*.in "${build_dir}/SOURCES"
- +cp "${source_dir}"/* "${script_dir}"/centos-6-x86_64.cfg "${script_dir}"/patches/*.patch "${script_dir}"/patches/*.in "${build_dir}/SOURCES"
- echo Copying specs to "${build_dir}/SOURCES"
- for spec_file_name in `(cd ${script_dir}; ls *.spec)`; do
- @@ -79,7 +79,7 @@
- pushd "${build_dir}"/SRPMS
- for f in *.src.rpm; do
- echo Building binary package from $f
- - 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
- + python ${script_dir}/../../utils/chroot_build.py -b -d centos-6-x86_64 -s $f -r "${chroot_result_dir}" || die Can not build $f
- done
- popd
- Index: 3rdparty/centos6/centos-6-x86_64.cfg
- ===================================================================
- --- 3rdparty/centos6/centos-6-x86_64.cfg (working copy)
- +++ 3rdparty/centos6/centos-6-x86_64.cfg (working copy)
- @@ -1,4 +1,4 @@
- -config_opts['root'] = 'centos-6.3-x86_64'
- +config_opts['root'] = 'centos-6-x86_64'
- config_opts['target_arch'] = 'x86_64'
- config_opts['legal_host_arches'] = ('x86_64',)
- config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
- @@ -22,14 +22,14 @@
- [base]
- name=BaseOS
- enabled=1
- -mirrorlist=http://mirrorlist.centos.org/?release=6.3&arch=x86_64&repo=os
- +mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os
- failovermethod=priority
- priority=1
- [updates]
- name=updates
- enabled=1
- -mirrorlist=http://mirrorlist.centos.org/?release=6.3&arch=x86_64&repo=updates
- +mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates
- failovermethod=priority
- priority=2
- Index: 3rdparty/centos6/centos-6.3-x86_64.cfg
- ===================================================================
- --- 3rdparty/centos6/centos-6.3-x86_64.cfg (revision 6104)
- +++ 3rdparty/centos6/centos-6.3-x86_64.cfg (working copy)
- @@ -1,50 +0,0 @@
- -config_opts['root'] = 'centos-6.3-x86_64'
- -config_opts['target_arch'] = 'x86_64'
- -config_opts['legal_host_arches'] = ('x86_64',)
- -config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
- -config_opts['dist'] = 'el6' # only useful for --resultdir variable subst
- -config_opts['plugin_conf']['ccache_enable'] = False
- -
- -config_opts['yum.conf'] = """
- -[main]
- -cachedir=/var/cache/yum
- -debuglevel=1
- -reposdir=/dev/null
- -logfile=/var/log/yum.log
- -retries=20
- -obsoletes=1
- -gpgcheck=0
- -assumeyes=1
- -syslog_ident=mock
- -syslog_device=
- -
- -# repos
- -[base]
- -name=BaseOS
- -enabled=1
- -mirrorlist=http://mirrorlist.centos.org/?release=6.3&arch=x86_64&repo=os
- -failovermethod=priority
- -priority=1
- -
- -[updates]
- -name=updates
- -enabled=1
- -mirrorlist=http://mirrorlist.centos.org/?release=6.3&arch=x86_64&repo=updates
- -failovermethod=priority
- -priority=2
- -
- -[scidb]
- -name=SciDB repo
- -enabled=1
- -baseurl=http://downloads.paradigm4.com/centos6.3/3rdparty
- -gpgcheck=0
- -failovermethod=priority
- -priority=3
- -
- -[epel]
- -name=epel
- -enabled=1
- -mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=x86_64
- -failovermethod=priority
- -priority=99
- -"""
- Index: 3rdparty/centos6/mock-1124.spec
- ===================================================================
- --- 3rdparty/centos6/mock-1124.spec (working copy)
- +++ 3rdparty/centos6/mock-1124.spec (working copy)
- @@ -7,7 +7,7 @@
- License: GPLv2+
- Group: Development/Tools
- Source: https://fedorahosted.org/mock/raw-attachment/wiki/MockTarballs/%{name}-%{version}.tar.xz
- -Source1: centos-6.3-x86_64.cfg
- +Source1: centos-6-x86_64.cfg
- URL: http://fedoraproject.org/wiki/Projects/Mock
- BuildArch: noarch
- Requires: python >= 2.6, yum >= 2.4, yum-utils >= 1.1.9, tar, pigz, python-ctypes, python-decoratortools, usermode
- Index: 3rdparty/centos63/apache-maven-3.0.4.spec
- ===================================================================
- --- 3rdparty/centos63/apache-maven-3.0.4.spec (revision 6104)
- +++ 3rdparty/centos63/apache-maven-3.0.4.spec (working copy)
- @@ -1,39 +0,0 @@
- -Name: apache-maven
- -Version: 3.0.4
- -Release: 1
- -Summary: Apache Maven
- -Group: Development/Tools
- -License: Apache
- -BuildArch: noarch
- -URL: http://maven.apache.org/
- -Source: http://apache-mirror.rbc.ru/pub/apache/maven/maven-3/3.0.4/binaries/apache-maven-3.0.4-bin.tar.gz
- -
- -%description
- -Apache Maven is a software project management and comprehension tool.
- -ased on the concept of a project object model (POM), Maven can manage
- -a project's build, reporting and documentation from a central piece
- -of information.
- -
- -%prep
- -%setup -q
- -
- -%build
- -
- -%install
- -mkdir -p $RPM_BUILD_ROOT%{_bindir}
- -mkdir -p $RPM_BUILD_ROOT/usr/share/maven/bin
- -mkdir -p $RPM_BUILD_ROOT/usr/share/maven/boot
- -mkdir -p $RPM_BUILD_ROOT/usr/share/maven/lib
- -
- -install -p -D bin/mvn $RPM_BUILD_ROOT/usr/share/maven/bin/
- -install -p -D bin/mvnDebug $RPM_BUILD_ROOT/usr/share/maven/bin/
- -install -m644 -p -D bin/m2.conf $RPM_BUILD_ROOT/usr/share/maven/bin/
- -install -m644 -p -D boot/*.jar $RPM_BUILD_ROOT/usr/share/maven/boot/
- -install -m644 -p -D lib/*.jar $RPM_BUILD_ROOT/usr/share/maven/lib/
- -ln -sf /usr/share/maven/bin/mvn $RPM_BUILD_ROOT%{_bindir}/mvn
- -ln -sf /usr/share/maven/bin/mvnDebug $RPM_BUILD_ROOT%{_bindir}/mvnDebug
- -%clean
- -
- -%files
- -%defattr(-,root,root,-)
- -/usr/*
- \ No newline at end of file
- Index: 3rdparty/centos63/boost-146.spec
- ===================================================================
- --- 3rdparty/centos63/boost-146.spec (revision 6104)
- +++ 3rdparty/centos63/boost-146.spec (working copy)
- @@ -1,364 +0,0 @@
- -%define scidb_boost scidb-boost-SCIDB_VERSION_MAJOR.SCIDB_VERSION_MINOR
- -%define scidb_path /opt/scidb/SCIDB_VERSION_MAJOR.SCIDB_VERSION_MINOR
- -Name: %{scidb_boost}
- -Summary: The free peer-reviewed portable C++ source libraries
- -Version: 1.46.1
- -Release: SCIDB_VERSION_PATCH
- -License: Boost
- -URL: http://www.boost.org/
- -Group: System Environment/Libraries
- -Source: http://sourceforge.net/projects/boost/files/boost/1.46.1/boost_1_46_1.tar.bz2
- -
- -# Patches for fix warning under CentOS 6.3
- -# https://svn.boost.org/trac/boost/ticket/4276
- -Patch0: boost-map_iterator.patch
- -# https://svn.boost.org/trac/boost/ticket/5416
- -Patch1: boost-serializationExportWarningPatch.patch
- -
- -%define srcdir boost_1_46_1
- -%define _docdir %{scidb_path}/doc
- -%define _libdir %{scidb_path}/lib
- -Requires: %{scidb_boost}-date-time = %{version}-%{release}
- -Requires: %{scidb_boost}-filesystem = %{version}-%{release}
- -Requires: %{scidb_boost}-graph = %{version}-%{release}
- -Requires: %{scidb_boost}-iostreams = %{version}-%{release}
- -Requires: %{scidb_boost}-program-options = %{version}-%{release}
- -Requires: %{scidb_boost}-python = %{version}-%{release}
- -Requires: %{scidb_boost}-regex = %{version}-%{release}
- -Requires: %{scidb_boost}-serialization = %{version}-%{release}
- -Requires: %{scidb_boost}-signals = %{version}-%{release}
- -Requires: %{scidb_boost}-system = %{version}-%{release}
- -Requires: %{scidb_boost}-test = %{version}-%{release}
- -Requires: %{scidb_boost}-thread = %{version}-%{release}
- -Requires: %{scidb_boost}-wave = %{version}-%{release}
- -Requires: %{scidb_boost}-random = %{version}-%{release}
- -Requires: %{scidb_boost}-math = %{version}-%{release}
- -
- -BuildRequires: libstdc++-devel
- -BuildRequires: bzip2-libs
- -BuildRequires: bzip2-devel
- -BuildRequires: zlib-devel
- -BuildRequires: python-devel
- -BuildRequires: libicu-devel
- -BuildRequires: chrpath
- -
- -%description
- -Boost provides free peer-reviewed portable C++ source libraries. The
- -emphasis is on libraries which work well with the C++ Standard
- -Library, in the hopes of establishing "existing practice" for
- -extensions and providing reference implementations so that the Boost
- -libraries are suitable for eventual standardization. (Some of the
- -libraries have already been proposed for inclusion in the C++
- -Standards Committee's upcoming C++ Standard Library Technical Report.)
- -
- -%package date-time
- -Summary: Runtime component of boost date-time library
- -Group: System Environment/Libraries
- -%description date-time
- -Runtime support for Boost Date Time, set of date-time libraries based
- -on generic programming concepts.
- -
- -%package filesystem
- -Summary: Runtime component of boost filesystem library
- -Group: System Environment/Libraries
- -%description filesystem
- -Runtime support for the Boost Filesystem Library, which provides
- -portable facilities to query and manipulate paths, files, and
- -directories.
- -
- -%package graph
- -Summary: Runtime component of boost graph library
- -Group: System Environment/Libraries
- -%description graph
- -Runtime support for the BGL graph library. BGL interface and graph
- -components are generic, in the same sense as the the Standard Template
- -Library (STL).
- -
- -%package iostreams
- -Summary: Runtime component of boost iostreams library
- -Group: System Environment/Libraries
- -%description iostreams
- -Runtime support for Boost.IOStreams, a framework for defining streams,
- -stream buffers and i/o filters.
- -
- -%package math
- -Summary: Stub that used to contain boost math library
- -Group: System Environment/Libraries
- -%description math
- -This package is a stub that used to contain runtime component of boost
- -math library. Now that boost math library is header-only, this
- -package is empty. It's kept around only so that during yum-assisted
- -update, old libraries from %{scidb_boost}-math package aren't left around.
- -
- -%package program-options
- -Summary: Runtime component of boost program_options library
- -Group: System Environment/Libraries
- -%description program-options
- -Runtime support of boost program options library, which allows program
- -developers to obtain (name, value) pairs from the user, via
- -conventional methods such as command line and configuration file.
- -
- -%package python
- -Summary: Runtime component of boost python library
- -Group: System Environment/Libraries
- -%description python
- -The Boost Python Library is a framework for interfacing Python and
- -C++. It allows you to quickly and seamlessly expose C++ classes
- -functions and objects to Python, and vice versa, using no special
- -tools -- just your C++ compiler. This package contains runtime
- -support for Boost Python Library.
- -
- -%package regex
- -Summary: Runtime component of boost regular expression library
- -Group: System Environment/Libraries
- -%description regex
- -Runtime support for boost regular expression library.
- -
- -%package serialization
- -Summary: Runtime component of boost serialization library
- -Group: System Environment/Libraries
- -%description serialization
- -Runtime support for serialization for persistence and marshaling.
- -
- -%package signals
- -Summary: Runtime component of boost signals and slots library
- -Group: System Environment/Libraries
- -%description signals
- -Runtime support for managed signals & slots callback implementation.
- -
- -%package system
- -Summary: Runtime component of boost system support library
- -Group: System Environment/Libraries
- -%description system
- -Runtime component of Boost operating system support library, including
- -the diagnostics support that will be part of the C++0x standard
- -library.
- -
- -%package test
- -Summary: Runtime component of boost test library
- -Group: System Environment/Libraries
- -%description test
- -Runtime support for simple program testing, full unit testing, and for
- -program execution monitoring.
- -
- -%package thread
- -Summary: Runtime component of boost thread library
- -Group: System Environment/Libraries
- -%description thread
- -Runtime component Boost.Thread library, which provides classes and
- -functions for managing multiple threads of execution, and for
- -synchronizing data between the threads or providing separate copies of
- -data specific to individual threads.
- -
- -%package wave
- -Summary: Runtime component of boost C99/C++ preprocessing library
- -Group: System Environment/Libraries
- -%description wave
- -Runtime support for the Boost.Wave library, a Standards conformant,
- -and highly configurable implementation of the mandated C99/C++
- -preprocessor functionality.
- -
- -%package random
- -Summary: Runtime component of boost random library
- -Group: System Environment/Libraries
- -%description random
- -The Boost Random Number Library (Boost.Random for short) provides a
- -variety of generators and distributions to produce random numbers having
- -useful properties, such as uniform distribution.
- -
- -%package devel
- -Summary: The Boost C++ headers and shared development libraries
- -Group: Development/Libraries
- -Requires: %{scidb_boost} = %{version}-%{release}
- -Provides: %{scidb_boost}-python-devel = %{version}-%{release}
- -%description devel
- -Headers and shared object symlinks for the Boost C++ libraries.
- -
- -%package static
- -Summary: The Boost C++ static development libraries
- -Group: Development/Libraries
- -Requires: %{scidb_boost}-devel = %{version}-%{release}
- -Obsoletes: %{scidb_boost}-devel-static < 1.34.1-14
- -Provides: %{scidb_boost}-devel-static = %{version}-%{release}
- -%description static
- -Static Boost C++ libraries.
- -
- -%package doc
- -Summary: HTML documentation for the Boost C++ libraries
- -Group: Documentation
- -BuildArch: noarch
- -Provides: %{scidb_boost}-python-docs = %{version}-%{release}
- -%description doc
- -This package contains the documentation in the HTML format of the Boost C++
- -libraries. The documentation provides the same content as that on the Boost
- -web page (http://www.boost.org/doc/libs/1_40_0).
- -
- -%prep
- -%setup -q -n %{srcdir}
- -%patch0 -p1
- -%patch1 -p1
- -
- -%build
- -./bootstrap.sh --prefix=/usr
- -./bjam --without-mpi %{?_smp_mflags}
- -
- -%install
- -rm -rf $RPM_BUILD_ROOT
- -cd %{_builddir}/%{srcdir}/
- -./bjam --prefix=$RPM_BUILD_ROOT/usr install
- -mkdir -p "$RPM_BUILD_ROOT/%{scidb_path}"
- -mv "$RPM_BUILD_ROOT/usr/lib" "$RPM_BUILD_ROOT/%{scidb_path}"
- -mv "$RPM_BUILD_ROOT/usr/include" "$RPM_BUILD_ROOT/%{scidb_path}"
- -
- -%clean
- -rm -rf $RPM_BUILD_ROOT
- -
- -%post date-time -p /sbin/ldconfig
- -
- -%postun date-time -p /sbin/ldconfig
- -
- -%post filesystem -p /sbin/ldconfig
- -
- -%postun filesystem -p /sbin/ldconfig
- -
- -%post graph -p /sbin/ldconfig
- -
- -%postun graph -p /sbin/ldconfig
- -
- -%post iostreams -p /sbin/ldconfig
- -
- -%postun iostreams -p /sbin/ldconfig
- -
- -%post program-options -p /sbin/ldconfig
- -
- -%postun program-options -p /sbin/ldconfig
- -
- -%post python -p /sbin/ldconfig
- -
- -%postun python -p /sbin/ldconfig
- -
- -%post regex -p /sbin/ldconfig
- -
- -%postun regex -p /sbin/ldconfig
- -
- -%post serialization -p /sbin/ldconfig
- -
- -%postun serialization -p /sbin/ldconfig
- -
- -%post signals -p /sbin/ldconfig
- -
- -%postun signals -p /sbin/ldconfig
- -
- -%post system -p /sbin/ldconfig
- -
- -%postun system -p /sbin/ldconfig
- -
- -%post test -p /sbin/ldconfig
- -
- -%postun test -p /sbin/ldconfig
- -
- -%post thread -p /sbin/ldconfig
- -
- -%postun thread -p /sbin/ldconfig
- -
- -%post wave -p /sbin/ldconfig
- -
- -%postun wave -p /sbin/ldconfig
- -
- -%post random -p /sbin/ldconfig
- -
- -%postun random -p /sbin/ldconfig
- -
- -%files
- -
- -%files date-time
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{_libdir}/libboost_date_time*.so.%{version}
- -
- -%files filesystem
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{_libdir}/libboost_filesystem*.so.%{version}
- -
- -%files graph
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{_libdir}/libboost_graph.so.%{version}
- -
- -%files iostreams
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{_libdir}/libboost_iostreams*.so.%{version}
- -
- -%files math
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{_libdir}/libboost_math*.so.%{version}
- -
- -%files test
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{_libdir}/libboost_prg_exec_monitor*.so.%{version}
- -%{_libdir}/libboost_unit_test_framework*.so.%{version}
- -
- -%files program-options
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{_libdir}/libboost_program_options*.so.%{version}
- -
- -%files python
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{_libdir}/libboost_python*.so.%{version}
- -
- -%files regex
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{_libdir}/libboost_regex*.so.%{version}
- -
- -%files serialization
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{_libdir}/libboost_serialization*.so.%{version}
- -%{_libdir}/libboost_wserialization*.so.%{version}
- -
- -%files signals
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{_libdir}/libboost_signals*.so.%{version}
- -
- -%files system
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{_libdir}/libboost_system*.so.%{version}
- -
- -%files thread
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{_libdir}/libboost_thread*.so.%{version}
- -
- -%files wave
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{_libdir}/libboost_wave*.so.%{version}
- -
- -%files random
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{_libdir}/libboost_random*.so.%{version}
- -
- -%files doc
- -%defattr(-, root, root, -)
- -%doc %{_docdir}/scidb-boost-*-%{version}
- -
- -%files devel
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{scidb_path}/include/boost
- -%{_libdir}/libboost_*.so
- -
- -%files static
- -%defattr(-, root, root, -)
- -%doc LICENSE_1_0.txt
- -%{_libdir}/*.a
- Index: 3rdparty/centos63/build.sh
- ===================================================================
- --- 3rdparty/centos63/build.sh (revision 6104)
- +++ 3rdparty/centos63/build.sh (working copy)
- @@ -1,89 +0,0 @@
- -#!/bin/bash
- -
- -[ -f /usr/sbin/mock ] && HAS_MOCK=1 || HAS_MOCK=0
- -
- -if [ ! $HAS_MOCK ]; then
- - echo You dont have mock utility
- - echo Connect SciDB repository and install mock
- -fi
- -
- -function usage()
- -{
- - echo "Usage: $0 <result dir>"
- - exit 1
- -}
- -
- -function die()
- -{
- - echo $1
- - exit 1
- -}
- -
- -[ ! "$#" -eq 1 ] && usage
- -
- -export SCIDB_VERSION_MAJOR=`awk -F . '{print $1}' $(dirname "$0")/../../version`
- -export SCIDB_VERSION_MINOR=`awk -F . '{print $2}' $(dirname "$0")/../../version`
- -export SCIDB_VERSION_PATCH=`awk -F . '{print $3}' $(dirname "$0")/../../version`
- -
- -build_dir="`mktemp -d /tmp/scidb_packaging.XXXXX`"
- -chroot_result_dir="$1"
- -source_dir=~/scidb_3rd_party_sources
- -
- -pushd "$(dirname "$0")"
- -script_dir="`pwd`"
- -popd
- -
- -sources="
- -http://netcologne.dl.sourceforge.net/project/boost/boost/1.46.1/boost_1_46_1.tar.bz2
- -http://pqxx.org/download/software/libpqxx/libpqxx-3.1.tar.gz
- -http://www.cmake.org/files/v2.8/cmake-2.8.10.tar.gz
- -http://prdownloads.sourceforge.net/swig/swig-2.0.8.tar.gz
- -http://zlib.net/pigz/pigz-2.2.5.tar.gz
- -https://fedorahosted.org/mock/raw-attachment/wiki/MockTarballs/mock-1.1.24.tar.xz
- -http://www.sai.msu.su/apache/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0.tar.gz
- -http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.bz2
- -http://argparse.googlecode.com/files/argparse-1.2.1.tar.gz
- -http://apache-mirror.rbc.ru/pub/apache/maven/maven-3/3.0.4/binaries/apache-maven-3.0.4-bin.tar.gz
- -http://www.samba.org/ftp/ccache/ccache-3.1.6.tar.xz
- -http://netcologne.dl.sourceforge.net/project/cppunit/cppunit/1.12.1/cppunit-1.12.1.tar.gz
- -"
- -
- -echo Preparing dirs
- -mkdir -p "${build_dir}"/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS} "${source_dir}" "${chroot_result_dir}" || die
- -
- -echo Downloading sources to "${source_dir}"
- -pushd "${source_dir}"
- - for url in $sources; do
- - filename="`basename $url`"
- - [ ! -f $filename ] && wget "$url" -O tmp && mv tmp $filename
- - done
- -popd
- -
- -echo Copying sources to "${build_dir}/SOURCES"
- -cp "${source_dir}"/* "${script_dir}"/centos-6.3-x86_64.cfg "${script_dir}"/patches/*.patch "${script_dir}"/patches/*.in "${build_dir}/SOURCES"
- -
- -echo Copying specs to "${build_dir}/SOURCES"
- -for spec_file_name in `(cd ${script_dir}; ls *.spec)`; do
- - 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}
- -done;
- -
- -echo Building source packages
- -pushd "${build_dir}"/SPECS
- - for f in *.spec; do
- - echo Building $f source package
- - rpmbuild -D"_topdir ${build_dir}" -bs $f || die "Can't build $f"
- - done
- -popd
- -
- -echo Building dependencies in chroot
- -pushd "${build_dir}"/SRPMS
- - for f in *.src.rpm; do
- - echo Building binary package from $f
- - 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
- - done
- -popd
- -
- -echo Removing build dir "${build_dir}"
- -sudo rm -rf "${build_dir}"
- -
- -echo Done. Take result from "${chroot_result_dir}"
- Index: 3rdparty/centos63/ccache.spec
- ===================================================================
- --- 3rdparty/centos63/ccache.spec (revision 6104)
- +++ 3rdparty/centos63/ccache.spec (working copy)
- @@ -1,350 +0,0 @@
- -%ifarch x86_64
- -%global archs %{ix86} x86_64
- -%else
- -%ifarch %{ix86}
- -%global archs %{ix86}
- -%else
- -%global archs %{_target_cpu}
- -%endif
- -%endif
- -
- -%define abs2rel() perl -MFile::Spec -e 'print File::Spec->abs2rel(@ARGV)' %1 %2
- -%global relccache %(%abs2rel %{_bindir}/ccache %{_libdir}/ccache)
- -
- -Name: ccache
- -Version: 3.1.6
- -Release: 2%{?dist}
- -Summary: C/C++ compiler cache
- -
- -Group: Development/Tools
- -License: GPLv3+
- -URL: http://ccache.samba.org/
- -Source0: http://samba.org/ftp/ccache/%{name}-%{version}.tar.xz
- -Source1: %{name}.sh.in
- -Source2: %{name}.csh.in
- -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
- -
- -BuildRequires: perl(File::Spec)
- -BuildRequires: zlib-devel >= 1.2.3
- -# coreutils for triggerin, triggerpostun
- -Requires: coreutils
- -
- -%description
- -ccache is a compiler cache. It speeds up recompilation of C/C++ code
- -by caching previous compiles and detecting when the same compile is
- -being done again. The main focus is to handle the GNU C/C++ compiler
- -(GCC), but it may also work with compilers that mimic GCC good enough.
- -
- -
- -%prep
- -%setup -q
- -sed -e 's|@LIBDIR@|%{_libdir}|g' -e 's|@CACHEDIR@|%{_var}/cache/ccache|g' \
- - %{SOURCE1} > %{name}.sh
- -sed -e 's|@LIBDIR@|%{_libdir}|g' -e 's|@CACHEDIR@|%{_var}/cache/ccache|g' \
- - %{SOURCE2} > %{name}.csh
- -# Make sure system zlib is used
- -rm -r zlib
- -
- -
- -%build
- -%configure
- -make %{?_smp_mflags}
- -
- -
- -%install
- -rm -rf $RPM_BUILD_ROOT
- -
- -make install DESTDIR=$RPM_BUILD_ROOT
- -
- -install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
- -install -pm 644 %{name}.sh %{name}.csh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
- -
- -install -dm 770 $RPM_BUILD_ROOT%{_var}/cache/ccache
- -
- -# %%ghost files for ownership, keep in sync with triggers
- -install -dm 755 $RPM_BUILD_ROOT%{_libdir}/ccache
- -for n in cc gcc g++ c++ ; do
- - ln -s %{relccache} $RPM_BUILD_ROOT%{_libdir}/ccache/$n
- - for p in avr- arm-gp2x-linux- msp430- ; do
- - ln -s %{relccache} $RPM_BUILD_ROOT%{_libdir}/ccache/$p$n
- - done
- - for s in 32 34 4 44 ; do
- - ln -s %{relccache} $RPM_BUILD_ROOT%{_libdir}/ccache/$n$s
- - done
- - for a in %{archs} ; do
- - ln -s %{relccache} \
- - $RPM_BUILD_ROOT%{_libdir}/ccache/$a-%{_vendor}-%{_target_os}-$n
- - done
- -done
- -find $RPM_BUILD_ROOT%{_libdir}/ccache -type l | \
- - sed -e "s|^$RPM_BUILD_ROOT|%%ghost |" > %{name}-%{version}.compilers
- -
- -
- -%check
- -make check
- -
- -
- -%clean
- -rm -fr $RPM_BUILD_ROOT
- -
- -
- -%define ccache_trigger(p:) \
- -%triggerin -- %{-p*}\
- -for n in %* ; do\
- - [ ! -x %{_bindir}/$n ] || ln -sf %{relccache} %{_libdir}/ccache/$n\
- - for a in %{archs} ; do\
- - [ ! -x %{_bindir}/$a-%{_vendor}-%{_target_os}-$n ] || \\\
- - ln -sf %{relccache} %{_libdir}/ccache/$a-%{_vendor}-%{_target_os}-$n\
- - done\
- -done\
- -:\
- -%triggerpostun -- %{-p*}\
- -for n in %* ; do\
- - [ -x %{_bindir}/$n ] || rm -f %{_libdir}/ccache/$n\
- - for a in %{archs} ; do\
- - [ -x %{_bindir}/$a-%{_vendor}-%{_target_os}-$n ] || \\\
- - rm -f %{_libdir}/ccache/$a-%{_vendor}-%{_target_os}-$n\
- - done\
- -done\
- -:\
- -%{nil}
- -
- -%ccache_trigger -p arm-gp2x-linux-gcc arm-gp2x-linux-cc arm-gp2x-linux-gcc
- -%ccache_trigger -p arm-gp2x-linux-gcc-c++ arm-gp2x-linux-c++ arm-gp2x-linux-g++
- -%ccache_trigger -p avr-gcc avr-cc avr-gcc
- -%ccache_trigger -p avr-gcc-c++ avr-c++ avr-g++
- -%ccache_trigger -p compat-gcc-32 cc32 gcc32
- -%ccache_trigger -p compat-gcc-32-c++ c++32 g++32
- -%ccache_trigger -p compat-gcc-34 cc34 gcc34
- -%ccache_trigger -p compat-gcc-34-c++ c++34 g++34
- -%ccache_trigger -p gcc cc gcc
- -%ccache_trigger -p gcc-c++ c++ g++
- -%ccache_trigger -p gcc4 cc4 gcc4
- -%ccache_trigger -p gcc4-c++ c++4 g++4
- -%ccache_trigger -p gcc44 cc4 gcc44
- -%ccache_trigger -p gcc44-c++ c++44 g++44
- -%ccache_trigger -p mingw32-gcc i686-pc-mingw32-cc i686-pc-mingw32-gcc
- -%ccache_trigger -p mingw32-gcc-c++ i686-pc-mingw32-c++ i686-pc-mingw32-g++
- -%ccache_trigger -p msp430-gcc msp430-cc msp430-gcc
- -
- -%pre
- -getent group ccache >/dev/null || groupadd -r ccache || :
- -
- -
- -%files -f %{name}-%{version}.compilers
- -%defattr(-,root,root,-)
- -%doc AUTHORS.* GPL-3.0.txt LICENSE.* MANUAL.* NEWS.* README.*
- -%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
- -%{_bindir}/ccache
- -%dir %{_libdir}/ccache/
- -%attr(2770,root,ccache) %dir %{_var}/cache/ccache/
- -%{_mandir}/man1/ccache.1*
- -
- -
- -%changelog
- -* Sun Dec 4 2011 Ville Skyttä <ville.skytta@iki.fi> - 3.1.6-2
- -- Turn on CCACHE_HASHDIR by default (#759592, Jan Kratochvil).
- -
- -* Mon Aug 22 2011 Ville Skyttä <ville.skytta@iki.fi> - 3.1.6-1
- -- Update to 3.1.6.
- -
- -* Mon May 30 2011 Ville Skyttä <ville.skytta@iki.fi> - 3.1.5-1
- -- Update to 3.1.5.
- -
- -* Sat Apr 2 2011 Ville Skyttä <ville.skytta@iki.fi> - 3.1.4-4
- -- Replace Requires(trigger*) with plain requires to appease rpmbuild >= 4.9.
- -
- -* Sat Apr 2 2011 Ville Skyttä <ville.skytta@iki.fi> - 3.1.4-3
- -- Reset non-working cache dir related env settings on user switch (#651023).
- -
- -* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
- -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
- -
- -* Fri Jan 14 2011 Ville Skyttä <ville.skytta@iki.fi> - 3.1.4-1
- -- Update to 3.1.4.
- -
- -* Sun Dec 5 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.1.3-2
- -- Update compiler executable lists, make their package triggers more targeted.
- -- Auto-symlink mingw32-gcc(-c++) compilers.
- -
- -* Sun Nov 28 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.1.3-1
- -- Update to 3.1.3, fixes #657857.
- -
- -* Tue Nov 23 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.1.2-1
- -- Update to 3.1.2.
- -
- -* Thu Nov 18 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.1.1-1
- -- Update to 3.1.1.
- -
- -* Sat Sep 18 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.1-1
- -- Update to 3.1, fixes #610853.
- -- Make sh profile script "nounset" clean.
- -
- -* Fri Jul 16 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.0.1-1
- -- Update to 3.0.1.
- -
- -* Sat Jul 3 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.0-1
- -- Update to 3.0, no-strip patch no longer needed.
- -
- -* Fri Jun 4 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.0-0.2.pre1
- -- Reintroduce minor profile.d script performance improvements.
- -
- -* Thu May 13 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.0-0.1.pre1
- -- Update to 3.0pre1 (#591040), license changed to GPLv3+.
- -
- -* Mon Mar 1 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.0-0.1.pre0
- -- Update to 3.0pre0, all old patches applied/superseded upstream.
- - Note: old caches will no longer be used, see NEWS for details.
- -- Don't use "pathmunge" in the profile.d sh script to work around #548960.
- -- Patch to avoid stripping the binary during build.
- -- Add auto-symlink support for gcc44(-c++) and msp430-gcc.
- -- Run test suite during build.
- -- Update description.
- -
- -* Sat Dec 19 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.4-17
- -- Minor profile.d script performance improvements.
- -- Fix hardcoded /var/cache/ccache in profile.d scripts.
- -
- -* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.4-16
- -- Switch #438201 patch URL to Debian patch tracking (original is MIA).
- -
- -* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-15
- -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- -
- -* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-14
- -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- -
- -* Wed Mar 19 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.4-13
- -- Apply patch to fix path to saved dependency files (#438201).
- -
- -* Sat Feb 9 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.4-12
- -- Rebuild.
- -
- -* Tue Oct 2 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.4-11
- -- Apply upstream fix for problems when $HOME is not set (#315441).
- -
- -* Wed Aug 22 2007 Ville Skyttä <ville.skytta@iki.fi>
- -- Fix URL to upstream tarball.
- -
- -* Sun Aug 19 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.4-10
- -- License: GPLv2+
- -- Make compiler symlinks relative.
- -- Make profile.d scripts noreplace.
- -
- -* Mon Jul 30 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.4-9
- -- Use shared cache dir for users in the ccache group by default
- - (#247760, based on Andy Shevchenko's work).
- -- Fix outdated hardlink info in cache sharing docs.
- -- Add auto-symlink support for avr-gcc(-c++) and arm-gp2x-linux-gcc(-c++).
- -- Make triggers always exit with a zero exit status.
- -
- -* Thu Mar 15 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.4-8
- -- Bypass cache with --coverage, -fprofile-arcs and -ftest-coverage
- - (upstream CVS and Matt Fago, #231462).
- -
- -* Fri Nov 10 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.4-7
- -- Require coreutils for triggers (#215030).
- -
- -* Wed Aug 9 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.4-6
- -- Add auto-symlink support for compat-gcc-34(-c++).
- -- Untabify, escape macros in changelog.
- -
- -* Tue May 16 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.4-5
- -- Add auto-symlink support for g++-libstdc++-so_7.
- -
- -* Sat Nov 26 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.4-4
- -- Drop "bin" from compiler symlink path.
- -- Make profile.d snippets non-executable (#35714).
- -
- -* Sun May 1 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.4-3
- -- Auto-symlink update: add compat-gcc-32 and compat-gcc-32-c++, drop
- - bunch of no longer relevant compilers.
- -
- -* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.4-2
- -- rebuilt
- -
- -* Sun Sep 26 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:2.4-0.fdr.1
- -- Update to 2.4.
- -- Add symlinking support for gcc4 and gcc4-c++.
- -- Move the ccache executable to %%{_bindir}.
- -- Include more docs.
- -
- -* Fri Jun 25 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:2.3-0.fdr.5
- -- Add support for gcc33 and g++33.
- -
- -* Thu Jun 10 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:2.3-0.fdr.4
- -- Fix hardcoded lib path in profile.d scriptlets (bug 1558).
- -
- -* Mon May 3 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:2.3-0.fdr.3
- -- Add support for gcc34 and g++34, and
- - %%{_target_cpu}-%%{_vendor}-%%{_target_os}-* variants.
- -
- -* Thu Nov 13 2003 Ville Skyttä <ville.skytta@iki.fi> - 0:2.3-0.fdr.2
- -- Add overriding symlinks for gcc-ssa and g++-ssa (bug 963).
- -
- -* Tue Nov 11 2003 Ville Skyttä <ville.skytta@iki.fi> - 0:2.3-0.fdr.1
- -- Update to 2.3.
- -- Implement triggers to keep list of "aliased" compilers up to date on the fly.
- -- Add gcc32 and a bunch of legacy packages to the list of overridden compilers.
- -
- -* Sat Aug 2 2003 Ville Skyttä <ville.skytta@iki.fi> - 0:2.2-0.fdr.6
- -- Add c++ to the list of overridden compilers (bug 548).
- -- Own everything including dirs under %%{_libdir}/ccache (bug 529).
- -- %%{buildroot} -> $RPM_BUILD_ROOT.
- -- Fix man page permissions.
- -- Use %%{?_smp_mflags}.
- -- Other cosmetic specfile tweaks.
- -
- -* Fri Mar 29 2003 Warren Togami <warren@togami.com> 2.2-0.fdr.5
- -- Epoch: 0
- -- Remove /usr/lib/ccache/sbin from PATH
- -
- -* Fri Mar 28 2003 Warren Togami <warren@togami.com> 2.2-0.fdr.4
- -- Add BuildRequires: autoconf >= 0:2.52
- -- Add Requires: gcc, gcc-c++ (minimal expectation of compilers)
- -
- -* Fri Mar 28 2003 Warren Togami <warren@togami.com> 2.2-0.fdr.3
- -- No longer use %%ghost, symlinks always exist
- -
- -* Thu Mar 27 2003 Warren Togami <warren@togami.com> 2.2-0.fdr.2
- -- Move symlinks to /usr/lib/ccache/bin
- -- Use /etc/profile.d/ccache.* scripts to add it to PATH
- - As long as it is before /usr/bin it is good.
- -
- -* Thu Mar 27 2003 Warren Togami <warren@togami.com> 2.2-0.fdr.1
- -- Move symlinks to /bin since it seems to be at the beginning of PATH of all users
- - before /usr/bin, the location of the real compiler.
- -- Package symlinks rather than create and remove during %%post and %%postun
- -
- -* Thu Feb 20 2003 Warren Togami <warren@togami.com> 2.2-4.fedora.1
- -- Fedora
- -
- -* Thu Feb 20 2003 Samir M. Nassar <rpm@redconcepts.net> 2.2-3.redconcepts
- -- Added symlinks to g++
- -- Removed symlink removal in post
- -
- -* Thu Feb 20 2003 Samir M. Nassar <rpm@redconcepts.net> 2.2-2.redconcepts
- -- Cleans symlinks if present to make upgrades easier
- -
- -* Thu Feb 20 2003 Samir M. Nassar <rpm@redconcepts.net> 2.2-1.redconcepts
- -- Upgraded to ccache 2.2
- -
- -* Tue Feb 04 2003 Samir M. Nassar <rpm@redconcepts.net> 2.1.1-4.redconcepts
- -- Using %%post to create the soft symlinks
- -- Using %%postun to remove the soft symlinks
- -- Thanks to Che <che666@uni.de> for the help
- -- Packaged as user
- -
- -* Sun Jan 19 2003 Samir M. Nassar <rpm@redconcepts.net> 2.1.1-3.redconcepts
- -- make a soft symlink between ccache and gcc
- -- make a soft symlink between ccache and cc
- -
- -* Thu Jan 16 2003 Samir M. Nassar <rpm@redconcepts.net> 2.1.1-2.redconcepts
- -- Normalized spec file.
- -
- -* Wed Jan 15 2003 Samir M, Nassar <rpm@redconcepts.net> 2.1.1-1.redconcepts
- -- Using ccache 2.2.1 sources
- -- Changed release to redconcepts for consistency
- -
- -* Wed Oct 22 2002 Samir M. Nassar <rpm.redconcepts.net> 1.9-1.rcn
- -- Initial RedConcepts.NET (rcn) build for Red Hat Linux 8.0
- Index: 3rdparty/centos63/centos-6.3-x86_64.cfg
- ===================================================================
- --- 3rdparty/centos63/centos-6.3-x86_64.cfg (revision 6104)
- +++ 3rdparty/centos63/centos-6.3-x86_64.cfg (working copy)
- @@ -1,50 +0,0 @@
- -config_opts['root'] = 'centos-6.3-x86_64'
- -config_opts['target_arch'] = 'x86_64'
- -config_opts['legal_host_arches'] = ('x86_64',)
- -config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
- -config_opts['dist'] = 'el6' # only useful for --resultdir variable subst
- -config_opts['plugin_conf']['ccache_enable'] = False
- -
- -config_opts['yum.conf'] = """
- -[main]
- -cachedir=/var/cache/yum
- -debuglevel=1
- -reposdir=/dev/null
- -logfile=/var/log/yum.log
- -retries=20
- -obsoletes=1
- -gpgcheck=0
- -assumeyes=1
- -syslog_ident=mock
- -syslog_device=
- -
- -# repos
- -[base]
- -name=BaseOS
- -enabled=1
- -mirrorlist=http://mirrorlist.centos.org/?release=6.3&arch=x86_64&repo=os
- -failovermethod=priority
- -priority=1
- -
- -[updates]
- -name=updates
- -enabled=1
- -mirrorlist=http://mirrorlist.centos.org/?release=6.3&arch=x86_64&repo=updates
- -failovermethod=priority
- -priority=2
- -
- -[scidb]
- -name=SciDB repo
- -enabled=1
- -baseurl=http://downloads.paradigm4.com/centos6.3/3rdparty
- -gpgcheck=0
- -failovermethod=priority
- -priority=3
- -
- -[epel]
- -name=epel
- -enabled=1
- -mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=x86_64
- -failovermethod=priority
- -priority=99
- -"""
- Index: 3rdparty/centos63/cmake-28.spec
- ===================================================================
- --- 3rdparty/centos63/cmake-28.spec (revision 6104)
- +++ 3rdparty/centos63/cmake-28.spec (working copy)
- @@ -1,169 +0,0 @@
- -# Set to bcond_without or use --with bootstrap if bootstrapping a new release
- -# or architecture
- -%bcond_with bootstrap
- -# Set to bcond_with or use --without gui to disable qt4 gui build
- -%bcond_without gui
- -# Set to RC version if building RC, else %{nil}
- -#%define rcver %{nil}
- -
- -Name: cmake
- -Version: 2.8.10
- -Release: 1
- -Summary: Cross-platform make system
- -
- -Group: Development/Tools
- -
- -# Most sources are BSD. Source/CursesDialog/form/ a bunch is MIT.
- -# Source/kwsys/MD5.c is bundled(md5-deutsch) and zlib licensed. Some
- -# GPL-licensed bison-generated files, these all include an exception
- -# granting redistribution under terms of your choice
- -License: BSD and MIT and zlib
- -URL: http://www.cmake.org
- -Source: http://www.cmake.org/files/v2.8/cmake-%{version}.tar.gz
- -#Source2: macros.cmake28
- -# Patch to find DCMTK in Fedora (bug #720140)
- -#Patch0: cmake-dcmtk.patch
- -# (modified) Upstream patch to fix setting PKG_CONFIG_FOUND (bug #812188)
- -#Patch1: cmake-pkgconfig.patch
- -# This patch renames the executables with a "28" suffix
- -#Patch2: cmake28.patch
- -
- -# Source/kwsys/MD5.c
- -# see https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
- -#Provides: bundled(md5-deutsch)
- -
- -#BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
- -
- -BuildRequires: gcc-gfortran
- -BuildRequires: ncurses-devel, libX11-devel
- -BuildRequires: bzip2-devel
- -BuildRequires: curl-devel
- -BuildRequires: expat-devel
- -BuildRequires: libarchive-devel
- -BuildRequires: zlib-devel
- -
- -%if %{without bootstrap}
- -#BuildRequires: xmlrpc-c-devel
- -%endif
- -#%if %{with gui}
- -#BuildRequires: qt4-devel, desktop-file-utils
- -#%define qt_gui --qt-gui
- -#%endif
- -Requires: rpm
- -
- -
- -%description
- -CMake is used to control the software compilation process using simple
- -platform and compiler independent configuration files. CMake generates
- -native makefiles and workspaces that can be used in the compiler
- -environment of your choice. CMake is quite sophisticated: it is possible
- -to support complex environments requiring system configuration, preprocessor
- -generation, code generation, and template instantiation.
- -
- -
- -#%package gui
- -#Summary: Qt GUI for %{name}
- -#Group: Development/Tools
- -#Requires: %{name}%{?_isa} = %{version}-%{release}
- -#
- -#%description gui
- -#The %{name}-gui package contains the Qt based GUI for CMake.
- -
- -
- -%prep
- -%setup -q -n cmake-%{version}
- -#%patch0 -p1 -b .dcmtk
- -#%patch1 -p1 -b .pkgconfig
- -#%patch2 -p1 -b .cmake28
- -
- -
- -%build
- -export CFLAGS="$RPM_OPT_FLAGS"
- -export CXXFLAGS="$RPM_OPT_FLAGS"
- -mkdir build
- -cd build
- -../bootstrap --prefix=%{_prefix} --datadir=/share/%{name} \
- - --docdir=/share/doc/%{name}-%{version} --mandir=/share/man \
- - --%{?with_bootstrap:no-}system-libs \
- - --parallel=`/usr/bin/getconf _NPROCESSORS_ONLN` \
- - --no-qt-gui
- -make VERBOSE=1 %{?_smp_mflags}
- -
- -
- -%install
- -rm -rf $RPM_BUILD_ROOT
- -cd build
- -make install DESTDIR=$RPM_BUILD_ROOT
- -find $RPM_BUILD_ROOT/%{_datadir}/%{name}/Modules -type f | xargs chmod -x
- -cd ..
- -#cp -a Example $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
- -#mkdir -p $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/cmake28
- -#install -m 0644 Docs/cmake-mode.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/cmake28/cmake28-mode.el
- -# RPM macros
- -#install -p -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.cmake28
- -#sed -i -e "s|@@CMAKE_VERSION@@|%{version}|" $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.cmake28
- -#touch -r %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.cmake28
- -mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}
- -
- -#%if %{with gui}
- -## Desktop file
- -#desktop-file-install --delete-original \
- -# --dir=%{buildroot}%{_datadir}/applications \
- -# %{buildroot}/%{_datadir}/applications/CMake28.desktop
- -#%endif
- -
- -
- -#%check
- -#unset DISPLAY
- -#pushd build
- -##ModuleNotices fails for some unknown reason, and we don't care
- -##CMake.HTML currently requires internet access
- -##CTestTestUpload requires internet access
- -## Currently broken - disable for now
- -#bin/ctest28 -V -E ModuleNotices -E CMake.HTML -E CTestTestUpload %{?_smp_mflags}
- -#popd
- -
- -
- -%clean
- -rm -rf $RPM_BUILD_ROOT
- -
- -
- -#%if %{with gui}
- -#%post gui
- -#update-desktop-database &> /dev/null || :
- -#update-mime-database %{_datadir}/mime &> /dev/null || :
- -
- -#%postun gui
- -#update-desktop-database &> /dev/null || :
- -#update-mime-database %{_datadir}/mime &> /dev/null || :
- -#%endif
- -
- -
- -%files
- -%defattr(-,root,root,-)
- -#%config(noreplace) %{_sysconfdir}/rpm/macros.cmake
- -%{_docdir}/%{name}-%{version}/
- -#%if %{with gui}
- -#%exclude %{_docdir}/%{name}-%{version}/cmake28-gui.*
- -#%endif
- -%{_bindir}/ccmake
- -%{_bindir}/cmake
- -%{_bindir}/cpack
- -%{_bindir}/ctest
- -%{_datadir}/aclocal/cmake.m4
- -%{_datadir}/%{name}/
- -%{_mandir}/man1/*
- -#%exclude %{_mandir}/man1/cmake-gui.1.gz
- -#%{_datadir}/emacs/site-lisp/cmake
- -%{_libdir}/%{name}/
- -
- -#%if %{with gui}
- -#%files gui
- -#%defattr(-,root,root,-)
- -#%{_docdir}/%{name}-%{version}/cmake28-gui.*
- -#%{_bindir}/cmake28-gui
- -#%{_datadir}/applications/CMake28.desktop
- -#%{_datadir}/mime/packages/cmake28cache.xml
- -#%{_datadir}/pixmaps/CMake28Setup32.png
- -#%{_mandir}/man1/cmake28-gui.1.gz
- -#%endif
- Index: 3rdparty/centos63/cppunit.spec
- ===================================================================
- --- 3rdparty/centos63/cppunit.spec (revision 6104)
- +++ 3rdparty/centos63/cppunit.spec (working copy)
- @@ -1,146 +0,0 @@
- -Name: cppunit
- -Version: 1.12.1
- -Release: 3.1%{?dist}
- -
- -Summary: C++ unit testing framework
- -# no license in files
- -License: LGPLv2+
- -Group: Development/Libraries
- -Url: http://cppunit.sourceforge.net/
- -Source: http://downloads.sourceforge.net/cppunit/cppunit-%{version}.tar.gz
- -Patch0: cppunit-1.12.0-nolibdir.patch
- -
- -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
- -BuildRequires: doxygen, graphviz
- -
- -%description
- -CppUnit is the C++ port of the famous JUnit framework for unit testing.
- -Test output is in XML for automatic testing and GUI based for supervised
- -tests.
- -
- -%package devel
- -Summary: Libraries and headers for cppunit development
- -Group: Development/Libraries
- -Requires: pkgconfig, automake
- -Requires: %{name} = %{version}-%{release}
- -
- -%description devel
- -This package contains the libraries and headers necessary for developing
- -programs that use cppunit.
- -
- -%package doc
- -Summary: HTML formatted API documention for cppunit
- -Group: Documentation
- -
- -%description doc
- -The cppunit-doc package contains HTML formatted API documention generated by
- -the popular doxygen documentation generation tool.
- -
- -%prep
- -%setup -q
- -%patch0 -p1 -b .nolibdir
- -for file in THANKS ChangeLog NEWS; do
- - iconv -f latin1 -t utf8 < $file > ${file}.utf8
- - touch -c -r $file ${file}.utf8
- - mv ${file}.utf8 $file
- -done
- -
- -%build
- -export LDFLAGS=-ldl
- -%configure --enable-doxygen --disable-static
- -make %{?_smp_mflags}
- -
- -%install
- -rm -rf $RPM_BUILD_ROOT
- -make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
- -rm $RPM_BUILD_ROOT%{_libdir}/*.la
- -# remove double of doc
- -rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/cppunit
- -
- -# ensure that timestamp of cppunit-config is the same for all arches
- -touch -c -r cppunit-config.in.nolibdir $RPM_BUILD_ROOT%{_bindir}/cppunit-config
- -
- -# clean up examples
- -rm -rf __dist-examples __dist-examples-dir
- -cp -a examples __dist-examples
- -make -C __dist-examples distclean
- -# Makefile.am files are left as documentation
- -find __dist-examples \( -name Makefile.in -o -name .cvsignore -o -name '*.dsw' -o -name '*.dsp' \) -exec rm {} \;
- -chmod a-x __dist-examples/qt/run.bat
- -mkdir __dist-examples-dir
- -mv __dist-examples __dist-examples-dir/examples
- -
- -%clean
- -rm -rf $RPM_BUILD_ROOT
- -
- -%post -p /sbin/ldconfig
- -
- -%postun -p /sbin/ldconfig
- -
- -%files
- -%defattr(-,root,root,-)
- -%doc AUTHORS COPYING NEWS README THANKS ChangeLog TODO BUGS doc/FAQ
- -%{_bindir}/DllPlugInTester
- -%{_libdir}/libcppunit*.so.*
- -
- -%files devel
- -%defattr(-,root,root,-)
- -%{_bindir}/cppunit-config
- -%{_includedir}/cppunit
- -%{_libdir}/libcppunit.so
- -%{_datadir}/aclocal/cppunit.m4
- -%{_mandir}/man1/cppunit-config.1*
- -%{_libdir}/pkgconfig/cppunit.pc
- -
- -%files doc
- -%defattr(-,root,root,-)
- -%doc __dist-examples-dir/examples/
- -%doc doc/html
- -
- -%changelog
- -* Mon Nov 30 2009 Dennis Gregorovic <dgregor@redhat.com> - 1.12.1-3.1
- -- Rebuilt for RHEL 6
- -
- -* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-3
- -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- -
- -* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-2
- -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- -
- -* Thu Sep 18 2008 Patrice Dumas <pertusus@free.fr> 1.12.1-1
- -- Update to 1.12.1
- -
- -* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.12.0-5
- -- Autorebuild for GCC 4.3
- -
- -* Mon Dec 17 2007 Patrice Dumas <pertusus@free.fr> 1.12.0-4
- -- remove libdir reference to cppunit-config, should fix multiarch conflict
- - (#340951)
- -- fix encoding and remove windows related files in examples
- -- keep timestamps
- -
- -* Mon Jan 29 2007 Patrice Dumas <pertusus@free.fr> 1.12.0-3
- -- add rightly files to -devel (#224106)
- -- add necessary requires for -devel (#224106)
- -- ship examples
- -
- -* Sun Sep 10 2006 Patrice Dumas <pertusus@free.fr> 1.12.0-2
- -- rebuild for FC6
- -
- -* Wed Jul 5 2006 Patrice Dumas <pertusus@free.fr> 1.12.0-1
- -- update to 1.12
- -
- -* Sun May 21 2006 Patrice Dumas <pertusus@free.fr> 1.11.6-1
- -- update to 1.11.6
- -
- -* Wed Dec 21 2005 Patrice Dumas <pertusus@free.fr> 1.11.4-1
- -- update
- -
- -* Mon Aug 15 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.11.0-2
- -- various cleanups
- -
- -* Mon Jul 4 2005 Patrice Dumas <pertusus@free.fr> 1.11.0-1
- -- update using the fedora template
- -
- -* Sat Apr 14 2001 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
- -- Initial release
- Index: 3rdparty/centos63/libpqxx-31.spec
- ===================================================================
- --- 3rdparty/centos63/libpqxx-31.spec (revision 6104)
- +++ 3rdparty/centos63/libpqxx-31.spec (working copy)
- @@ -1,66 +0,0 @@
- -Name: libpqxx
- -Version: 3.1
- -Release: 1
- -Summary: C++ client API for PostgreSQL
- -
- -Group: System Environment/Libraries
- -License: BSD
- -URL: http://pqxx.org/
- -Source: http://pqxx.org/download/software/libpqxx/libpqxx-3.1.tar.gz
- -
- -BuildRequires: postgresql-devel
- -BuildRequires: pkgconfig
- -
- -%description
- -C++ client API for PostgreSQL. The standard front-end (in the sense of
- -"language binding") for writing C++ programs that use PostgreSQL.
- -Supersedes older libpq++ interface.
- -
- -%package devel
- -Summary: Development tools for libpqxx
- -Group: Development/Libraries
- -Requires: %{name} = %{version}-%{release}
- -Requires: pkgconfig
- -Requires: postgresql-devel
- -
- -%description devel
- -The libpgxx-devel package contains the header files and static
- -libraries necessary for developing programs which use libpqxx.
- -
- -%prep
- -%setup -q
- -
- -%build
- -%configure --enable-shared --disable-static
- -# I hate rpath... ;)
- -%{__perl} -pi -e 's/hardcode_into_libs=yes/hardcode_into_libs=no/;' \
- -libtool
- -make %{?_smp_mflags} -j%{?jobs:1}
- -
- -
- -%install
- -rm -rf $RPM_BUILD_ROOT
- -make install DESTDIR=$RPM_BUILD_ROOT %{?_smp_mflags}
- -
- -rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
- -%{__perl} -pi -e 's,-R/usr/lib,,' $RPM_BUILD_ROOT%{_bindir}/pqxx-config
- -
- -%clean
- -rm -rf $RPM_BUILD_ROOT
- -
- -%post -p /sbin/ldconfig
- -
- -%postun -p /sbin/ldconfig
- -
- -%files
- -%defattr(-,root,root,-)
- -%doc AUTHORS ChangeLog COPYING NEWS README VERSION
- -%{_libdir}/libpqxx-*.so
- -
- -%files devel
- -%defattr(-,root,root,-)
- -%doc README-UPGRADE
- -%{_bindir}/pqxx-config
- -%{_libdir}/libpqxx.so
- -%{_includedir}/pqxx
- -%{_libdir}/pkgconfig/libpqxx.pc
- Index: 3rdparty/centos63/log4cxx-0100.spec
- ===================================================================
- --- 3rdparty/centos63/log4cxx-0100.spec (revision 6104)
- +++ 3rdparty/centos63/log4cxx-0100.spec (working copy)
- @@ -1,67 +0,0 @@
- -Name: log4cxx
- -Version: 0.10.0
- -Release: 1
- -Summary: A port to C++ of the Log4j project
- -
- -Group: System Environment/Libraries
- -License: ASL 2.0
- -URL: http://logging.apache.org/log4cxx/index.html
- -Source0: http://www.apache.org/dist/logging/log4cxx/%{version}/apache-%{name}-%{version}.tar.gz
- -Patch0: log4cxx-cstring.patch
- -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
- -
- -BuildRequires: apr-devel,apr-util-devel,doxygen
- -
- -%description
- -Log4cxx is a popular logging package written in C++. One of its distinctive
- -features is the notion of inheritance in loggers. Using a logger hierarchy it
- -is possible to control which log statements are output at arbitrary
- -granularity. This helps reduce the volume of logged output and minimize the
- -cost of logging.
- -
- -%prep
- -%setup -q -n apache-%{name}-%{version}
- -%patch0 -p1
- -
- -%build
- -sed -i.libdir_syssearch -e \
- - '/sys_lib_dlsearch_path_spec/s|/usr/lib |/usr/lib /usr/lib64 /lib /lib64 |' \
- - configure
- -%configure
- -make -k %{?_smp_mflags}
- -
- -%install
- -rm -rf $RPM_BUILD_ROOT
- -make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
- -mv $RPM_BUILD_ROOT%{_datadir}/%{name}/html .
- -
- -%clean
- -rm -rf $RPM_BUILD_ROOT
- -
- -%post -p /sbin/ldconfig
- -%postun -p /sbin/ldconfig
- -
- -%files
- -%defattr(-,root,root,-)
- -%{_libdir}/liblog4cxx.so.10.0.0
- -%{_libdir}/liblog4cxx.so.10
- -
- -%doc NOTICE LICENSE KEYS
- -
- -%package devel
- -Requires: %{name} = %{version}-%{release},pkgconfig,apr-devel
- -Group: Development/Libraries
- -Summary: Header files for Log4xcc - a port to C++ of the Log4j project
- -
- -%description devel
- -Header files and documentation you can use to develop with log4cxx
- -
- -%files devel
- -%defattr(-,root,root,-)
- -%exclude %{_libdir}/*.la
- -%exclude %{_libdir}/*.a
- -%{_includedir}/log4cxx
- -%{_libdir}/liblog4cxx.so
- -%{_libdir}/pkgconfig/liblog4cxx.pc
- -%doc html/
- -
- Index: 3rdparty/centos63/mock-1124.spec
- ===================================================================
- --- 3rdparty/centos63/mock-1124.spec (revision 6104)
- +++ 3rdparty/centos63/mock-1124.spec (working copy)
- @@ -1,110 +0,0 @@
- -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
- -
- -Summary: Builds packages inside chroots
- -Name: mock
- -Version: 1.1.24
- -Release: 1
- -License: GPLv2+
- -Group: Development/Tools
- -Source: https://fedorahosted.org/mock/raw-attachment/wiki/MockTarballs/%{name}-%{version}.tar.xz
- -Source1: centos-6.3-x86_64.cfg
- -URL: http://fedoraproject.org/wiki/Projects/Mock
- -BuildArch: noarch
- -Requires: python >= 2.6, yum >= 2.4, yum-utils >= 1.1.9, tar, pigz, python-ctypes, python-decoratortools, usermode
- -Requires(pre): shadow-utils
- -Requires(post): coreutils
- -BuildRequires: python-devel
- -
- -%description
- -Mock takes an SRPM and builds it in a chroot
- -
- -%prep
- -%setup -q
- -%setup1
- -
- -%build
- -%configure
- -make
- -
- -%install
- -rm -rf $RPM_BUILD_ROOT
- -make %{?_smp_mflags} DESTDIR=$RPM_BUILD_ROOT install
- -mkdir -p $RPM_BUILD_ROOT/var/lib/mock
- -mkdir -p $RPM_BUILD_ROOT/var/cache/mock
- -ln -s consolehelper $RPM_BUILD_ROOT/usr/bin/mock
- -
- -# compatibility symlinks
- -# (probably be nuked in the future)
- -pushd $RPM_BUILD_ROOT/etc/mock
- -ln -s epel-5-i386.cfg fedora-5-i386-epel.cfg
- -ln -s epel-5-ppc.cfg fedora-5-ppc-epel.cfg
- -ln -s epel-5-x86_64.cfg fedora-5-x86_64-epel.cfg
- -# more compat, from devel/rawhide rename
- -ln -s fedora-rawhide-i386.cfg fedora-devel-i386.cfg
- -ln -s fedora-rawhide-x86_64.cfg fedora-devel-x86_64.cfg
- -ln -s fedora-rawhide-ppc.cfg fedora-devel-ppc.cfg
- -ln -s fedora-rawhide-ppc64.cfg fedora-devel-ppc64.cfg
- -install -m 0644 %{SOURCE1} .
- -popd
- -echo "%defattr(0644, root, mock)" > %{name}.cfgs
- -find $RPM_BUILD_ROOT%{_sysconfdir}/mock -name "*.cfg" \
- - | sed -e "s|^$RPM_BUILD_ROOT|%%config(noreplace) |" >> %{name}.cfgs
- -
- -# just for %%ghosting purposes
- -ln -s fedora-rawhide-x86_64.cfg $RPM_BUILD_ROOT%{_sysconfdir}/mock/default.cfg
- -
- -%clean
- -rm -rf $RPM_BUILD_ROOT
- -
- -%pre
- -if [ $1 -eq 1 ]; then
- - groupadd -r mock >/dev/null 2>&1 || :
- -fi
- -
- -%post
- -# TODO: use dist and version of install system, not build one
- -if [ ! -e %{_sysconfdir}/%{name}/default.cfg ] ; then
- - # in case of dangling symlink
- - rm -f %{_sysconfdir}/%{name}/default.cfg
- - arch=$(uname -i)
- - for ver in %{?fedora}%{?rhel} rawhide ; do
- - cfg=%{?fedora:fedora}%{?rhel:epel}-$ver-$arch.cfg
- - if [ -e %{_sysconfdir}/%{name}/$cfg ] ; then
- - ln -s -f $cfg %{_sysconfdir}/%{name}/default.cfg
- - exit 0
- - fi
- - done
- -fi
- -# fix cache permissions from old installs
- -chmod 2775 /var/cache/mock
- -:
- -
- -%files -f %{name}.cfgs
- -%defattr(-, root, root)
- -
- -# executables
- -%{_bindir}/mock
- -%{_bindir}/mockchain
- -%attr(0755, root, root) %{_sbindir}/mock
- -
- -# python stuff
- -%{python_sitelib}/*
- -
- -# config files
- -%dir %{_sysconfdir}/%{name}
- -%ghost %config(noreplace,missingok) %{_sysconfdir}/%{name}/default.cfg
- -%config(noreplace) %{_sysconfdir}/%{name}/*.ini
- -%config(noreplace) %{_sysconfdir}/pam.d/%{name}
- -%config(noreplace) %{_sysconfdir}/security/console.apps/%{name}
- -%{_sysconfdir}/bash_completion.d
- -
- -# docs
- -%{_mandir}/man1/mock.1*
- -%{_mandir}/man1/mockchain.1*
- -%doc ChangeLog
- -
- -# cache & build dirs
- -%defattr(0775, root, mock, 02775)
- -%dir /var/cache/mock
- -%dir /var/lib/mock
- -
- \ No newline at end of file
- Index: 3rdparty/centos63/patches/boost-map_iterator.patch
- ===================================================================
- --- 3rdparty/centos63/patches/boost-map_iterator.patch (revision 6104)
- +++ 3rdparty/centos63/patches/boost-map_iterator.patch (working copy)
- @@ -1,12 +0,0 @@
- -diff -ur a/boost/ptr_container/detail/map_iterator.hpp b/boost/ptr_container/detail/map_iterator.hpp
- ---- a/boost/ptr_container/detail/map_iterator.hpp
- -+++ b/boost/ptr_container/detail/map_iterator.hpp
- -@@ -49,7 +49,7 @@
- - : first(rp->first), second(rp->second)
- - { }
- -
- -- const ref_pair* const operator->() const
- -+ const ref_pair* operator->() const
- - {
- - return this;
- - }
- Index: 3rdparty/centos63/patches/boost-serializationExportWarningPatch.patch
- ===================================================================
- --- 3rdparty/centos63/patches/boost-serializationExportWarningPatch.patch (revision 6104)
- +++ 3rdparty/centos63/patches/boost-serializationExportWarningPatch.patch (working copy)
- @@ -1,12 +0,0 @@
- -diff -ur a/boost/serialization/export.hpp b/boost/serialization/export.hpp
- ---- a/boost/serialization/export.hpp
- -+++ b/boost/serialization/export.hpp
- -@@ -131,7 +131,7 @@
- - // through pointers to their base classes.
- - instantiate_ptr_serialization((T*)0, 0, adl_tag());
- - }
- -- const void export_guid(mpl::true_) const {
- -+ void export_guid(mpl::true_) const {
- - }
- - guid_initializer const & export_guid() const {
- - BOOST_STATIC_WARNING(boost::is_polymorphic< T >::value);
- Index: 3rdparty/centos63/patches/ccache.csh.in
- ===================================================================
- --- 3rdparty/centos63/patches/ccache.csh.in (revision 6104)
- +++ 3rdparty/centos63/patches/ccache.csh.in (working copy)
- @@ -1,28 +0,0 @@
- -# Use ccache by default. Users who don't want that can setenv the
- -# CCACHE_DISABLE environment variable in their personal profile.
- -
- -if ( "$path" !~ *@LIBDIR@/ccache* ) then
- - set path = ( @LIBDIR@/ccache $path )
- -endif
- -
- -# If @CACHEDIR@ is writable, use a shared cache there, except for root.
- -# Users who don't want that even if they have the write permission can setenv
- -# the CCACHE_DIR environment variable to another location and possibly unsetenv
- -# the CCACHE_UMASK environment variable in their personal profile.
- -
- -if ( $?CCACHE_DIR ) then
- - if ( ! -w "$CCACHE_DIR" ) then
- - # Reset broken settings maybe inherited when switching users (#651023).
- - unsetenv CCACHE_DIR
- - unsetenv CCACHE_UMASK
- - endif
- -else if ( $uid != 0 ) then
- - if ( -w @CACHEDIR@ && -d @CACHEDIR@ ) then
- - # Set up the shared cache.
- - setenv CCACHE_DIR @CACHEDIR@
- - setenv CCACHE_UMASK 002
- - unsetenv CCACHE_HARDLINK
- - endif
- -endif
- -
- -setenv CCACHE_HASHDIR
- Index: 3rdparty/centos63/patches/ccache.sh.in
- ===================================================================
- --- 3rdparty/centos63/patches/ccache.sh.in (revision 6104)
- +++ 3rdparty/centos63/patches/ccache.sh.in (working copy)
- @@ -1,29 +0,0 @@
- -# Use ccache by default. Users who don't want that can set the CCACHE_DISABLE
- -# environment variable in their personal profile.
- -
- -case ":${PATH:-}:" in
- - *:@LIBDIR@/ccache:*) ;;
- - *) PATH="@LIBDIR@/ccache${PATH:+:$PATH}" ;;
- -esac
- -
- -# If @CACHEDIR@ is writable, use a shared cache there, except for root.
- -# Users who don't want that even if they have the write permission can set
- -# the CCACHE_DIR environment variable to another location and possibly unset
- -# the CCACHE_UMASK environment variables in their personal profile.
- -
- -if [ -n "${CCACHE_DIR:-}" ] ; then
- - if [ ! -w "$CCACHE_DIR" ] ; then
- - # Reset broken settings maybe inherited when switching users (#651023).
- - unset CCACHE_DIR
- - unset CCACHE_UMASK
- - fi
- -elif [ "${EUID:-}" != 0 ] ; then
- - if [ -w @CACHEDIR@ ] && [ -d @CACHEDIR@ ] ; then
- - # Set up the shared cache.
- - export CCACHE_DIR=@CACHEDIR@
- - export CCACHE_UMASK=002
- - unset CCACHE_HARDLINK
- - fi
- -fi
- -
- -export CCACHE_HASHDIR=
- Index: 3rdparty/centos63/patches/cppunit-1.12.0-nolibdir.patch
- ===================================================================
- --- 3rdparty/centos63/patches/cppunit-1.12.0-nolibdir.patch (revision 6104)
- +++ 3rdparty/centos63/patches/cppunit-1.12.0-nolibdir.patch (working copy)
- @@ -1,13 +0,0 @@
- -diff -up cppunit-1.12.0/cppunit-config.in.nolibdir cppunit-1.12.0/cppunit-config.in
- ---- cppunit-1.12.0/cppunit-config.in.nolibdir 2007-10-21 11:19:40.000000000 +0200
- -+++ cppunit-1.12.0/cppunit-config.in 2007-10-21 11:20:01.000000000 +0200
- -@@ -87,9 +87,6 @@ if test "$echo_cflags" = "yes"; then
- - fi
- -
- - if test "$echo_libs" = "yes"; then
- -- if test @libdir@ != /usr/lib ; then
- -- my_linker_flags="-L@libdir@"
- -- fi
- - echo ${my_linker_flags} -lcppunit @LIBADD_DL@
- - fi
- -
- Index: 3rdparty/centos63/patches/log4cxx-cstring.patch
- ===================================================================
- --- 3rdparty/centos63/patches/log4cxx-cstring.patch (revision 6104)
- +++ 3rdparty/centos63/patches/log4cxx-cstring.patch (working copy)
- @@ -1,35 +0,0 @@
- -diff -ur apache-log4cxx-0.10.0.orig/src/examples/cpp/console.cpp apache-log4cxx-0.10.0.new/src/examples/cpp/console.cpp
- ---- apache-log4cxx-0.10.0.orig/src/examples/cpp/console.cpp 2008-03-31 18:34:52.000000000 -0400
- -+++ apache-log4cxx-0.10.0.new/src/examples/cpp/console.cpp 2008-11-16 17:01:37.000000000 -0500
- -@@ -22,6 +22,9 @@
- - #include <log4cxx/logmanager.h>
- - #include <iostream>
- - #include <locale.h>
- -+#include <cstring>
- -+#include <cstdio>
- -+#include <stdint.h>
- -
- - using namespace log4cxx;
- - using namespace log4cxx::helpers;
- -diff -ur apache-log4cxx-0.10.0.orig/src/main/cpp/inputstreamreader.cpp apache-log4cxx-0.10.0.new/src/main/cpp/inputstreamreader.cpp
- ---- apache-log4cxx-0.10.0.orig/src/main/cpp/inputstreamreader.cpp 2008-03-31 18:34:09.000000000 -0400
- -+++ apache-log4cxx-0.10.0.new/src/main/cpp/inputstreamreader.cpp 2008-11-16 16:56:42.000000000 -0500
- -@@ -20,6 +20,7 @@
- - #include <log4cxx/helpers/exception.h>
- - #include <log4cxx/helpers/pool.h>
- - #include <log4cxx/helpers/bytebuffer.h>
- -+#include <cstring>
- -
- - using namespace log4cxx;
- - using namespace log4cxx::helpers;
- -diff -ur apache-log4cxx-0.10.0.orig/src/main/cpp/socketoutputstream.cpp apache-log4cxx-0.10.0.new/src/main/cpp/socketoutputstream.cpp
- ---- apache-log4cxx-0.10.0.orig/src/main/cpp/socketoutputstream.cpp 2008-03-31 18:34:09.000000000 -0400
- -+++ apache-log4cxx-0.10.0.new/src/main/cpp/socketoutputstream.cpp 2008-11-16 16:59:54.000000000 -0500
- -@@ -19,6 +19,7 @@
- - #include <log4cxx/helpers/socketoutputstream.h>
- - #include <log4cxx/helpers/socket.h>
- - #include <log4cxx/helpers/bytebuffer.h>
- -+#include <cstring>
- -
- - using namespace log4cxx;
- - using namespace log4cxx::helpers;
- Index: 3rdparty/centos63/pigz-225.spec
- ===================================================================
- --- 3rdparty/centos63/pigz-225.spec (revision 6104)
- +++ 3rdparty/centos63/pigz-225.spec (working copy)
- @@ -1,38 +0,0 @@
- -Name: pigz
- -Version: 2.2.5
- -Release: 1
- -Summary: Parallel implementation of gzip
- -Group: Applications/File
- -License: zlib
- -URL: http://www.zlib.net/pigz/
- -Source: http://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
- -
- -BuildRequires: zlib-devel
- -BuildRequires: ncompress
- -
- -%description
- -pigz, which stands for parallel implementation of gzip,
- -is a fully functional replacement for gzip that exploits
- -multiple processors and multiple cores to the hilt when compressing data.
- -
- -%prep
- -%setup -q
- -
- -%build
- -make %{?_smp_mflags} CFLAGS='%{optflags}'
- -
- -%install
- -rm -rf $RPM_BUILD_ROOT
- -install -p -D pigz $RPM_BUILD_ROOT%{_bindir}/pigz
- -pushd $RPM_BUILD_ROOT%{_bindir}; ln pigz unpigz; popd
- -install -p -D pigz.1 -m 0644 $RPM_BUILD_ROOT%{_datadir}/man/man1/pigz.1
- -
- -%clean
- -rm -rf $RPM_BUILD_ROOT
- -
- -%files
- -%defattr(-,root,root,-)
- -%doc pigz.pdf README
- -%{_bindir}/pigz
- -%{_bindir}/unpigz
- -%{_datadir}/man/man1/pigz.*
- Index: 3rdparty/centos63/protobuf-241.spec
- ===================================================================
- --- 3rdparty/centos63/protobuf-241.spec (revision 6104)
- +++ 3rdparty/centos63/protobuf-241.spec (working copy)
- @@ -1,187 +0,0 @@
- -Summary: Protocol Buffers - Google's data interchange format
- -Name: protobuf
- -Version: 2.4.1
- -Release: 2
- -License: BSD
- -Group: Development/Libraries
- -Source: http://protobuf.googlecode.com/files/%{name}-%{version}.tar.bz2
- -URL: http://code.google.com/p/protobuf/
- -BuildRequires: libtool pkgconfig
- -
- -%description
- -Protocol Buffers are a way of encoding structured data in an efficient
- -yet extensible format. Google uses Protocol Buffers for almost all of
- -its internal RPC protocols and file formats.
- -
- -Protocol buffers are a flexible, efficient, automated mechanism for
- -serializing structured data – think XML, but smaller, faster, and
- -simpler. You define how you want your data to be structured once, then
- -you can use special generated source code to easily write and read
- -your structured data to and from a variety of data streams and using a
- -variety of languages. You can even update your data structure without
- -breaking deployed programs that are compiled against the "old" format.
- -
- -%package compiler
- -Summary: Protocol Buffers compiler
- -Group: Development/Libraries
- -Requires: %{name} = %{version}-%{release}
- -
- -%description compiler
- -This package contains Protocol Buffers compiler for all programming
- -languages
- -
- -%package devel
- -Summary: Protocol Buffers C++ headers and libraries
- -Group: Development/Libraries
- -Requires: %{name} = %{version}-%{release}
- -Requires: %{name}-compiler = %{version}-%{release}
- -Requires: pkgconfig
- -
- -%description devel
- -This package contains Protocol Buffers compiler for all languages and
- -C++ headers and libraries
- -
- -%package static
- -Summary: Static development files for %{name}
- -Group: Development/Libraries
- -Requires: %{name} = %{version}-%{release}
- -
- -%description static
- -Static libraries for Protocol Buffers
- -
- -%package lite
- -Summary: Protocol Buffers LITE_RUNTIME libraries
- -Group: Development/Libraries
- -
- -%description lite
- -Protocol Buffers built with optimize_for = LITE_RUNTIME.
- -
- -The "optimize_for = LITE_RUNTIME" option causes the compiler to generate code
- -which only depends libprotobuf-lite, which is much smaller than libprotobuf but
- -lacks descriptors, reflection, and some other features.
- -
- -%package lite-devel
- -Summary: Protocol Buffers LITE_RUNTIME development libraries
- -Group: Development/Libraries
- -Requires: %{name}-devel = %{version}-%{release}
- -Requires: %{name}-lite = %{version}-%{release}
- -
- -%description lite-devel
- -This package contains development libraries built with
- -optimize_for = LITE_RUNTIME.
- -
- -The "optimize_for = LITE_RUNTIME" option causes the compiler to generate code
- -which only depends libprotobuf-lite, which is much smaller than libprotobuf but
- -lacks descriptors, reflection, and some other features.
- -
- -%package lite-static
- -Summary: Static development files for %{name}-lite
- -Group: Development/Libraries
- -Requires: %{name}-devel = %{version}-%{release}
- -
- -%description lite-static
- -This package contains static development libraries built with
- -optimize_for = LITE_RUNTIME.
- -
- -The "optimize_for = LITE_RUNTIME" option causes the compiler to generate code
- -which only depends libprotobuf-lite, which is much smaller than libprotobuf but
- -lacks descriptors, reflection, and some other features.
- -
- -%package java
- -Summary: Java Protocol Buffers runtime library
- -Group: Development/Languages
- -BuildRequires: java-devel >= 1.6
- -BuildRequires: jpackage-utils
- -BuildRequires: apache-maven
- -#BuildRequires: maven-compiler-plugin
- -#BuildRequires: maven-install-plugin
- -#BuildRequires: maven-jar-plugin
- -#BuildRequires: maven-javadoc-plugin
- -#uildRequires: maven-resources-plugin
- -#BuildRequires: maven-surefire-plugin
- -#BuildRequires: maven-antrun-plugin
- -#BuildRequires: maven-doxia
- -#BuildRequires: maven-doxia-sitetools
- -Requires: java
- -Requires: jpackage-utils
- -Conflicts: %{name}-compiler > %{version}
- -Conflicts: %{name}-compiler < %{version}
- -BuildArch: noarch
- -
- -%description java
- -This package contains Java Protocol Buffers runtime library.
- -
- -%prep
- -%setup -q
- -
- -%build
- -%configure
- -make %{?_smp_mflags}
- -
- -pushd java
- -mvn package
- -popd
- -
- -%install
- -rm -rf %{buildroot}
- -make %{?_smp_mflags} install DESTDIR=%{buildroot} STRIPBINARIES=no INSTALL="%{__install} -p" CPPROG="cp -p"
- -find %{buildroot} -type f -name "*.la" -exec rm -f {} \;
- -
- -pushd java
- -install -d -m 755 %{buildroot}%{_javadir}
- -install -pm 644 target/%{name}-java-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
- -popd
- -
- -%post -p /sbin/ldconfig
- -%postun -p /sbin/ldconfig
- -
- -%post lite -p /sbin/ldconfig
- -%postun lite -p /sbin/ldconfig
- -
- -%post compiler -p /sbin/ldconfig
- -%postun compiler -p /sbin/ldconfig
- -
- -%clean
- -rm -rf %{buildroot}
- -
- -%files
- -%defattr(-, root, root, -)
- -%{_libdir}/libprotobuf.so.*
- -%doc CHANGES.txt CONTRIBUTORS.txt COPYING.txt README.txt
- -
- -%files compiler
- -%defattr(-, root, root, -)
- -%{_bindir}/protoc
- -%{_libdir}/libprotoc.so.*
- -%doc COPYING.txt README.txt
- -
- -%files devel
- -%defattr(-, root, root, -)
- -%dir %{_includedir}/google
- -%{_includedir}/google/protobuf/
- -%{_libdir}/libprotobuf.so
- -%{_libdir}/libprotoc.so
- -%{_libdir}/pkgconfig/protobuf.pc
- -%doc examples/add_person.cc examples/addressbook.proto examples/list_people.cc examples/Makefile examples/README.txt
- -
- -%files static
- -%defattr(-, root, root, -)
- -%{_libdir}/libprotobuf.a
- -%{_libdir}/libprotoc.a
- -
- -%files lite
- -%defattr(-, root, root, -)
- -%{_libdir}/libprotobuf-lite.so.*
- -
- -%files lite-devel
- -%defattr(-, root, root, -)
- -%{_libdir}/libprotobuf-lite.so
- -%{_libdir}/pkgconfig/protobuf-lite.pc
- -
- -%files lite-static
- -%defattr(-, root, root, -)
- -%{_libdir}/libprotobuf-lite.a
- -
- -%files java
- -%defattr(-, root, root, -)
- -%{_javadir}/%{name}.jar
- Index: 3rdparty/centos63/python-argparse-121.spec
- ===================================================================
- --- 3rdparty/centos63/python-argparse-121.spec (revision 6104)
- +++ 3rdparty/centos63/python-argparse-121.spec (working copy)
- @@ -1,42 +0,0 @@
- -Summary: Python command-line parsing library
- -Name: python-argparse
- -Version: 1.2.1
- -Release: 1
- -URL: http://pypi.python.org/pypi/argparse
- -Source: http://argparse.googlecode.com/files/argparse-%{version}.tar.gz
- -License: Python
- -Group: Development/Tools
- -BuildArch: noarch
- -Requires: python
- -
- -BuildRequires: python
- -BuildRequires: python-setuptools
- -
- -%description
- -The argparse module makes it easy to write user friendly command line interfaces.
- -The program defines what arguments it requires, and argparse will figure out how
- -to parse those out of sys.argv. The argparse module also automatically generates
- -help and usage messages and issues errors when users give the program invalid arguments.
- -As of Python >= 2.7 and >= 3.2, the argparse module is maintained within the Python
- -standard library. For users who still need to support Python < 2.7 or < 3.2, it is
- -also provided as a separate package, which tries to stay compatible with the module
- -in the standard library, but also supports older Python versions.
- -
- -%prep
- -%setup -q -n argparse-%{version}
- -
- -%build
- -%{__python} setup.py build
- -
- -%install
- -rm -rf ${RPM_BUILD_ROOT}
- -%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
- -
- -%clean
- -rm -rf ${RPM_BUILD_ROOT}
- -
- -%files
- -%defattr(-,root,root)
- -%doc LICENSE.txt PKG-INFO NEWS.txt README.txt
- -%doc doc/*
- -%{python_sitelib}/*
- Index: 3rdparty/centos63/swig-208.spec
- ===================================================================
- --- 3rdparty/centos63/swig-208.spec (revision 6104)
- +++ 3rdparty/centos63/swig-208.spec (working copy)
- @@ -1,46 +0,0 @@
- -Summary: Simplified Wrapper and Interface Generator
- -Name: swig2
- -Version: 2.0.8
- -Release: 1
- -URL: http://www.swig.org/
- -Source: http://prdownloads.sourceforge.net/swig/swig-%{version}.tar.gz
- -License: BSD
- -Group: Development/Tools
- -
- -BuildRequires: pcre-devel
- -
- -%description
- -SWIG is a software development tool that connects programs written in C and C++
- -with a variety of high-level programming languages. SWIG is primarily used with
- -common scripting languages such as Perl, Python, Tcl/Tk, and Ruby, however the
- -list of supported languages also includes non-scripting languages such as Java,
- -OCAML and C#. Also several interpreted and compiled Scheme implementations
- -(Guile, MzScheme, Chicken) are supported. SWIG is most commonly used to create
- -high-level interpreted or compiled programming environments, user interfaces,
- -and as a tool for testing and prototyping C/C++ software. SWIG can also export
- -its parse tree in the form of XML and Lisp s-expressions.
- -
- -%prep
- -%setup -q -n swig-%{version}
- -
- -%build
- -%configure
- -make %{?_smp_mflags}
- -
- -%install
- -rm -rf ${RPM_BUILD_ROOT}
- -make DESTDIR=$RPM_BUILD_ROOT install
- -#rename swig to swig2 so we can easily coexist with swig-1*
- -mv ${RPM_BUILD_ROOT}/%{_bindir}/swig ${RPM_BUILD_ROOT}/%{_bindir}/swig2
- -mv ${RPM_BUILD_ROOT}/%{_bindir}/ccache-swig ${RPM_BUILD_ROOT}/%{_bindir}/ccache-swig2
- -mv ${RPM_BUILD_ROOT}/usr/share/man/man1/ccache-swig.1 ${RPM_BUILD_ROOT}/usr/share/man/man1/ccache-swig2.1
- -
- -%clean
- -rm -rf ${RPM_BUILD_ROOT}
- -
- -%files
- -%defattr(-,root,root)
- -%doc ANNOUNCE CHANGES INSTALL LICENSE LICENSE-GPL LICENSE-UNIVERSITIES README RELEASENOTES
- -%doc Doc/*
- -%{_bindir}/*
- -/usr/share/*
- Index: deployment/common/chroot_build.sh
- ===================================================================
- --- deployment/common/chroot_build.sh (revision 6104)
- +++ deployment/common/chroot_build.sh (working copy)
- @@ -1,11 +1,11 @@
- #!/bin/bash
- case `./os_detect.sh` in
- - "CentOS 6.3")
- - ./chroot_build.py -i -d centos-6.3-x86_64
- + "CentOS 6")
- + ./chroot_build.py -i -d centos-6-x86_64
- ;;
- - "RedHat 6.3")
- - echo "We do not support build SciDB under RedHat 6.3. Please use CentOS 6.3 instead"
- + "RedHat 6")
- + echo "We do not support build SciDB under RedHat 6. Please use CentOS 6 instead"
- exit 1
- ;;
- "Ubuntu 12.04")
- Index: deployment/common/configure_postgresql.py
- ===================================================================
- --- deployment/common/configure_postgresql.py (revision 6104)
- +++ deployment/common/configure_postgresql.py (working copy)
- @@ -19,7 +19,7 @@
- password=sys.argv[3]
- network=sys.argv[4]
- -if OS == "CentOS 6.3" or OS == "RedHat 6.3":
- +if OS == "CentOS 6" or OS == "RedHat 6":
- pg_hba_conf="/var/lib/pgsql/data/pg_hba.conf"
- postgresql_conf="/var/lib/pgsql/data/postgresql.conf"
- default=[
- Index: deployment/common/configure_postgresql.sh
- ===================================================================
- --- deployment/common/configure_postgresql.sh (revision 6104)
- +++ deployment/common/configure_postgresql.sh (working copy)
- @@ -20,7 +20,7 @@
- chmod 0440 ${POSTGRESQL_SUDOERS}
- }
- -function centos63()
- +function centos6()
- {
- yum install -y postgresql postgresql-server postgresql-contrib expect
- /sbin/chkconfig postgresql on
- @@ -31,11 +31,11 @@
- OS=`./os_detect.sh`
- case ${OS} in
- - "CentOS 6.3")
- - centos63
- + "CentOS 6")
- + centos6
- ;;
- - "RedHat 6.3")
- - centos63
- + "RedHat 6")
- + centos6
- ;;
- "Ubuntu 12.04")
- apt-get update
- Index: deployment/common/install_scidb_packages.sh
- ===================================================================
- --- deployment/common/install_scidb_packages.sh (revision 6104)
- +++ deployment/common/install_scidb_packages.sh (working copy)
- @@ -13,7 +13,7 @@
- dpkg -i ${PACKAGE_FILE_NAME_LIST}
- }
- -function centos63
- +function centos6
- {
- echo "Install SciDB packages: ${PACKAGE_FILE_NAME_LIST}"
- rpm -i ${PACKAGE_FILE_NAME_LIST}
- @@ -22,12 +22,12 @@
- OS=`./os_detect.sh`
- -if [ "${OS}" = "CentOS 6.3" ]; then
- - centos63
- +if [ "${OS}" = "CentOS 6" ]; then
- + centos6
- fi
- -if [ "${OS}" = "RedHat 6.3" ]; then
- - centos63
- +if [ "${OS}" = "RedHat 6" ]; then
- + centos6
- fi
- if [ "${OS}" = "Ubuntu 12.04" ]; then
- Index: deployment/common/os_detect.sh
- ===================================================================
- --- deployment/common/os_detect.sh (revision 6104)
- +++ deployment/common/os_detect.sh (working copy)
- @@ -5,16 +5,16 @@
- if [ $# -eq 1 ]; then
- FILE=`readlink -f ${1}`
- fi;
- -if [ `cat ${FILE} | grep "CentOS" | grep "6.3" | wc -l` = "1" ]; then
- - OS="CentOS 6.3"
- +if [ `cat ${FILE} | grep "CentOS" | grep "6" | wc -l` = "1" ]; then
- + OS="CentOS 6"
- fi
- if [ `cat ${FILE} | grep "Ubuntu" | grep "12.04" | wc -l` = "1" ]; then
- OS="Ubuntu 12.04"
- fi
- -if [ `cat ${FILE} | grep "Red Hat" | grep "6.3" | wc -l` = "1" ]; then
- - OS="RedHat 6.3"
- +if [ `cat ${FILE} | grep "Red Hat" | grep "6" | wc -l` = "1" ]; then
- + OS="RedHat 6"
- fi
- if [ "${OS}" = "not supported" ]; then
- Index: deployment/common/prepare_chroot.sh
- ===================================================================
- --- deployment/common/prepare_chroot.sh (revision 6104)
- +++ deployment/common/prepare_chroot.sh (working copy)
- @@ -14,7 +14,7 @@
- chmod a-wx,o-r,ug+r ${CHROOT_SUDOERS}
- }
- -function centos63 ()
- +function centos6 ()
- {
- yum install --enablerepo=scidb3rdparty -y gcc make rpm-build mock python-argparse git git-svn
- chroot_sudoers_mock
- @@ -39,15 +39,15 @@
- function redhat63 ()
- {
- -echo "We do not support build SciDB under RedHat 6.3. Please use CentOS 6.3 instead"
- +echo "We do not support build SciDB under RedHat 6. Please use CentOS 6 instead"
- exit 1
- }
- -if [ "${OS}" = "CentOS 6.3" ]; then
- - centos63
- +if [ "${OS}" = "CentOS 6" ]; then
- + centos6
- fi
- -if [ "${OS}" = "RedHat 6.3" ]; then
- +if [ "${OS}" = "RedHat 6" ]; then
- redhat63
- fi
- Index: deployment/common/prepare_httpd_cdash.sh
- ===================================================================
- --- deployment/common/prepare_httpd_cdash.sh (revision 6104)
- +++ deployment/common/prepare_httpd_cdash.sh (working copy)
- @@ -3,7 +3,7 @@
- username=${1}
- case `./os_detect.sh` in
- - "CentOS 6.3")
- + "CentOS 6")
- service iptables stop
- chkconfig iptables off
- yum install -y httpd
- @@ -23,8 +23,8 @@
- rm -f ${CONFIG}.new
- setenforce 0
- ;;
- - "RedHat 6.3")
- - echo "We do not support build SciDB under RedHat 6.3. Please use CentOS 6.3 instead"
- + "RedHat 6")
- + echo "We do not support build SciDB under RedHat 6. Please use CentOS 6 instead"
- exit 1
- ;;
- "Ubuntu 12.04")
- Index: deployment/common/prepare_toolchain.sh
- ===================================================================
- --- deployment/common/prepare_toolchain.sh (revision 6104)
- +++ deployment/common/prepare_toolchain.sh (working copy)
- @@ -28,9 +28,9 @@
- echo "DONE"
- }
- -function centos63 ()
- +function centos6 ()
- {
- -echo "Prepare CentOS 6.3 for build SciDB"
- +echo "Prepare CentOS 6 for build SciDB"
- INSTALL="yum install --enablerepo=scidb3rdparty -y"
- # Build dependencies:
- @@ -51,17 +51,17 @@
- function redhat63 ()
- {
- -echo "We do not support build SciDB under RedHat 6.3. Please use CentOS 6.3 instead"
- +echo "We do not support build SciDB under RedHat 6. Please use CentOS 6 instead"
- exit 1
- }
- OS=`./os_detect.sh`
- -if [ "${OS}" = "CentOS 6.3" ]; then
- - centos63
- +if [ "${OS}" = "CentOS 6" ]; then
- + centos6
- fi
- -if [ "${OS}" = "RedHat 6.3" ]; then
- +if [ "${OS}" = "RedHat 6" ]; then
- redhat63
- fi
- Index: deployment/common/register_3rdparty_scidb_repository.sh
- ===================================================================
- --- deployment/common/register_3rdparty_scidb_repository.sh (revision 6104)
- +++ deployment/common/register_3rdparty_scidb_repository.sh (working copy)
- @@ -1,6 +1,6 @@
- #!/bin/bash
- -function centos63()
- +function centos6()
- {
- (echo <<EOF "[scidb3rdparty]
- name=SciDB 3rdparty repository
- @@ -17,12 +17,12 @@
- OS=`./os_detect.sh`
- -if [ "${OS}" = "CentOS 6.3" ]; then
- - centos63
- +if [ "${OS}" = "CentOS 6" ]; then
- + centos6
- fi
- -if [ "${OS}" = "RedHat 6.3" ]; then
- - centos63
- +if [ "${OS}" = "RedHat 6" ]; then
- + centos6
- fi
- # We do not need 3rdparty for Ubuntu 12.04
- Index: deployment/common/scidb_install.sh
- ===================================================================
- --- deployment/common/scidb_install.sh (revision 6104)
- +++ deployment/common/scidb_install.sh (working copy)
- @@ -1,6 +1,6 @@
- #!/bin/bash
- -function centos63 ()
- +function centos6 ()
- {
- /sbin/chkconfig iptables off
- /sbin/service iptables stop
- @@ -25,12 +25,12 @@
- OS=`./os_detect.sh`
- -if [ "${OS}" = "CentOS 6.3" ]; then
- - centos63
- +if [ "${OS}" = "CentOS 6" ]; then
- + centos6
- fi
- -if [ "${OS}" = "RedHat 6.3" ]; then
- - centos63
- +if [ "${OS}" = "RedHat 6" ]; then
- + centos6
- fi
- if [ "${OS}" = "Ubuntu 12.04" ]; then
- Index: deployment/common/user_access.sh
- ===================================================================
- --- deployment/common/user_access.sh (revision 6104)
- +++ deployment/common/user_access.sh (working copy)
- @@ -35,11 +35,11 @@
- disable_host_checking
- chmod go-rwx,u+rwx ${HOME}/.ssh
- chmod a-x,go-rw,u+rw ${HOME}/.ssh/*
- - if [ "${OS}" = "CentOS 6.3" ]; then
- + if [ "${OS}" = "CentOS 6" ]; then
- selinux_home_ssh
- fi
- - if [ "${OS}" = "RedHat 6.3" ]; then
- + if [ "${OS}" = "RedHat 6" ]; then
- selinux_home_ssh
- fi
- }
- Index: deployment/deploy.sh
- ===================================================================
- --- deployment/deploy.sh (revision 6104)
- +++ deployment/deploy.sh (working copy)
- @@ -153,7 +153,7 @@
- function configure_rpm ()
- {
- # build target
- - target=centos-6.3-x86_64
- + target=centos-6-x86_64
- # package kind
- kind=rpm
- # get package name from filename
- @@ -201,14 +201,14 @@
- fi;
- # Match OS
- case "${OS}" in
- - "CentOS 6.3")
- + "CentOS 6")
- configure_rpm
- ;;
- - "RedHat 6.3")
- + "RedHat 6")
- if [ ${with_redhat} == 1 ]; then
- configure_rpm
- else
- - echo "We do not support build SciDB under RedHat 6.3. Please use CentOS 6.3 instead"
- + echo "We do not support build SciDB under RedHat 6. Please use CentOS 6 instead"
- exit 1
- fi;
- ;;
- Index: utils/make_packages.sh
- ===================================================================
- --- utils/make_packages.sh (revision 6104)
- +++ utils/make_packages.sh (working copy)
- @@ -31,7 +31,7 @@
- esac
- if [ "$target" == "chroot" ]; then
- - [ "$#" -lt 4 ] && echo Looks like you forgot chroot distro! Try: centos-6.3-x86_64 or ubuntu-precise-amd64 && usage
- + [ "$#" -lt 4 ] && echo Looks like you forgot chroot distro! Try: centos-6-x86_64 or ubuntu-precise-amd64 && usage
- fi
- if [ $target != "insource" ]; then
Add Comment
Please, Sign In to add comment