Compare commits
10 Commits
c5d158df78
...
9261a103fa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9261a103fa | ||
|
|
6f93ef81bc | ||
|
|
7f662e45df | ||
|
|
f6888b2e8d | ||
|
|
e277175ac9 | ||
|
|
65d8d44282 | ||
|
|
6cf1e80365 | ||
|
|
a22410d077 | ||
|
|
ed12f2c943 | ||
|
|
34296d728a |
Binary file not shown.
BIN
corosync-qdevice-3.0.3.tar.gz
Normal file
BIN
corosync-qdevice-3.0.3.tar.gz
Normal file
Binary file not shown.
@ -1,6 +1,7 @@
|
||||
# Conditionals
|
||||
# Invoke "rpmbuild --without <feature>" or "rpmbuild --with <feature>"
|
||||
# to disable or enable specific features
|
||||
%bcond_without userflags
|
||||
%bcond_with runautogen
|
||||
%bcond_without systemd
|
||||
|
||||
@ -8,12 +9,12 @@
|
||||
%global gittarver %{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}
|
||||
|
||||
Name: corosync-qdevice
|
||||
Summary: The Corosync Cluster Engine Qdevice
|
||||
Version: 3.0.0
|
||||
Release: 2%{?gitver}%{?dist}
|
||||
License: BSD
|
||||
URL: https://github.com/corosync/corosync-qdevice
|
||||
Source0: https://github.com/corosync/corosync-qdevice/releases/download/v%{version}%{?gittarver}/%{name}-%{version}%{?gittarver}.tar.gz
|
||||
Summary: The Corosync Cluster Engine Qdevice
|
||||
Version: 3.0.3
|
||||
Release: 1
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/corosync/corosync-qdevice
|
||||
Source0: https://github.com/corosync/corosync-qdevice/releases/download/v%{version}%{?gittarver}/%{name}-%{version}%{?gittarver}.tar.gz
|
||||
|
||||
# Runtime bits
|
||||
Requires: corosync >= 2.4.0
|
||||
@ -40,6 +41,7 @@ BuildRequires: nss-devel
|
||||
%if %{with runautogen}
|
||||
BuildRequires: autoconf automake libtool
|
||||
%endif
|
||||
BuildRequires: make
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?gittarver}
|
||||
@ -50,6 +52,9 @@ BuildRequires: autoconf automake libtool
|
||||
%endif
|
||||
|
||||
%{configure} \
|
||||
%if %{with userflags}
|
||||
--enable-user-flags \
|
||||
%endif
|
||||
%if %{with systemd}
|
||||
--enable-systemd \
|
||||
%endif
|
||||
@ -59,20 +64,20 @@ BuildRequires: autoconf automake libtool
|
||||
--with-systemddir=%{_unitdir} \
|
||||
--docdir=%{_docdir}
|
||||
|
||||
make %{_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
%make_install
|
||||
|
||||
## tree fixup
|
||||
# drop docs and html docs for now
|
||||
rm -rf %{buildroot}%{_docdir}/*
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
|
||||
# /etc/sysconfig/corosync-qdevice
|
||||
install -m 644 init/corosync-qdevice.sysconfig.example \
|
||||
install -p -m 644 init/corosync-qdevice.sysconfig.example \
|
||||
%{buildroot}%{_sysconfdir}/sysconfig/corosync-qdevice
|
||||
# /etc/sysconfig/corosync-qnetd
|
||||
install -m 644 init/corosync-qnetd.sysconfig.example \
|
||||
install -p -m 644 init/corosync-qnetd.sysconfig.example \
|
||||
%{buildroot}%{_sysconfdir}/sysconfig/corosync-qnetd
|
||||
|
||||
%if %{with systemd}
|
||||
@ -112,6 +117,7 @@ fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%dir %{_sysconfdir}/corosync/qdevice
|
||||
%dir %config(noreplace) %{_sysconfdir}/corosync/qdevice/net
|
||||
%dir %{_localstatedir}/run/corosync-qdevice
|
||||
@ -128,6 +134,18 @@ fi
|
||||
%{_mandir}/man8/corosync-qdevice-net-certutil.8*
|
||||
%{_mandir}/man8/corosync-qdevice.8*
|
||||
|
||||
%package -n corosync-qdevice-devel
|
||||
Summary: The Corosync Cluster Engine Qdevice Network Development Kit
|
||||
Requires: pkgconfig
|
||||
|
||||
%description -n corosync-qdevice-devel
|
||||
This package contains files used to develop using
|
||||
The Corosync Cluster Engine Qdevice
|
||||
|
||||
%files -n corosync-qdevice-devel
|
||||
%license LICENSE
|
||||
%{_datadir}/pkgconfig/corosync-qdevice.pc
|
||||
|
||||
%package -n corosync-qnetd
|
||||
Summary: The Corosync Cluster Engine Qdevice Network Daemon
|
||||
Requires: nss-tools
|
||||
@ -172,6 +190,7 @@ fi
|
||||
%endif
|
||||
|
||||
%files -n corosync-qnetd
|
||||
%license LICENSE
|
||||
%dir %config(noreplace) %attr(770, coroqnetd, coroqnetd) %{_sysconfdir}/corosync/qnetd
|
||||
%dir %attr(770, coroqnetd, coroqnetd) %{_localstatedir}/run/corosync-qnetd
|
||||
%{_bindir}/corosync-qnetd
|
||||
@ -188,7 +207,17 @@ fi
|
||||
%{_mandir}/man8/corosync-qnetd.8*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 27 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 3.0.3-1
|
||||
- Upgrade version to 3.0.3
|
||||
|
||||
* Tue Sep 13 2022 liqiuyu <liqiuyu@kylinos.cn> - 3.0.1-2
|
||||
- Remove corosync-qdevice.service
|
||||
|
||||
* Mon Mar 28 2022 zouzhimin <zouzhimin@kylinos.cn> - 3.0.1-1
|
||||
- Upgrade the corosync-qdevice package version to 3.0.1-1
|
||||
|
||||
* Fri Oct 30 2020 jiangxinyu <jiangxinyu@kylinos.cn> - 3.0.0-10
|
||||
- Upgrade the corosync-qdevice package version to 3.0.0-10
|
||||
|
||||
* Thu Apr 16 2020 houjian<jian.hou@kylinos.cn> - 3.0.0-2
|
||||
- Init corosync-qdevice project
|
||||
|
||||
|
||||
|
||||
5
corosync-qdevice.yaml
Normal file
5
corosync-qdevice.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
version_control: github
|
||||
src_repo: corosync/corosync-qdevice
|
||||
tag_prefix: ^v
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user