bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bm...@apache.org
Subject svn commit: r1157455 - in /incubator/bigtop/trunk/src: pkg/rpm/hadoop/SPECS/hadoop.spec pkg/rpm/hive/SPECS/hive.spec pkg/rpm/oozie/SPECS/oozie.spec pkg/rpm/zookeeper/SPECS/zookeeper.spec site/xdoc/index.xml
Date Sun, 14 Aug 2011 02:37:12 GMT
Author: bmahe
Date: Sun Aug 14 02:37:12 2011
New Revision: 1157455

URL: http://svn.apache.org/viewvc?rev=1157455&view=rev
Log:
BIGTOP-21. Add support for Mageia

Modified:
    incubator/bigtop/trunk/src/pkg/rpm/hadoop/SPECS/hadoop.spec
    incubator/bigtop/trunk/src/pkg/rpm/hive/SPECS/hive.spec
    incubator/bigtop/trunk/src/pkg/rpm/oozie/SPECS/oozie.spec
    incubator/bigtop/trunk/src/pkg/rpm/zookeeper/SPECS/zookeeper.spec
    incubator/bigtop/trunk/src/site/xdoc/index.xml

Modified: incubator/bigtop/trunk/src/pkg/rpm/hadoop/SPECS/hadoop.spec
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/src/pkg/rpm/hadoop/SPECS/hadoop.spec?rev=1157455&r1=1157454&r2=1157455&view=diff
==============================================================================
--- incubator/bigtop/trunk/src/pkg/rpm/hadoop/SPECS/hadoop.spec (original)
+++ incubator/bigtop/trunk/src/pkg/rpm/hadoop/SPECS/hadoop.spec Sun Aug 14 02:37:12 2011
@@ -40,7 +40,7 @@
 %endif
 
 
-%if  %{!?suse_version:1}0
+%if  0%{?fedora_version}%{?rhel_version}%{?centos_version}
 # brp-repack-jars uses unzip to expand jar files
 # Unfortunately aspectjtools-1.6.5.jar pulled by ivy contains some files and directories
without any read permission
 # and make whole process to fail.
@@ -54,10 +54,11 @@
     %{nil}
 
 %define alternatives_cmd alternatives
-
 %global initd_dir %{_sysconfdir}/rc.d/init.d
+%endif
 
-%else
+
+%if  %{?suse_version:1}0
 
 # Only tested on openSUSE 11.4. le'ts update it for previous release when confirmed
 %if 0%{suse_version} > 1130
@@ -71,9 +72,12 @@
     %{nil}
 
 %define alternatives_cmd update-alternatives
-
 %global initd_dir %{_sysconfdir}/rc.d
+%endif
 
+%if  0%{?mgaversion}
+%define alternatives_cmd update-alternatives
+%global initd_dir %{_sysconfdir}/rc.d/init.d
 %endif
 
 
@@ -100,8 +104,8 @@ Source3: hadoop-init.tmpl.suse
 Source4: hadoop.1
 Source5: hadoop-fuse-dfs.1
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: lzo-devel, python >= 2.4, git, fuse-devel,fuse, automake, autoconf
-Requires: sh-utils, textutils, /usr/sbin/useradd, /usr/sbin/usermod, /sbin/chkconfig, /sbin/service
+BuildRequires: python >= 2.4, git, fuse-devel,fuse, automake, autoconf
+Requires: textutils, /usr/sbin/useradd, /usr/sbin/usermod, /sbin/chkconfig, /sbin/service
 Provides: hadoop
 
 # RHEL6 provides natively java
@@ -114,15 +118,23 @@ Requires: jre >= 1.6
 %endif
 
 %if  %{?suse_version:1}0
-BuildRequires: libfuse2, libopenssl-devel, gcc-c++, ant, ant-nodeps, ant-trax
+BuildRequires: libfuse2, libopenssl-devel, gcc-c++, ant, ant-nodeps, ant-trax, liblzo-devel
 # Required for init scripts
-Requires: insserv
-%else
-BuildRequires: fuse-libs, libtool, redhat-rpm-config
+Requires: sh-utils, insserv
+%endif
+
+%if  0%{?fedora_version}%{?rhel_version}%{?centos_version}
+BuildRequires: fuse-libs, libtool, redhat-rpm-config, liblzo-devel
 # Required for init scripts
-Requires: redhat-lsb
+Requires: sh-utils, redhat-lsb
 %endif
 
+%if  0%{?mgaversion}
+BuildRequires: libfuse-devel, libfuse2 , libopenssl-devel, gcc-c++, ant, libtool, automake,
autoconf, liblzo-devel, libzlib-devel
+Requires: chkconfig, xinetd-simple-services, libzlib
+%endif
+
+
 %description
 Hadoop is a software platform that lets one easily write and
 run applications that process vast amounts of data.
@@ -382,7 +394,7 @@ getent passwd hdfs >/dev/null || /usr/sb
   --slave %{log_hadoop_dirname}/%{hadoop_name} %{hadoop_name}-log %{log_hadoop} \
   --slave %{lib_hadoop_dirname}/%{hadoop_name} %{hadoop_name}-lib %{lib_hadoop} \
   --slave /etc/%{hadoop_name} %{hadoop_name}-etc %{etc_hadoop} \
-  --slave %{man_hadoop}/man1/%{hadoop_name}.1.gz %{hadoop_name}-man %{man_hadoop}/man1/%{name}.1.gz
+  --slave %{man_hadoop}/man1/%{hadoop_name}.1.*z %{hadoop_name}-man %{man_hadoop}/man1/%{name}.1.*z
 
 
 %preun
@@ -402,7 +414,7 @@ fi
 /etc/default/hadoop
 %{lib_hadoop}
 %{bin_hadoop}/%{name}
-%{man_hadoop}/man1/hadoop.1.gz
+%{man_hadoop}/man1/hadoop.1.*z
 %attr(0775,root,hadoop) /var/run/%{name}
 %attr(0775,root,hadoop) %{log_hadoop}
 

Modified: incubator/bigtop/trunk/src/pkg/rpm/hive/SPECS/hive.spec
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/src/pkg/rpm/hive/SPECS/hive.spec?rev=1157455&r1=1157454&r2=1157455&view=diff
==============================================================================
--- incubator/bigtop/trunk/src/pkg/rpm/hive/SPECS/hive.spec (original)
+++ incubator/bigtop/trunk/src/pkg/rpm/hive/SPECS/hive.spec Sun Aug 14 02:37:12 2011
@@ -200,7 +200,7 @@ fi
 %{var_lib_hive}
 %attr(1777,root,root) %{var_lib_hive}/metastore
 %doc %{doc_hive}
-%{man_dir}/man1/hive.1.gz
+%{man_dir}/man1/hive.1.*
 
 %define service_macro() \
 %files %1 \

Modified: incubator/bigtop/trunk/src/pkg/rpm/oozie/SPECS/oozie.spec
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/src/pkg/rpm/oozie/SPECS/oozie.spec?rev=1157455&r1=1157454&r2=1157455&view=diff
==============================================================================
--- incubator/bigtop/trunk/src/pkg/rpm/oozie/SPECS/oozie.spec (original)
+++ incubator/bigtop/trunk/src/pkg/rpm/oozie/SPECS/oozie.spec Sun Aug 14 02:37:12 2011
@@ -161,5 +161,5 @@ fi
 %{lib_oozie}/lib
 %{_docdir}
 %docdir %{_docdir}
-%{man_dir}/man1/oozie.1.gz
+%{man_dir}/man1/oozie.1.*
 

Modified: incubator/bigtop/trunk/src/pkg/rpm/zookeeper/SPECS/zookeeper.spec
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/src/pkg/rpm/zookeeper/SPECS/zookeeper.spec?rev=1157455&r1=1157454&r2=1157455&view=diff
==============================================================================
--- incubator/bigtop/trunk/src/pkg/rpm/zookeeper/SPECS/zookeeper.spec (original)
+++ incubator/bigtop/trunk/src/pkg/rpm/zookeeper/SPECS/zookeeper.spec Sun Aug 14 02:37:12
2011
@@ -168,4 +168,4 @@ fi
 %{bin_zookeeper}/zookeeper-server
 %{bin_zookeeper}/zookeeper-client
 %doc %{doc_zookeeper}
-%{man_dir}/man1/zookeeper.1.gz
+%{man_dir}/man1/zookeeper.1.*

Modified: incubator/bigtop/trunk/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/src/site/xdoc/index.xml?rev=1157455&r1=1157454&r2=1157455&view=diff
==============================================================================
--- incubator/bigtop/trunk/src/site/xdoc/index.xml (original)
+++ incubator/bigtop/trunk/src/site/xdoc/index.xml Sun Aug 14 02:37:12 2011
@@ -29,7 +29,7 @@ xsi:schemaLocation="http://maven.apache.
      developed by a community with a focus on the system as a whole, rather than individual
projects.</p>
     
     <subsection name="Building Bigtop"></subsection>
-    <p>Packages have been built on Ubuntu 10.10, CentOS 5 and openSUSE 11.4. 
+    <p>Packages have been built on Ubuntu 10.10, CentOS 5, Mageia 1 and openSUSE 11.4.
     They can probably be built on other platforms as well.<br/><br/>
     Building Bigtop requires the following tools:</p>
     <ul>



Mime
View raw message