Search
j0ke.net Open Build Service
>
Projects
>
GFS
:
experimental
>
cluster3
> cluster.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File cluster.spec of Package cluster3 (Revision 11)
Currently displaying revision
11
,
show latest
#!BuildIgnore: post-build-checks Name: cluster Version: 3.0.4 Release: 1 License: GPL Group: System Summary: Redhat Cluster Suite Url: http://sources.redhat.com/cluster/wiki/ Source0: %{name}-%{version}.tar.bz2 Source1: %{name}-rpmlintrc Patch0: cluster-cman-init.patch PAtch1: cluster-gfs2-init.patch Patch2: cluster-gfs-init.patch Patch3: cluster-rgmanager-init.patch Patch4: cluster-fence-agent-xvm.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: kernel >= 2.6.27 openais >= 1.0.0 sysconfig >= 0.71.11 BuildRequires: kernel-source BuildRequires: ncurses-devel readline-devel slang-devel libxml2-devel BuildRequires: libopenais-devel libvirt-devel BuildRequires: udev net-snmp-devel net-snmp BuildRequires: mozilla-xulrunner181-devel BuildRequires: libvolume_id-devel BuildRequires: xen-devel BuildRequires: openldap2-devel BuildRequires: libxslt BuildRequires: python python-pexpect python-openssl Provides: cman Requires: python-pexpect Requires: python-openssl Requires: perl-Net-Telnet Requires: perl-Net-SNMP Requires: logrotate %description %package devel Provides: cman-devel Summary: Redhat Cluster Suite development files Group: Development/Libraries %description devel %package -n gfs2-utils Group: System/Filesystems Summary: GFS2 utilities %description -n gfs2-utils %package -n gfs-utils Group: System/Filesystems Summary: GFS utilities %description -n gfs-utils ##%package -n gnbd-utils ##Group: System/Filesystems ##Summary: Global network blockdevice utils %##description -n gnbd-utils %package -n perl-Cluster-CCS Group: System/Filesystems Summary: Cluster perl modules %description -n perl-Cluster-CCS %prep %setup %patch0 %patch1 %patch2 %patch3 %patch4 ./configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --incdir=%{_includedir} \ --without_kernel_modules \ --disable_kernel_check %build %__make %install %__make DESTDIR=%{buildroot} install mkdir -p %{buildroot}/%{_docdir} mkdir -p %{buildroot}%{_sysconfdir}/cluster mv %{buildroot}/%{_datadir}/doc/%{name} %{buildroot}/%{_docdir}/ # no install-strip target for file in %{buildroot}%{_sbindir}/* ; do if [ -n "`file $file |grep ELF`" ] ; then strip $file fi done for file in %{buildroot}/sbin/* ; do if [ -n "`file $file |grep ELF`" ] ; then strip $file fi done %perl_process_packlist %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun /sbin/ldconfig %insserv_cleanup %postun -n gfs-utils %insserv_cleanup %postun -n gfs2-utils %insserv_cleanup %files %defattr(-,root,root) %dir %{_sysconfdir}/cluster %config %{_sysconfdir}/udev/rules.d/*.rules %config %{_sysconfdir}/logrotate.d/cluster %{_sbindir}/ccs* %{_sbindir}/clu* %{_sbindir}/cman_tool %{_sbindir}/cman_notify %{_sbindir}/cmannotifyd %{_sbindir}/confdb2ldif %{_sbindir}/dlm* %{_sbindir}/group* %{_sbindir}/fence* %{_sbindir}/mkqdisk %{_sbindir}/qdiskd %{_sbindir}/rg_test %{_sbindir}/rgmanager %{_datadir}/%{name} %{_datadir}/fence/* %{_mandir}/man3/dlm_*.3* %{_mandir}/man3/libdlm.3* %{_mandir}/man5/cluster.conf.5* %{_mandir}/man5/cman.5* %{_mandir}/man5/qdisk.5* %{_mandir}/man8/ccs*.8* %{_mandir}/man8/clu*.8* %{_mandir}/man8/cman_tool.8* %{_mandir}/man8/dlm_*.8* %{_mandir}/man8/group*.8* %{_mandir}/man8/fence*.8* %{_mandir}/man8/mkqdisk.8* %{_mandir}/man8/qdiskd.8* %{_mandir}/man8/cmannotifyd.8* %{_mandir}/man8/confdb2ldif.8* %{_docdir}/%{name} %{_libdir}/*.so.3.0 %{_libdir}/*.so.4.0 %{_prefix}/libexec/lcrso/service_cman.lcrso %{_prefix}/libexec/lcrso/config_*.lcrso %{_sysconfdir}/init.d/cman %{_sysconfdir}/init.d/rgmanager %files devel %defattr(-,root,root) %{_includedir}/*.h %{_libdir}/*.a %{_libdir}/*.so %{_libdir}/*.so.3 %{_libdir}/*.so.4 %{_libdir}/pkgconfig/lib*.pc %files -n gfs2-utils %defattr(-,root,root) %{_sbindir}/gfs2_* /sbin/mkfs.gfs2 /sbin/fsck.gfs2 %{_mandir}/man8/gfs2*.8* %{_mandir}/man8/mkfs.gfs2.8* %{_mandir}/man8/fsck.gfs2.8* %{_mandir}/man8/mount.gfs2.8* /sbin/mount.gfs2 #/sbin/umount.gfs2 %{_sysconfdir}/init.d/gfs2 %files -n gfs-utils %defattr(-,root,root) %{_sbindir}/gfs_* /sbin/mkfs.gfs /sbin/fsck.gfs %{_mandir}/man8/gfs.8* %{_mandir}/man8/gfs_*.8* %{_mandir}/man8/mkfs.gfs.8* %{_mandir}/man8/fsck.gfs.8* %{_mandir}/man8/mount.gfs.8* /sbin/mount.gfs #/sbin/umount.gfs %{_sysconfdir}/init.d/gfs ##%files -n gnbd-utils ##%defattr(-,root,root) ##%{_sbindir}/gnbd_* ##%{_mandir}/man8/gnbd*.8* %files -n perl-Cluster-CCS %deffattr(-,root,root) %dir %{perl_vendorlib}/Cluster %dir %{perl_vendorlib}/auto/Cluster %dir %{perl_vendorlib}/auto/Cluster/CCS %{perl_vendorarch}/Cluster/CCS.pm %{perl_vendorarch}/auto/Cluster/CCS/.packlist %{perl_vendorarch}/auto/Cluster/CCS/CCS.bs %{perl_vendorarch}/auto/Cluster/CCS/CCS.so %{_mandir}/man3/Cluster::CCS.3pm* /var/adm/perl-modules/cluster %changelog * Sun Nov 08 2009 Carsten Schoene <cs@linux-administrator.com> - 3.0.4-1 - initial build