drbd-utils/drbd-utils.spec

182 lines
5.7 KiB
RPMSpec

Name: drbd-utils
Version: 9.22.0
Release: 1mamba
Summary: RAID 1 over TCP/IP for Linux utilities
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://linbit.com/drbd/
Source: https://pkg.linbit.com//downloads/drbd/utils/drbd-utils-%{version}.tar.gz
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
License: GPL
Provides: drbd
Obsoletes: drbd <= 8.4.3
%description
Drbd is a block device which is designed to build high availability clusters by providing a virtual shared device which keeps disks in nodes synchronised using TCP/IP.
This simulates RAID 1 but avoiding the use of uncommon hardware (shared SCSI buses or Fibre Channel). It is currently limited to fail-over HA clusters.
This package contains the programs that will control the drbd kernel module.
You will need a clustering service (such as heartbeat) to fully implement it.
%debug_package
%prep
%setup -q
%build
%configure \
--with-utils \
--without-km \
--with-udev \
--with-xen \
--with-pacemaker \
--with-heartbeat \
--with-rgmanager \
--with-bashcompletion \
--with-distro=generic \
--with-initscripttype=systemd
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
mv %{buildroot}/lib/drbd/* %{buildroot}%{_prefix}/lib/drbd/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%preun
%systemd_preun drbd
:
%post
%systemd_post drbd
:
%postun
%systemd_postun_with_restart drbd
:
%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/drbd.conf
%{_sysconfdir}/drbd.d/global_common.conf
%{_sysconfdir}/ha.d/resource.d/drbdupper
%{_sysconfdir}/bash_completion.d/drbdadm
%{_sysconfdir}/xen/scripts/block-drbd
%{_sysconfdir}/ha.d/resource.d/drbddisk
%{_sysconfdir}/multipath/conf.d/drbd.conf
%{_sbindir}/drbd*
%{_unitdir}/drbd.service
%{_unitdir}/drbd-lvchange@.service
%{_unitdir}/drbd-promote@.service
%{_unitdir}/drbd-reconfigure-suspend-or-error@.service
%{_unitdir}/drbd-demote-or-escalate@.service
%{_unitdir}/drbd-services@.target
%{_unitdir}/drbd-wait-promotable@.service
%{_unitdir}/drbd@.service
%{_unitdir}/drbd@.target
%{_unitdir}/ocf.ra@.service
%dir %{_prefix}/lib/drbd/
%{_prefix}/lib/drbd/*
%dir %{_prefix}/lib/ocf/resource.d/linbit
%{_prefix}/lib/ocf/resource.d/linbit/*
%{_tmpfilesdir}/drbd.conf
%{_udevrulesdir}/65-drbd.rules
%{_datadir}/cluster/drbd.metadata
%{_datadir}/cluster/drbd.sh
%{_mandir}/man5/drbd.conf*.5*
%{_mandir}/man7/drbd*.7*
%{_mandir}/man7/ocf*.7*
%{_mandir}/man8/drbd*.8*
%{_mandir}/ja/man5/drbd.conf*5*
%{_mandir}/ja/man8/drbd*8*
%doc COPYING
%changelog
* Tue Oct 04 2022 Automatic Build System <autodist@mambasoft.it> 9.22.0-1mamba
- automatic version update by autodist
* Tue Jul 19 2022 Automatic Build System <autodist@mambasoft.it> 9.21.4-1mamba
- automatic version update by autodist
* Mon Jul 11 2022 Automatic Build System <autodist@mambasoft.it> 9.21.3-1mamba
- automatic version update by autodist
* Wed May 25 2022 Automatic Build System <autodist@mambasoft.it> 9.21.1-1mamba
- automatic version update by autodist
* Fri Apr 29 2022 Automatic Build System <autodist@mambasoft.it> 9.21.0-1mamba
- automatic version update by autodist
* Tue Feb 08 2022 Automatic Build System <autodist@mambasoft.it> 9.20.2-1mamba
- automatic version update by autodist
* Fri Jan 14 2022 Automatic Build System <autodist@mambasoft.it> 9.20.0-1mamba
- automatic version update by autodist
* Wed Dec 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 9.19.1-1mamba
- update to 9.19.1
* Wed Jun 23 2021 Automatic Build System <autodist@mambasoft.it> 9.18.0-1mamba
- automatic version update by autodist
* Sun May 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 9.17.0-1mamba
- update to 9.17.0
* Fri Sep 13 2013 Automatic Build System <autodist@mambasoft.it> 8.4.3-1mamba
- automatic version update by autodist
* Mon Apr 15 2013 Automatic Build System <autodist@mambasoft.it> 8.4.2-1mamba
- automatic version update by autodist
* Wed Dec 29 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 8.3.9-2mamba
- disabled kernel module build (module was added upstream by 2.6.35)
* Tue Nov 02 2010 Automatic Build System <autodist@mambasoft.it> 8.3.9-1mamba
- automatic update by autodist
* Wed Jun 30 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 8.3.8-2mamba
- automatic rebuild by autodist
* Mon Jun 21 2010 Automatic Build System <autodist@mambasoft.it> 8.3.8-1mamba
- automatic update by autodist
* Sat Jan 23 2010 Automatic Build System <autodist@mambasoft.it> 8.3.7-1mamba
- automatic update by autodist
* Tue Jun 24 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 8.2.6-1mamba
- update to 8.2.6
* Wed Mar 08 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.17-1qilnx
- update to version 0.7.17 by autospec
* Thu Apr 21 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.10-1qilnx
- update to version 0.7.10 by autospec
* Thu May 13 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.6.12-6qilnx
- specfile modified: the drbd kernel module is now in the kernels packages
* Wed May 12 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.12-5qilnx
- added an initscript patch to avoid a no terminal fatal error
* Tue May 11 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.12-4qilnx
- fixed datadisk symlink
* Tue May 11 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.12-3qilnx
- added datadisk resource file for ha
* Tue May 11 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.12-2qilnx
- fixed post scripts
- build a standard kernel (should be build in future for all kernel versions)
* Tue May 11 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.12-1qilnx
- fist build