|
|
ab7da3 |
Summary: Gluster block storage utility
|
|
|
ab7da3 |
Name: gluster-block
|
|
|
64e820 |
Version: 0.4
|
|
|
64e820 |
Release: 1%{?dist}
|
|
|
ab7da3 |
License: GPLv2 or LGPLv3+
|
|
|
ab7da3 |
URL: https://github.com/gluster/gluster-block
|
|
|
ab7da3 |
Source0: https://github.com/gluster/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
ab7da3 |
|
|
|
64e820 |
# from https://github.com/gluster/gluster-block/pull/231
|
|
|
64e820 |
Patch0: gluster-block-0.4-logrotate.patch
|
|
|
ab7da3 |
|
|
|
ab7da3 |
BuildRequires: pkgconfig(glusterfs-api)
|
|
|
ab7da3 |
BuildRequires: pkgconfig(json-c)
|
|
|
ab7da3 |
BuildRequires: help2man >= 1.36
|
|
|
64e820 |
BuildRequires: libtirpc-devel
|
|
|
64e820 |
BuildRequires: rpcgen
|
|
|
ab7da3 |
BuildRequires: systemd
|
|
|
ab7da3 |
# tarball releases require running ./autogen.sh
|
|
|
ab7da3 |
BuildRequires: automake, autoconf, libtool, git
|
|
|
ab7da3 |
|
|
|
64e820 |
Requires: tcmu-runner >= 1.1.3
|
|
|
64e820 |
Requires: targetcli >= 2.1.fb49
|
|
|
64e820 |
Requires: python-rtslib >= 2.1.fb69
|
|
|
ab7da3 |
Requires: rpcbind
|
|
|
ab7da3 |
|
|
|
64e820 |
%{?systemd_requires}
|
|
|
64e820 |
|
|
|
ab7da3 |
%description
|
|
|
ab7da3 |
gluster-block is a CLI utility, which aims at making gluster backed block
|
|
|
ab7da3 |
storage creation and maintenance as simple as possible.
|
|
|
ab7da3 |
|
|
|
ab7da3 |
%prep
|
|
|
64e820 |
%autosetup -p 1
|
|
|
ab7da3 |
|
|
|
ab7da3 |
%build
|
|
|
ab7da3 |
echo %{version} > VERSION
|
|
|
ab7da3 |
./autogen.sh
|
|
|
ab7da3 |
%configure
|
|
|
ab7da3 |
%make_build
|
|
|
ab7da3 |
|
|
|
ab7da3 |
%install
|
|
|
ab7da3 |
%make_install
|
|
|
64e820 |
touch %{buildroot}%{_sharedstatedir}/gluster-block/gb_upgrade.status
|
|
|
ab7da3 |
|
|
|
ab7da3 |
%post
|
|
|
ab7da3 |
%systemd_post gluster-block-target.service
|
|
|
ab7da3 |
%systemd_post gluster-blockd.service
|
|
|
ab7da3 |
|
|
|
ab7da3 |
%preun
|
|
|
ab7da3 |
%systemd_preun gluster-block-target.service
|
|
|
ab7da3 |
%systemd_preun gluster-blockd.service
|
|
|
ab7da3 |
|
|
|
ab7da3 |
%postun
|
|
|
ab7da3 |
%systemd_postun_with_restart gluster-block-target.service
|
|
|
ab7da3 |
%systemd_postun_with_restart gluster-blockd.service
|
|
|
ab7da3 |
|
|
|
ab7da3 |
%files
|
|
|
ab7da3 |
%license COPYING-GPLV2 COPYING-LGPLV3
|
|
|
ab7da3 |
%doc README.md
|
|
|
ab7da3 |
%{_sbindir}/gluster-block
|
|
|
ab7da3 |
%{_sbindir}/gluster-blockd
|
|
|
64e820 |
%doc %{_mandir}/man8/gluster-block*.8*
|
|
|
ab7da3 |
%{_unitdir}/gluster-blockd.service
|
|
|
ab7da3 |
%{_unitdir}/gluster-block-target.service
|
|
|
ab7da3 |
%config(noreplace) %{_sysconfdir}/sysconfig/gluster-blockd
|
|
|
64e820 |
%config(noreplace) %{_sysconfdir}/logrotate.d/gluster-block
|
|
|
64e820 |
%{_libexecdir}/gluster-block
|
|
|
64e820 |
%dir %{_localstatedir}/log/gluster-block
|
|
|
64e820 |
%dir %{_sharedstatedir}/gluster-block
|
|
|
64e820 |
%ghost %{_sharedstatedir}/gluster-block/gb_upgrade.status
|
|
|
64e820 |
%config(noreplace) %{_sharedstatedir}/gluster-block/gluster-block-caps.info
|
|
|
ab7da3 |
|
|
|
ab7da3 |
%changelog
|
|
|
64e820 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-5
|
|
|
64e820 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
64e820 |
|
|
|
64e820 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-4
|
|
|
64e820 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
64e820 |
|
|
|
64e820 |
* Fri May 3 2019 Niels de Vos <devos@fedoraproject.org> - 0.4-3
|
|
|
64e820 |
- Update runtime dependency versions for tcmu-runner, targetcli and rtslib
|
|
|
64e820 |
|
|
|
64e820 |
* Fri May 3 2019 Niels de Vos <devos@fedoraproject.org> - 0.4-2
|
|
|
64e820 |
- Correct the filename of the logrotate configuration
|
|
|
64e820 |
|
|
|
64e820 |
* Fri May 3 2019 Niels de Vos <devos@fedoraproject.org> - 0.4-1
|
|
|
64e820 |
- Update to version 0.4
|
|
|
64e820 |
|
|
|
64e820 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-7
|
|
|
64e820 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
64e820 |
|
|
|
64e820 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-6
|
|
|
64e820 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
64e820 |
|
|
|
64e820 |
* Tue Mar 06 2018 Björn Esser <besser82@fedoraproject.org> - 0.3-5
|
|
|
64e820 |
- Add patch to build against libtirpc-devel instead glibc-rpc
|
|
|
64e820 |
- Add needed BR: rpcgen, libtirpc-devel
|
|
|
64e820 |
|
|
|
64e820 |
* Tue Mar 06 2018 Björn Esser <besser82@fedoraproject.org> - 0.3-4
|
|
|
64e820 |
- Rebuilt for libjson-c.so.4 (json-c v0.13.1)
|
|
|
64e820 |
|
|
|
64e820 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-3
|
|
|
64e820 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
64e820 |
|
|
|
64e820 |
* Sun Dec 10 2017 Björn Esser <besser82@fedoraproject.org> - 0.3-2
|
|
|
64e820 |
- Rebuilt for libjson-c.so.3
|
|
|
ab7da3 |
|
|
|
ab7da3 |
* Mon Nov 06 2017 Prasanna Kumar Kalever <prasanna.kalever@redhat.com> - 0.3-1
|
|
|
ab7da3 |
- Update to 0.3
|
|
|
ab7da3 |
|
|
|
ab7da3 |
* Wed Sep 13 2017 Niels de Vos <ndevos@redhat.com> - 0.2.1-2
|
|
|
ab7da3 |
- use pkgconfig for BuildRequires
|
|
|
ab7da3 |
- run setup in quiet mode
|
|
|
ab7da3 |
- run make_* macros instead of make commands in build/install section
|
|
|
ab7da3 |
- drop the INSTALL file from the documentation
|
|
|
ab7da3 |
|
|
|
ab7da3 |
* Fri Jun 30 2017 Niels de Vos <ndevos@redhat.com> - 0.2.1-1
|
|
|
ab7da3 |
- initial packaging, based on upstream .spec
|
|
|
ab7da3 |
- prevent ./autogen.sh'd need for git to determine the version
|
|
|
ab7da3 |
- added systemd macros in the scriptlets
|