Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9bc873b2ef | ||
|
|
bd8e125cba | ||
|
|
613a0de0f6 | ||
|
|
f323f26b93 |
3 changed files with 34 additions and 19 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -18,3 +18,6 @@ corosync-1.2.7.tar.gz
|
|||
/corosync-1.99.9.tar.gz
|
||||
/corosync-2.0.0.tar.gz
|
||||
/corosync-2.0.1.tar.gz
|
||||
/corosync-2.0.2.tar.gz
|
||||
/corosync-2.0.3.tar.gz
|
||||
/corosync-2.3.0.tar.gz
|
||||
|
|
|
|||
|
|
@ -11,17 +11,20 @@
|
|||
%bcond_without rdma
|
||||
%endif
|
||||
%bcond_without systemd
|
||||
%bcond_without nss
|
||||
%bcond_without xmlconf
|
||||
%bcond_with runautogen
|
||||
|
||||
%global gitver %{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}
|
||||
%global gittarver %{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}
|
||||
|
||||
Name: corosync
|
||||
Summary: The Corosync Cluster Engine and Application Programming Interfaces
|
||||
Version: 2.0.1
|
||||
Release: 1%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
|
||||
Version: 2.3.0
|
||||
Release: 1%{?gitver}%{?dist}
|
||||
License: BSD
|
||||
Group: System Environment/Base
|
||||
URL: http://ftp.corosync.org
|
||||
Source0: ftp://ftp:user@ftp.corosync.org/downloads/%{name}-%{version}/%{name}-%{version}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}.tar.gz
|
||||
URL: http://www.corosync.org/
|
||||
Source0: http://corosync.org/download/%{name}-%{version}%{?gittarver}.tar.gz
|
||||
|
||||
%if 0%{?rhel}
|
||||
ExclusiveArch: i686 x86_64
|
||||
|
|
@ -37,13 +40,14 @@ Obsoletes: cman, clusterlib, clusterlib-devel
|
|||
|
||||
# Build bits
|
||||
|
||||
%define buildtrunk 0
|
||||
%{?_with_buildtrunk: %define buildtrunk 1}
|
||||
|
||||
BuildRequires: libqb-devel >= 0.13.0
|
||||
BuildRequires: groff
|
||||
BuildRequires: libqb-devel >= 0.14.2
|
||||
BuildRequires: nss-devel
|
||||
%if %{buildtrunk}
|
||||
BuildRequires: autoconf automake
|
||||
%if %{with runautogen}
|
||||
BuildRequires: autoconf automake libtool
|
||||
%endif
|
||||
%if %{with monitoring}
|
||||
BuildRequires: libstatgrab-devel
|
||||
%endif
|
||||
%if %{with rdma}
|
||||
BuildRequires: libibverbs-devel librdmacm-devel
|
||||
|
|
@ -64,10 +68,10 @@ Requires: libxslt
|
|||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}
|
||||
%setup -q -n %{name}-%{version}%{?gittarver}
|
||||
|
||||
%build
|
||||
%if %{buildtrunk}
|
||||
%if %{with runautogen}
|
||||
./autogen.sh
|
||||
%endif
|
||||
|
||||
|
|
@ -114,12 +118,13 @@ make install DESTDIR=%{buildroot}
|
|||
|
||||
%if %{with dbus}
|
||||
mkdir -p -m 0700 %{buildroot}/%{_sysconfdir}/dbus-1/system.d
|
||||
install -m 644 %{_builddir}/%{name}-%{version}/conf/corosync-signals.conf %{buildroot}/%{_sysconfdir}/dbus-1/system.d/corosync-signals.conf
|
||||
install -m 644 %{_builddir}/%{name}-%{version}%{?gittarver}/conf/corosync-signals.conf %{buildroot}/%{_sysconfdir}/dbus-1/system.d/corosync-signals.conf
|
||||
%endif
|
||||
|
||||
## tree fixup
|
||||
# drop static libs
|
||||
rm -f %{buildroot}%{_libdir}/*.a
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
# drop docs and html docs for now
|
||||
rm -rf %{buildroot}%{_docdir}/*
|
||||
|
||||
|
|
@ -148,7 +153,6 @@ fi
|
|||
%{_sbindir}/corosync-keygen
|
||||
%{_sbindir}/corosync-cmapctl
|
||||
%{_sbindir}/corosync-cfgtool
|
||||
%{_sbindir}/corosync-fplay
|
||||
%{_sbindir}/corosync-cpgtool
|
||||
%{_sbindir}/corosync-quorumtool
|
||||
%{_sbindir}/corosync-notifyd
|
||||
|
|
@ -190,7 +194,6 @@ fi
|
|||
%{_mandir}/man8/corosync-keygen.8*
|
||||
%{_mandir}/man8/corosync-cfgtool.8*
|
||||
%{_mandir}/man8/corosync-cpgtool.8*
|
||||
%{_mandir}/man8/corosync-fplay.8*
|
||||
%{_mandir}/man8/corosync-notifyd.8*
|
||||
%{_mandir}/man8/corosync-quorumtool.8*
|
||||
%{_mandir}/man5/corosync.conf.5*
|
||||
|
|
@ -205,7 +208,7 @@ fi
|
|||
Summary: The Corosync Cluster Engine Test Agents
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: libqb >= 0.10.1
|
||||
Requires: libqb >= 0.14.2
|
||||
|
||||
%description -n corosync-testagents
|
||||
This package contains corosync test agents.
|
||||
|
|
@ -298,6 +301,15 @@ The Corosync Cluster Engine APIs.
|
|||
%{_mandir}/man8/quorum_overview.8*
|
||||
|
||||
%changelog
|
||||
* Fri Jan 18 2013 Jan Friesse <jfriesse@redhat.com> - 2.3.0-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Dec 12 2012 Jan Friesse <jfriesse@redhat.com> - 2.0.3-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Oct 11 2012 Jan Friesse <jfriesse@redhat.com> - 2.0.2-1
|
||||
- New upstream release
|
||||
|
||||
* Tue May 12 2012 Jan Friesse <jfriesse@redhat.com> - 2.0.1-1
|
||||
- New upstream release
|
||||
|
||||
|
|
@ -410,7 +422,7 @@ The Corosync Cluster Engine APIs.
|
|||
- New upstream release
|
||||
- Use global instead of define
|
||||
- Update Source0 url
|
||||
- Use more %name macro around
|
||||
- Use more name macro around
|
||||
- Cleanup install section. Init script is now installed by upstream
|
||||
- Cleanup whitespace
|
||||
- Don't deadlock between package upgrade and corosync condrestart
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
9e23f3f5594676455ff39ff363658155 corosync-2.0.1.tar.gz
|
||||
4689279c36b1417e122a23c6818017dd corosync-2.3.0.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue