--- BUILD/glusterfs-2.0.0rc4/glusterfs.spec.in 2009-03-05 04:54:19.000000000 +0800 +++ SPECS/glusterfs2.spec 2009-03-15 18:46:12.000000000 +0800 @@ -56,8 +56,8 @@ # Module needs to be fixed. %if %with_modglfs %if %with_apxs_default -BuildRequires: apache-devel >= 1.3 -Requires: apache >= 1.3 +BuildRequires: httpd-devel >= 1.3 +Requires: httpd >= 1.3 %endif %endif BuildRequires: libtool @@ -92,6 +92,21 @@ This package provides the development libraries. +%package modglfs +Summary: GlusterFS Development Libraries +Group: Development/Libraries +Requires: %name = %version + +%description modglfs +GlusterFS is a clustered file-system capable of scaling to several +peta-bytes. It aggregates various storage bricks over Infiniband RDMA +or TCP/IP interconnect into one large parallel network file +system. GlusterFS is one of the most sophisticated file system in +terms of features and extensibility. It borrows a powerful concept +called Translators from GNU Hurd kernel. Much of the code in GlusterFS +is in userspace and easily manageable. + +This package provides the apache module libraries. %prep # then -n argument says that the unzipped version is NOT %name-%version @@ -148,6 +163,7 @@ %exclude %_libdir/*.a %exclude %_libdir/*.la %exclude /usr/include/libglusterfsclient.h +%exclude %_libdir/glusterfs/%{version}/apache %doc /usr/share/doc/glusterfs %config /etc/glusterfs %_prefix/sbin/glusterfs @@ -168,25 +184,39 @@ %post ldconfig -n %_libdir + +%postun +ldconfig + %if %with_modglfs + +%files modglfs +%_libdir/glusterfs/%{version}/apache + +%post modglfs +ldconfig -n %_libdir %if %with_apxs_default %{_sbindir}/apxs -i -a -n glusterfs %{_libdir}/glusterfs/%version/apache-1.3/mod_glusterfs.so %else %{apxs_path}/apxs -i -a -n glusterfs %{_libdir}/glusterfs/%version/apache-1.3/mod_glusterfs.so %endif -%endif -%postun -ldconfig +%endif %clean %{__rm} -rf $RPM_BUILD_ROOT %changelog +* Thu Mar 15 2009 Kirby Zhou - 2.0 +- Modify the fetch bug and mount bug. + * Fri Feb 27 2009 Harshavardhana - 2.0 - Added /etc/init.d/glusterfsd +* Thu Feb 26 2009 Kirby Zhou - 2.0 +- Modify the dependency of apache, replace apache with httpd. + * Fri Dec 12 2008 Harshavardhana - 1.4 - Added new options with --with-apxspath --with-apachepath new configure options.