|
Timothy St. Clair |
37ac802 |
%global commit 4ce5475346a0abb7ef4b7ffc9836c5836d7c7a66
|
|
Timothy St. Clair |
1ab3ae2 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
Timothy St. Clair |
37ac802 |
%global tag 0.23.0
|
|
Timothy St. Clair |
1ab3ae2 |
%global skiptests 1
|
|
Timothy St. Clair |
afbc743 |
%global libevver 4.15
|
|
Timothy St. Clair |
afbc743 |
%global py_version 2.7
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
f424db0 |
# build unbundled for fedora but enable
|
|
Timothy St. Clair |
189ce66 |
# bundled builds for others.
|
|
Timothy St. Clair |
f424db0 |
%if 0%{?fedora} >= 20
|
|
Timothy St. Clair |
f424db0 |
%global unbundled 1
|
|
Timothy St. Clair |
f424db0 |
%else
|
|
Timothy St. Clair |
f424db0 |
%global unbundled 0
|
|
Timothy St. Clair |
f424db0 |
%endif
|
|
Timothy St. Clair |
f424db0 |
|
|
Timothy St. Clair |
a233a53 |
%global systemmvn 1
|
|
Timothy St. Clair |
a233a53 |
|
|
Timothy St. Clair |
1ab3ae2 |
Name: mesos
|
|
Timothy St. Clair |
37ac802 |
Version: 0.23.0
|
|
Igor Gnatenko |
c193030 |
Release: 0.%{shortcommit}%{?dist}.5
|
|
Timothy St. Clair |
1ab3ae2 |
Summary: Cluster manager for sharing distributed application frameworks
|
|
Timothy St. Clair |
1ab3ae2 |
License: ASL 2.0
|
|
Timothy St. Clair |
1ab3ae2 |
URL: http://mesos.apache.org/
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
30fa6cf |
# missing pivot_root on builds.?.?
|
|
Timothy St. Clair |
cca1db7 |
ExclusiveArch: x86_64
|
|
Timothy St. Clair |
30fa6cf |
|
|
Timothy St. Clair |
1ab3ae2 |
Source0: https://github.com/apache/mesos/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
|
|
Timothy St. Clair |
1ab3ae2 |
Source1: %{name}-tmpfiles.conf
|
|
Timothy St. Clair |
1ab3ae2 |
Source2: %{name}-master.service
|
|
Timothy St. Clair |
1ab3ae2 |
Source3: %{name}-slave.service
|
|
Timothy St. Clair |
ffe83c3 |
Source4: %{name}-master
|
|
Timothy St. Clair |
ffe83c3 |
Source5: %{name}-slave
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
####################################
|
|
Timothy St. Clair |
189ce66 |
Patch0: mesos-0.21-integ.patch
|
|
Timothy St. Clair |
3e326bc |
Patch1: mesos-0.21.0-http-parser.patch
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
86fcf3c |
BuildRequires: libtool
|
|
Timothy St. Clair |
86fcf3c |
BuildRequires: automake
|
|
Timothy St. Clair |
86fcf3c |
BuildRequires: autoconf
|
|
Timothy St. Clair |
86fcf3c |
BuildRequires: java-devel
|
|
Timothy St. Clair |
86fcf3c |
BuildRequires: zlib-devel
|
|
Timothy St. Clair |
86fcf3c |
BuildRequires: libcurl-devel
|
|
Timothy St. Clair |
093f3f4 |
BuildRequires: python-setuptools
|
|
Timothy St. Clair |
093f3f4 |
BuildRequires: python2-devel
|
|
Timothy St. Clair |
093f3f4 |
BuildRequires: openssl-devel
|
|
Timothy St. Clair |
093f3f4 |
BuildRequires: cyrus-sasl-devel
|
|
Timothy St. Clair |
40dc06e |
BuildRequires: cyrus-sasl-md5
|
|
Timothy St. Clair |
093f3f4 |
BuildRequires: systemd
|
|
Timothy St. Clair |
093f3f4 |
|
|
Timothy St. Clair |
a233a53 |
%if %systemmvn
|
|
Timothy St. Clair |
a233a53 |
BuildRequires: maven-local
|
|
Timothy St. Clair |
a233a53 |
BuildRequires: maven-plugin-bundle
|
|
Timothy St. Clair |
a233a53 |
BuildRequires: maven-gpg-plugin
|
|
Timothy St. Clair |
a233a53 |
BuildRequires: maven-clean-plugin
|
|
Timothy St. Clair |
a233a53 |
BuildRequires: maven-shade-plugin
|
|
Timothy St. Clair |
a233a53 |
BuildRequires: maven-dependency-plugin
|
|
Timothy St. Clair |
a233a53 |
BuildRequires: exec-maven-plugin
|
|
Timothy St. Clair |
a233a53 |
BuildRequires: maven-remote-resources-plugin
|
|
Timothy St. Clair |
a233a53 |
BuildRequires: maven-site-plugin
|
|
Timothy St. Clair |
a233a53 |
%endif
|
|
Timothy St. Clair |
a233a53 |
|
|
Timothy St. Clair |
093f3f4 |
%if %unbundled
|
|
Timothy St. Clair |
86fcf3c |
BuildRequires: boost-devel
|
|
Timothy St. Clair |
86fcf3c |
BuildRequires: glog-devel
|
|
Timothy St. Clair |
86fcf3c |
BuildRequires: gmock-devel
|
|
Timothy St. Clair |
d887de2 |
BuildRequires: gflags-devel
|
|
Timothy St. Clair |
86fcf3c |
BuildRequires: gtest-devel
|
|
Timothy St. Clair |
3e7c6db |
%ifnarch s390 s390x
|
|
Timothy St. Clair |
86fcf3c |
BuildRequires: gperftools-devel
|
|
Timothy St. Clair |
3e7c6db |
%endif
|
|
Timothy St. Clair |
86fcf3c |
BuildRequires: libev-source
|
|
Timothy St. Clair |
86fcf3c |
BuildRequires: leveldb-devel
|
|
Timothy St. Clair |
86fcf3c |
BuildRequires: protobuf-python
|
|
Timothy St. Clair |
86fcf3c |
BuildRequires: protobuf-java
|
|
Timothy St. Clair |
3e7c6db |
BuildRequires: zookeeper-devel
|
|
Timothy St. Clair |
093f3f4 |
BuildRequires: protobuf-devel
|
|
Timothy St. Clair |
0e12e8c |
BuildRequires: picojson-devel
|
|
Timothy St. Clair |
c3e3cc4 |
BuildRequires: python-pip
|
|
Timothy St. Clair |
c3e3cc4 |
BuildRequires: python-wheel
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
Requires: protobuf-python
|
|
Timothy St. Clair |
7cd7bbd |
Requires: python-boto
|
|
Timothy St. Clair |
c3e3cc4 |
Requires: python-pip
|
|
Timothy St. Clair |
c3e3cc4 |
Requires: python-wheel
|
|
Timothy St. Clair |
189ce66 |
%endif
|
|
Timothy St. Clair |
589c373 |
|
|
Timothy St. Clair |
ab1dc5c |
BuildRequires: apr-devel
|
|
Timothy St. Clair |
ab1dc5c |
BuildRequires: subversion-devel
|
|
Timothy St. Clair |
38e701c |
BuildRequires: http-parser-devel
|
|
Timothy St. Clair |
38e701c |
|
|
Timothy St. Clair |
38e701c |
Requires: python-boto
|
|
Timothy St. Clair |
2840262 |
Requires: cyrus-sasl-md5
|
|
Timothy St. Clair |
6c9b895 |
Requires: docker
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
3e7c6db |
# The slaves will indirectly require time syncing with the master
|
|
Timothy St. Clair |
3e7c6db |
# nodes so just call out the dependency.
|
|
Timothy St. Clair |
4de4f48 |
Requires: ntpdate
|
|
Timothy St. Clair |
3e7c6db |
|
|
Timothy St. Clair |
1ab3ae2 |
%description
|
|
Timothy St. Clair |
1ab3ae2 |
Apache Mesos is a cluster manager that provides efficient resource
|
|
Timothy St. Clair |
1ab3ae2 |
isolation and sharing across distributed applications, or frameworks.
|
|
Timothy St. Clair |
1ab3ae2 |
It can run Hadoop, MPI, Hypertable, Spark, and other applications on
|
|
Timothy St. Clair |
1ab3ae2 |
a dynamically shared pool of nodes.
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
##############################################
|
|
Timothy St. Clair |
1ab3ae2 |
%package devel
|
|
Timothy St. Clair |
1ab3ae2 |
Summary: Header files for Mesos development
|
|
Timothy St. Clair |
1ab3ae2 |
Group: Development/Libraries
|
|
Timothy St. Clair |
1ab3ae2 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
%description devel
|
|
Timothy St. Clair |
1ab3ae2 |
Provides header and development files for %{name}.
|
|
Timothy St. Clair |
afbc743 |
|
|
Timothy St. Clair |
afbc743 |
##############################################
|
|
Timothy St. Clair |
afbc743 |
%package java
|
|
Timothy St. Clair |
afbc743 |
Summary: Java interface for %{name}
|
|
Timothy St. Clair |
afbc743 |
Group: Development/Libraries
|
|
Timothy St. Clair |
afbc743 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Timothy St. Clair |
afbc743 |
|
|
Timothy St. Clair |
afbc743 |
%description java
|
|
Timothy St. Clair |
afbc743 |
The %{name}-java package contains Java bindings for %{name}.
|
|
Timothy St. Clair |
afbc743 |
|
|
Timothy St. Clair |
afbc743 |
##############################################
|
|
Timothy St. Clair |
afbc743 |
%package -n python-%{name}
|
|
Timothy St. Clair |
afbc743 |
Summary: Python support for %{name}
|
|
Timothy St. Clair |
afbc743 |
BuildRequires: python2-devel
|
|
Timothy St. Clair |
afbc743 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Timothy St. Clair |
afbc743 |
Requires: python2
|
|
Timothy St. Clair |
afbc743 |
|
|
Timothy St. Clair |
afbc743 |
%description -n python-%{name}
|
|
Timothy St. Clair |
afbc743 |
The python-%{name} package contains Python bindings for %{name}.
|
|
Timothy St. Clair |
afbc743 |
|
|
Timothy St. Clair |
1ab3ae2 |
##############################################
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
%prep
|
|
Timothy St. Clair |
1ab3ae2 |
%setup -q -n %{name}-%{commit}
|
|
Timothy St. Clair |
c3e3cc4 |
%patch0 -p1 -F2
|
|
Timothy St. Clair |
37ac802 |
%patch1 -p1 -F2
|
|
Timothy St. Clair |
573b711 |
|
|
Timothy St. Clair |
573b711 |
%if %unbundled
|
|
Timothy St. Clair |
5e2bd06 |
# remove all bundled elements prior to build
|
|
Timothy St. Clair |
5e2bd06 |
rm -f `find . | grep [.]tar`
|
|
Timothy St. Clair |
5e2bd06 |
|
|
Timothy St. Clair |
afbc743 |
######################################
|
|
Timothy St. Clair |
afbc743 |
# We need to rebuild libev and bind statically
|
|
Timothy St. Clair |
afbc743 |
# See https://bugzilla.redhat.com/show_bug.cgi?id=1049554 for details
|
|
Timothy St. Clair |
afbc743 |
######################################
|
|
Timothy St. Clair |
afbc743 |
cp -r %{_datadir}/libev-source libev-%{libevver}
|
|
Timothy St. Clair |
afbc743 |
cd libev-%{libevver}
|
|
Timothy St. Clair |
afbc743 |
autoreconf -i
|
|
Timothy St. Clair |
573b711 |
%endif
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
%build
|
|
Timothy St. Clair |
3e7c6db |
|
|
Timothy St. Clair |
3e7c6db |
echo "CXXFLAGS=$CXXFLAGS"
|
|
Timothy St. Clair |
afbc743 |
######################################
|
|
Timothy St. Clair |
afbc743 |
# We need to rebuild libev and bind statically
|
|
Timothy St. Clair |
afbc743 |
# See https://bugzilla.redhat.com/show_bug.cgi?id=1049554 for details
|
|
Timothy St. Clair |
093f3f4 |
%if %unbundled
|
|
Timothy St. Clair |
afbc743 |
cd libev-%{libevver}
|
|
Timothy St. Clair |
afbc743 |
export CFLAGS="$RPM_OPT_FLAGS -DEV_CHILD_ENABLE=0 -I$PWD"
|
|
Timothy St. Clair |
afbc743 |
export CXXFLAGS="$RPM_OPT_FLAGS -DEV_CHILD_ENABLE=0 -I$PWD"
|
|
Timothy St. Clair |
afbc743 |
%configure --enable-shared=no --with-pic
|
|
Timothy St. Clair |
afbc743 |
make libev.la
|
|
Timothy St. Clair |
afbc743 |
cd ../
|
|
Timothy St. Clair |
afbc743 |
######################################
|
|
Timothy St. Clair |
0ac2008 |
export M2_HOME=/usr/share/xmvn
|
|
Timothy St. Clair |
1ab3ae2 |
autoreconf -vfi
|
|
Timothy St. Clair |
6bbc085 |
|
|
Timothy St. Clair |
6bbc085 |
%ifarch x86_64
|
|
Timothy St. Clair |
ab1dc5c |
export LDFLAGS="$RPM_LD_FLAGS -std=c++11 -L$PWD/libev-%{libevver}/.libs"
|
|
Timothy St. Clair |
6bbc085 |
%else
|
|
Timothy St. Clair |
6bbc085 |
export LDFLAGS="$RPM_LD_FLAGS -L$PWD/libev-%{libevver}/.libs"
|
|
Timothy St. Clair |
6bbc085 |
%endif
|
|
Timothy St. Clair |
6bbc085 |
|
|
Timothy St. Clair |
5e2bd06 |
ZOOKEEPER_JAR="/usr/share/java/zookeeper/zookeeper.jar:/usr/share/java/slf4j/api.jar:/usr/share/java/slf4j/log4j12.jar:/usr/share/java/log4j.jar" %configure --disable-bundled --disable-static
|
|
Timothy St. Clair |
093f3f4 |
%else
|
|
Timothy St. Clair |
573b711 |
autoreconf -vfi
|
|
Timothy St. Clair |
7bcbb63 |
%configure --disable-static
|
|
Timothy St. Clair |
093f3f4 |
%endif
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
ffe83c3 |
make
|
|
Timothy St. Clair |
ffe83c3 |
#%{?_smp_mflags}
|
|
Timothy St. Clair |
0961fea |
|
|
Timothy St. Clair |
1ab3ae2 |
%check
|
|
Timothy St. Clair |
1ab3ae2 |
######################################
|
|
Timothy St. Clair |
5e2bd06 |
# NOTE: as of 0.16.0 &> there has been a change in the startup routines which
|
|
Timothy St. Clair |
5e2bd06 |
# cause a substantial number of tests to fail/hang under mock. However, they
|
|
Timothy St. Clair |
5e2bd06 |
# run fine under a local environment so they are disabled by default at this
|
|
Timothy St. Clair |
5e2bd06 |
# time.
|
|
Timothy St. Clair |
1ab3ae2 |
######################################
|
|
Timothy St. Clair |
1ab3ae2 |
%if %skiptests
|
|
Timothy St. Clair |
1ab3ae2 |
echo "Skipping tests, do to mock issues"
|
|
Timothy St. Clair |
1ab3ae2 |
%else
|
|
Timothy St. Clair |
1ab3ae2 |
export LD_LIBRARY_PATH=`pwd`/src/.libs
|
|
Timothy St. Clair |
0ac2008 |
make check
|
|
Timothy St. Clair |
1ab3ae2 |
%endif
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
%install
|
|
Timothy St. Clair |
afbc743 |
%make_install
|
|
Timothy St. Clair |
afbc743 |
|
|
Timothy St. Clair |
afbc743 |
######################################
|
|
Timothy St. Clair |
afbc743 |
# NOTE: https://issues.apache.org/jira/browse/MESOS-899
|
|
Timothy St. Clair |
093f3f4 |
%if %unbundled
|
|
Timothy St. Clair |
ab1dc5c |
export CFLAGS="$RPM_OPT_FLAGS -DEV_CHILD_ENABLE=0 -I$PWD -std=c++11"
|
|
Timothy St. Clair |
ab1dc5c |
export CXXFLAGS="$RPM_OPT_FLAGS -DEV_CHILD_ENABLE=0 -I$PWD -std=c++11"
|
|
Timothy St. Clair |
ab1dc5c |
export LDFLAGS="$RPM_LD_FLAGS -L$PWD/libev-%{libevver}/.libs -std=c++11"
|
|
Timothy St. Clair |
ab1dc5c |
%else
|
|
Timothy St. Clair |
ab1dc5c |
export CFLAGS="$RPM_OPT_FLAGS -std=c++11"
|
|
Timothy St. Clair |
ab1dc5c |
export CXXFLAGS="$RPM_OPT_FLAGS -std=c++11"
|
|
Timothy St. Clair |
ab1dc5c |
export LDFLAGS="$RPM_LD_FLAGS -std=c++11"
|
|
Timothy St. Clair |
093f3f4 |
%endif
|
|
Timothy St. Clair |
093f3f4 |
|
|
Timothy St. Clair |
afbc743 |
export PYTHONPATH=%{buildroot}%{python_sitearch}
|
|
Timothy St. Clair |
afbc743 |
mkdir -p %{buildroot}%{python_sitearch}
|
|
Timothy St. Clair |
5e2bd06 |
pushd src/python
|
|
Timothy St. Clair |
5e2bd06 |
python setup.py install --root=%{buildroot} --prefix=/usr
|
|
Timothy St. Clair |
5e2bd06 |
popd
|
|
Timothy St. Clair |
5e2bd06 |
|
|
Timothy St. Clair |
3e7c6db |
mkdir -p %{buildroot}%{python_sitelib}
|
|
Timothy St. Clair |
3e7c6db |
cp -rf %{buildroot}%{_libexecdir}/%{name}/python/%{name}/* %{buildroot}%{python_sitelib}
|
|
Timothy St. Clair |
5e2bd06 |
rm -rf %{buildroot}%{_libexecdir}/%{name}/python
|
|
Timothy St. Clair |
5e2bd06 |
|
|
Timothy St. Clair |
5e2bd06 |
pushd src/python/native
|
|
Timothy St. Clair |
5e2bd06 |
python setup.py install --root=%{buildroot} --prefix=/usr --install-lib=%{python_sitearch}
|
|
Timothy St. Clair |
5e2bd06 |
popd
|
|
Timothy St. Clair |
5e2bd06 |
|
|
Timothy St. Clair |
38aaf17 |
rm -rf %{buildroot}%{python_sitearch}/*.pth
|
|
Timothy St. Clair |
38aaf17 |
|
|
Timothy St. Clair |
5e2bd06 |
pushd src/python/interface
|
|
Timothy St. Clair |
5e2bd06 |
python setup.py install --root=%{buildroot} --prefix=/usr
|
|
Timothy St. Clair |
5e2bd06 |
popd
|
|
Timothy St. Clair |
afbc743 |
######################################
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
# fedora guidelines no .a|.la
|
|
Timothy St. Clair |
1ab3ae2 |
rm -f %{buildroot}%{_libdir}/*.la
|
|
Timothy St. Clair |
c3e3cc4 |
rm -f %{buildroot}%{_libdir}/libexamplemodule*
|
|
Timothy St. Clair |
09e6103 |
rm -f %{buildroot}%{_libdir}/libtest*
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
5e2bd06 |
# Move the inclusions under mesos folder for developers
|
|
Timothy St. Clair |
5e2bd06 |
mv -f %{buildroot}%{_includedir}/stout %{buildroot}%{_includedir}/%{name}
|
|
Timothy St. Clair |
5e2bd06 |
mv -f %{buildroot}%{_includedir}/process %{buildroot}%{_includedir}/%{name}
|
|
Timothy St. Clair |
5e2bd06 |
|
|
Timothy St. Clair |
1ab3ae2 |
# system integration sysconfig setting
|
|
Timothy St. Clair |
5e2bd06 |
mkdir -p %{buildroot}%{_sysconfdir}/%{name}
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d
|
|
Timothy St. Clair |
1ab3ae2 |
install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/tmpfiles.d/%{name}.conf
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
ffe83c3 |
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
|
|
Timothy St. Clair |
ffe83c3 |
install -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig
|
|
Timothy St. Clair |
ffe83c3 |
install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/sysconfig
|
|
Timothy St. Clair |
ffe83c3 |
|
|
Timothy St. Clair |
ffe83c3 |
# NOTE: The following removes the deployment scripts and tooling.
|
|
Timothy St. Clair |
ffe83c3 |
# It's still debatable if we should use it.
|
|
Timothy St. Clair |
ffe83c3 |
rm -rf %{buildroot}%{_sysconfdir}/%{name}
|
|
Timothy St. Clair |
ffe83c3 |
rm -f %{buildroot}%{_sbindir}/mesos-*.sh
|
|
Timothy St. Clair |
afbc743 |
|
|
Timothy St. Clair |
1ab3ae2 |
mkdir -p -m0755 %{buildroot}/%{_var}/log/%{name}
|
|
Timothy St. Clair |
7cd7bbd |
mkdir -p -m0755 %{buildroot}/%{_var}/lib/%{name}
|
|
Timothy St. Clair |
1ab3ae2 |
mkdir -p %{buildroot}%{_unitdir}
|
|
Timothy St. Clair |
1ab3ae2 |
install -m 0644 %{SOURCE2} %{SOURCE3} %{buildroot}%{_unitdir}/
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
afbc743 |
######################
|
|
Timothy St. Clair |
bcec24b |
# install java bindings
|
|
Timothy St. Clair |
afbc743 |
######################
|
|
Timothy St. Clair |
0ac2008 |
%mvn_artifact src/java/%{name}.pom src/java/target/%{name}-%{version}.jar
|
|
Timothy St. Clair |
0ac2008 |
%mvn_install
|
|
Timothy St. Clair |
afbc743 |
|
|
Timothy St. Clair |
3e7c6db |
######################
|
|
Timothy St. Clair |
3e7c6db |
# install the examples
|
|
Timothy St. Clair |
3e7c6db |
######################
|
|
Timothy St. Clair |
3e7c6db |
make clean
|
|
Timothy St. Clair |
3e7c6db |
mkdir -p %{buildroot}%{_datadir}/%{name}
|
|
Timothy St. Clair |
3e7c6db |
cp -rf src/examples %{buildroot}%{_datadir}/%{name}
|
|
Timothy St. Clair |
3e7c6db |
|
|
Timothy St. Clair |
1ab3ae2 |
############################################
|
|
Timothy St. Clair |
1ab3ae2 |
%files
|
|
Timothy St. Clair |
afbc743 |
%doc LICENSE NOTICE
|
|
Timothy St. Clair |
189ce66 |
%{_libdir}/libmesos.so.*
|
|
Timothy St. Clair |
ab1dc5c |
%{_libdir}/libfixed_resource_estimator-%{version}.so
|
|
Timothy St. Clair |
1ab3ae2 |
%{_bindir}/mesos*
|
|
Timothy St. Clair |
1ab3ae2 |
%{_sbindir}/mesos-*
|
|
Timothy St. Clair |
1ab3ae2 |
%{_datadir}/%{name}/
|
|
Timothy St. Clair |
1ab3ae2 |
%{_libexecdir}/%{name}/
|
|
Timothy St. Clair |
ffe83c3 |
#system integration files
|
|
Timothy St. Clair |
1ab3ae2 |
%{python_sitelib}/%{name}/
|
|
Timothy St. Clair |
afbc743 |
%attr(0755,mesos,mesos) %{_var}/log/%{name}/
|
|
Timothy St. Clair |
7cd7bbd |
%attr(0755,mesos,mesos) %{_var}/lib/%{name}/
|
|
Timothy St. Clair |
afbc743 |
%config(noreplace) %{_sysconfdir}/tmpfiles.d/%{name}.conf
|
|
Timothy St. Clair |
ffe83c3 |
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}*
|
|
Timothy St. Clair |
1ab3ae2 |
%{_unitdir}/%{name}*.service
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
afbc743 |
######################
|
|
Timothy St. Clair |
1ab3ae2 |
%files devel
|
|
Timothy St. Clair |
afbc743 |
%doc LICENSE NOTICE
|
|
Timothy St. Clair |
1ab3ae2 |
%{_includedir}/mesos/
|
|
Timothy St. Clair |
1ab3ae2 |
%{_libdir}/libmesos.so
|
|
Timothy St. Clair |
ab1dc5c |
%{_libdir}/libfixed_resource_estimator.so
|
|
Timothy St. Clair |
1ab3ae2 |
%{_libdir}/pkgconfig/%{name}.pc
|
|
Timothy St. Clair |
afbc743 |
|
|
Timothy St. Clair |
afbc743 |
######################
|
|
Timothy St. Clair |
afbc743 |
%files java
|
|
Timothy St. Clair |
afbc743 |
%doc LICENSE NOTICE
|
|
Timothy St. Clair |
0ac2008 |
%{_jnidir}/%{name}/%{name}.jar
|
|
Timothy St. Clair |
a233a53 |
%if 0%{?fedora} >= 21
|
|
Timothy St. Clair |
55b1328 |
%{_datadir}/maven-metadata/%{name}.xml
|
|
Timothy St. Clair |
55b1328 |
%{_datadir}/maven-poms/%{name}/%{name}.pom
|
|
Timothy St. Clair |
a233a53 |
%else
|
|
Timothy St. Clair |
a233a53 |
%{_mavenpomdir}/JPP.%{name}-%{name}.pom
|
|
Timothy St. Clair |
a233a53 |
%{_mavendepmapfragdir}/%{name}.xml
|
|
Timothy St. Clair |
a233a53 |
%endif
|
|
Timothy St. Clair |
0ac2008 |
|
|
Timothy St. Clair |
afbc743 |
######################
|
|
Timothy St. Clair |
afbc743 |
%files -n python-%{name}
|
|
Timothy St. Clair |
afbc743 |
%doc LICENSE NOTICE
|
|
Timothy St. Clair |
5e2bd06 |
%{python_sitelib}/*
|
|
Timothy St. Clair |
5e2bd06 |
%{python_sitearch}/*
|
|
Timothy St. Clair |
1ab3ae2 |
############################################
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
%pre
|
|
Timothy St. Clair |
1ab3ae2 |
getent group mesos >/dev/null || groupadd -f -r mesos
|
|
Timothy St. Clair |
1ab3ae2 |
if ! getent passwd mesos >/dev/null ; then
|
|
Timothy St. Clair |
1ab3ae2 |
useradd -r -g mesos -d %{_sharedstatedir}/%{name} -s /sbin/nologin \
|
|
Timothy St. Clair |
1ab3ae2 |
-c "%{name} daemon account" mesos
|
|
Timothy St. Clair |
1ab3ae2 |
fi
|
|
Timothy St. Clair |
1ab3ae2 |
exit 0
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
%post
|
|
Timothy St. Clair |
1ab3ae2 |
%systemd_post %{name}-slave.service %{name}-master.service
|
|
Timothy St. Clair |
1ab3ae2 |
/sbin/ldconfig
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
%preun
|
|
Timothy St. Clair |
1ab3ae2 |
%systemd_preun %{name}-slave.service %{name}-master.service
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
%postun
|
|
Timothy St. Clair |
1ab3ae2 |
%systemd_postun_with_restart %{name}-slave.service %{name}-master.service
|
|
Timothy St. Clair |
1ab3ae2 |
/sbin/ldconfig
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
%changelog
|
|
Igor Gnatenko |
c193030 |
* Sun Aug 07 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.23.0-0.4ce5475.5
|
|
Igor Gnatenko |
c193030 |
- Rebuild for LevelDB 1.18
|
|
Igor Gnatenko |
c193030 |
|
|
|
4db2ded |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23.0-0.4ce5475.4
|
|
|
4db2ded |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
4db2ded |
|
|
|
5a5acc9 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.0-0.4ce5475.3
|
|
|
5a5acc9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
5a5acc9 |
|
|
Timothy St. Clair |
f24ac86 |
* Fri Aug 28 2015 Timothy St. Clair <tstclair@redhat.com> - 0.23.0-1.4ce5475.0
|
|
Timothy St. Clair |
f24ac86 |
- change docker-io to just docker dependency BZ1257832
|
|
Timothy St. Clair |
f24ac86 |
|
|
|
c3ca89c |
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.23.0-0.4ce5475.1
|
|
|
c3ca89c |
- Rebuilt for Boost 1.59
|
|
|
c3ca89c |
|
|
Timothy St. Clair |
37ac802 |
* Wed Aug 5 2015 Timothy St. Clair <tstclair@redhat.com> - 0.23.0-0.4ce5475.0
|
|
Timothy St. Clair |
37ac802 |
- Build for latest release
|
|
Timothy St. Clair |
37ac802 |
|
|
|
b370fa7 |
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22.1-0.d6309f9.3
|
|
|
b370fa7 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
b370fa7 |
|
|
|
c3353ad |
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.22.1-0.d6309f9.2
|
|
|
c3353ad |
- rebuild for Boost 1.58
|
|
|
c3353ad |
|
|
|
be1f096 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22.1-0.d6309f9.1
|
|
|
be1f096 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
be1f096 |
|
|
Timothy St. Clair |
ee69dc6 |
* Wed May 6 2015 Timothy St. Clair <tstclair@redhat.com> - 0.22.1-0.d6309f9
|
|
Timothy St. Clair |
ee69dc6 |
- Build for latest patch release
|
|
Timothy St. Clair |
ee69dc6 |
|
|
|
5490ed8 |
* Wed Apr 29 2015 Kalev Lember <kalevlember@gmail.com> - 0.22.0-4.e890e24.1
|
|
|
5490ed8 |
- Rebuilt for protobuf soname bump
|
|
|
5490ed8 |
|
|
Timothy St. Clair |
627b430 |
* Mon Apr 20 2015 Timothy St. Clair <tstclair@redhat.com> - 0.22.0-3.e890e24
|
|
Timothy St. Clair |
627b430 |
- Fix for .so build version
|
|
Timothy St. Clair |
627b430 |
|
|
Timothy St. Clair |
3d90edc |
* Thu Mar 19 2015 Timothy St. Clair <tstclair@redhat.com> - 0.22.0-2.e890e24
|
|
Timothy St. Clair |
3d90edc |
- Update to 0.22.0 official release
|
|
Petr Machata |
d5bffb6 |
|
|
Timothy St. Clair |
3d90edc |
* Sat Feb 14 2015 Timothy St. Clair <tstclair@redhat.com> - 0.22.0-1.SNAPSHOT.033c062
|
|
Timothy St. Clair |
6a5f18b |
- Update to track next release
|
|
Timothy St. Clair |
6a5f18b |
|
|
Timothy St. Clair |
3d90edc |
* Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 0.22.0-SNAPSHOT.1.c513126.1
|
|
Timothy St. Clair |
3d90edc |
- Rebuild for boost 1.57.0
|
|
Timothy St. Clair |
3d90edc |
|
|
Timothy St. Clair |
3e326bc |
* Tue Dec 9 2014 Timothy St. Clair <tstclair@redhat.com> - 0.21.0-6.ab8fa65
|
|
Timothy St. Clair |
3e326bc |
- Fix for python bindings
|
|
Timothy St. Clair |
3e326bc |
|
|
Timothy St. Clair |
09e6103 |
* Fri Nov 21 2014 Timothy St. Clair <tstclair@redhat.com> - 0.21.0-5.ab8fa65
|
|
Timothy St. Clair |
09e6103 |
- Update to latest build
|
|
Timothy St. Clair |
09e6103 |
|
|
Timothy St. Clair |
3e7c6db |
* Thu Oct 23 2014 Timothy St. Clair <tstclair@redhat.com> - 0.21.0-4.SNAPSHOT.e960cdf
|
|
Timothy St. Clair |
3e7c6db |
- Update to include examples
|
|
Timothy St. Clair |
3e7c6db |
|
|
Timothy St. Clair |
c3e3cc4 |
* Thu Oct 9 2014 Timothy St. Clair <tstclair@redhat.com> - 0.21.0-3.SNAPSHOT.c96ba8f6
|
|
Timothy St. Clair |
c3e3cc4 |
- Update and shifting configs to latest.
|
|
Timothy St. Clair |
c3e3cc4 |
|
|
Timothy St. Clair |
ffe83c3 |
* Tue Sep 30 2014 Timothy St. Clair <tstclair@redhat.com> - 0.21.0-2.SNAPSHOT.3133734
|
|
Timothy St. Clair |
ffe83c3 |
- Removing scripts and updating systemd settings.
|
|
Timothy St. Clair |
ffe83c3 |
|
|
Timothy St. Clair |
189ce66 |
* Tue Sep 23 2014 Timothy St. Clair <tstclair@redhat.com> - 0.21.0-1.SNAPSHOT.3133734
|
|
Timothy St. Clair |
ffe83c3 |
- Initial prototyping
|
|
Timothy St. Clair |
ffe83c3 |
|
|
Timothy St. Clair |
093f3f4 |
* Wed Aug 27 2014 Timothy St. Clair <tstclair@redhat.com> - 0.20.0-2.f421ffd
|
|
Timothy St. Clair |
093f3f4 |
- Fixes for system integration
|
|
Timothy St. Clair |
093f3f4 |
|
|
Timothy St. Clair |
5e2bd06 |
* Wed Aug 20 2014 Timothy St. Clair <tstclair@redhat.com> - 0.20.0-1.f421ffd
|
|
Timothy St. Clair |
5e2bd06 |
- Rebase to new release 0.20
|
|
Timothy St. Clair |
5e2bd06 |
|
|
|
7f1f980 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18.2-6.453b973
|
|
|
7f1f980 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
7f1f980 |
|
|
|
b563af3 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18.2-5.453b973
|
|
|
b563af3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
b563af3 |
|
|
|
6e90f30 |
* Tue May 27 2014 Dennis Gilmore <dennis@ausil.us> - 0.18.2-4.453b973
|
|
|
6e90f30 |
- add patch to enable building on all primary and secondary arches
|
|
|
6e90f30 |
- remove ExcludeArch %%{arm}
|
|
|
6e90f30 |
|
|
Timothy St. Clair |
43ee878 |
* Tue May 27 2014 Timothy St. Clair <tstclair@redhat.com> - 0.18.2-3.453b973
|
|
Timothy St. Clair |
b167905 |
- Fixes for systemd
|
|
Timothy St. Clair |
b167905 |
|
|
Petr Machata |
4431ffb |
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.18.2-2.453b973
|
|
Petr Machata |
4431ffb |
- Rebuild for boost 1.55.0
|
|
Petr Machata |
4431ffb |
|
|
Timothy St. Clair |
0ac2008 |
* Wed May 14 2014 Timothy St. Clair <tstclair@redhat.com> - 0.18.2-1.453b973
|
|
Timothy St. Clair |
0ac2008 |
- Rebase to latest 0.18.2-rc1
|
|
Timothy St. Clair |
0ac2008 |
|
|
Timothy St. Clair |
929655a |
* Thu Apr 3 2014 Timothy St. Clair <tstclair@redhat.com> - 0.18.0-2.185dba5
|
|
Timothy St. Clair |
929655a |
- Updated to 0.18.0-rc6
|
|
Timothy St. Clair |
7cd7bbd |
- Fixed MESOS-1126 - dlopen libjvm.so
|
|
Timothy St. Clair |
7cd7bbd |
|
|
Timothy St. Clair |
afbc743 |
* Wed Mar 5 2014 Timothy St. Clair <tstclair@redhat.com> - 0.18.0-1.a411a4b
|
|
Timothy St. Clair |
afbc743 |
- Updated to 0.18.0-rc3
|
|
Timothy St. Clair |
7cd7bbd |
- Included sub-packaging around language bindings (Java & Python)
|
|
Timothy St. Clair |
0ac2008 |
- Improved systemd integration
|
|
Timothy St. Clair |
4ce61b8 |
- Itegration to rebuild libev-source w/-DEV_CHILD_ENABLE=0
|
|
Timothy St. Clair |
afbc743 |
|
|
Timothy St. Clair |
1ab3ae2 |
* Mon Jan 20 2014 Timothy St. Clair <tstclair@redhat.com> - 0.16.0-3.afe9947
|
|
Timothy St. Clair |
1ab3ae2 |
- Updated to 0.16.0-rc3
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
* Mon Jan 13 2014 Timothy St. Clair <tstclair@redhat.com> - 0.16.0-2.d0cb03f
|
|
Timothy St. Clair |
1ab3ae2 |
- Updating per review
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
* Tue Nov 19 2013 Timothy St. Clair <tstclair@redhat.com> - 0.16.0-1.d3557e8
|
|
Timothy St. Clair |
1ab3ae2 |
- Update to latest upstream tip.
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
* Thu Oct 31 2013 Timothy St. Clair <tstclair@redhat.com> - 0.15.0-4.42f8640
|
|
Timothy St. Clair |
0ac2008 |
- Merge in latest upstream developments
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
* Fri Oct 18 2013 Timothy St. Clair <tstclair@redhat.com> - 0.15.0-4.464661f
|
|
Timothy St. Clair |
0ac2008 |
- Package restructuring for subsuming library dependencies dependencies.
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
* Thu Oct 3 2013 Timothy St. Clair <tstclair@redhat.com> - 0.15.0-3.8037f97
|
|
Timothy St. Clair |
1ab3ae2 |
- Cleaning package for review
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
* Fri Sep 20 2013 Timothy St. Clair <tstclair@redhat.com> - 0.15.0-0.2.01ccdb
|
|
Timothy St. Clair |
1ab3ae2 |
- Cleanup for system integration
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
0ac2008 |
* Tue Sep 17 2013 Timothy St. Clair <tstclair@redhat.com> - 0.15.0-0.1.1bc2941
|
|
Timothy St. Clair |
1ab3ae2 |
- Update to the latest mesos HEAD
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
* Wed Aug 14 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.12.1-0.4.dff92ff
|
|
Timothy St. Clair |
1ab3ae2 |
- spec: cleanups and fixes
|
|
Timothy St. Clair |
1ab3ae2 |
- spec: fix systemd daemon
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
0ac2008 |
* Mon Aug 12 2013 Timothy St. Clair <tstclair@redhat.com> - 0.12.1-0.3.dff92ff
|
|
Timothy St. Clair |
0ac2008 |
- Update and add install targets.
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
* Fri Aug 9 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.12.1-0.2.cba04c1
|
|
Timothy St. Clair |
1ab3ae2 |
- Update to latest
|
|
Timothy St. Clair |
1ab3ae2 |
- Add python-boto as BR
|
|
Timothy St. Clair |
1ab3ae2 |
- other fixes
|
|
Timothy St. Clair |
1ab3ae2 |
|
|
Timothy St. Clair |
1ab3ae2 |
* Thu Aug 1 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.12.1-0.1.eb17018
|
|
Timothy St. Clair |
1ab3ae2 |
- Initial release
|