2011-05-24 15:38:41 +00:00
|
|
|
Name: sheepdog
|
2017-01-09 09:50:12 +00:00
|
|
|
Summary: The Sheepdog distributed storage system for KVM/QEMU
|
|
|
|
Version: 1.0.1
|
2022-07-23 08:31:00 +00:00
|
|
|
Release: 18%{?dist}
|
2011-05-24 15:38:41 +00:00
|
|
|
License: GPLv2 and GPLv2+
|
2017-01-09 09:50:12 +00:00
|
|
|
URL: http://sheepdog.github.io/sheepdog
|
|
|
|
Source0: https://github.com/sheepdog/sheepdog/archive/v1.0.1.tar.gz
|
2012-01-12 05:34:06 +00:00
|
|
|
Source1: sheepdog.service
|
2017-01-09 11:09:25 +00:00
|
|
|
Source2: sheepdog.timer
|
|
|
|
Source3: sheepdog
|
2017-01-09 09:50:12 +00:00
|
|
|
|
2020-03-30 11:33:00 +00:00
|
|
|
Patch0: sha1-extern.patch
|
|
|
|
|
2017-01-09 09:50:12 +00:00
|
|
|
%{?systemd_requires}
|
2011-05-24 15:38:41 +00:00
|
|
|
|
|
|
|
# Build bits
|
2021-01-08 21:27:04 +00:00
|
|
|
BuildRequires: make
|
2017-01-09 09:50:12 +00:00
|
|
|
BuildRequires: autoconf automake libtool systemd
|
2011-05-24 15:38:41 +00:00
|
|
|
BuildRequires: corosync corosynclib corosynclib-devel
|
2017-01-09 09:50:12 +00:00
|
|
|
BuildRequires: userspace-rcu-devel
|
|
|
|
|
|
|
|
# For sheepfs
|
|
|
|
BuildRequires: fuse-devel
|
2011-05-24 15:38:41 +00:00
|
|
|
|
2017-01-09 09:50:12 +00:00
|
|
|
%ifarch x86_64
|
|
|
|
BuildRequires: yasm
|
|
|
|
%endif
|
2011-05-24 15:38:41 +00:00
|
|
|
|
2017-01-09 11:09:25 +00:00
|
|
|
# corosync not available on these architectures
|
2011-11-25 01:14:15 +00:00
|
|
|
%if 0%{?rhel} >= 6
|
2017-01-09 11:09:25 +00:00
|
|
|
Excludearch: aarch64
|
2011-11-25 01:14:15 +00:00
|
|
|
Excludearch: ppc
|
|
|
|
Excludearch: ppc64
|
2017-01-09 09:50:12 +00:00
|
|
|
Excludearch: ppc64le
|
2011-11-25 01:14:15 +00:00
|
|
|
%endif
|
|
|
|
|
2017-01-09 09:50:12 +00:00
|
|
|
%description
|
|
|
|
This package contains the Sheepdog server and the "dog" command line tool,
|
|
|
|
which offer a distributed object storage system for KVM.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Header files for the Sheepdog distributed storage system
|
|
|
|
License: GPLv2 and GPLv2+
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2011-11-25 01:14:15 +00:00
|
|
|
|
2017-01-09 09:50:12 +00:00
|
|
|
%description devel
|
|
|
|
This package contains the header files for libsheepdog.
|
2011-11-25 01:14:15 +00:00
|
|
|
|
2017-01-09 09:50:12 +00:00
|
|
|
%package libs
|
|
|
|
Summary: Libraries for the Sheepdog distributed storage system
|
|
|
|
License: GPLv2 and GPLv2+
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
This package contains the libsheepdog shared library.
|
2011-05-24 15:38:41 +00:00
|
|
|
|
|
|
|
%prep
|
2017-01-09 09:50:12 +00:00
|
|
|
%setup -q
|
2020-03-30 11:33:00 +00:00
|
|
|
%patch0 -p1
|
2011-05-24 15:38:41 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
./autogen.sh
|
|
|
|
|
2017-01-09 09:50:12 +00:00
|
|
|
# TODO: add LTTng-ust support
|
|
|
|
%{configure} \
|
|
|
|
--without-initddir \
|
|
|
|
--without-systemdsystemunitdir \
|
|
|
|
--disable-static
|
|
|
|
|
|
|
|
make %{_smp_mflags} V=1
|
|
|
|
|
2011-05-24 15:38:41 +00:00
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
2017-01-09 09:50:12 +00:00
|
|
|
rm -f %{buildroot}/%{_libdir}/libsheepdog.la
|
|
|
|
rm -f %{buildroot}/%{_libdir}/libsheepdog.a
|
|
|
|
|
2012-01-12 05:34:06 +00:00
|
|
|
mkdir -p %{buildroot}/%{_unitdir}
|
|
|
|
cp -a %{SOURCE1} %{buildroot}/%{_unitdir}/
|
2017-01-09 11:09:25 +00:00
|
|
|
cp -a %{SOURCE2} %{buildroot}/%{_unitdir}/
|
2017-01-09 09:50:12 +00:00
|
|
|
|
|
|
|
mkdir -p %{buildroot}/%{_sysconfdir}/sysconfig
|
2017-01-09 11:09:25 +00:00
|
|
|
cp -a %{SOURCE3} %{buildroot}/%{_sysconfdir}/sysconfig
|
2017-01-09 09:50:12 +00:00
|
|
|
|
2011-05-24 15:38:41 +00:00
|
|
|
%post
|
2017-01-09 11:09:25 +00:00
|
|
|
%systemd_post sheepdog.timer
|
2011-05-24 15:38:41 +00:00
|
|
|
|
|
|
|
%preun
|
2017-01-09 11:09:25 +00:00
|
|
|
%systemd_preun sheepdog.timer
|
2017-01-09 09:50:12 +00:00
|
|
|
|
|
|
|
%postun
|
2017-01-09 11:09:25 +00:00
|
|
|
%systemd_postun_with_restart sheepdog.timer
|
2011-05-24 15:38:41 +00:00
|
|
|
|
|
|
|
%files
|
2013-12-21 21:45:52 +00:00
|
|
|
%doc COPYING README
|
2017-01-09 09:50:12 +00:00
|
|
|
%{_bindir}/dog
|
2011-05-24 15:38:41 +00:00
|
|
|
%{_sbindir}/sheep
|
2017-01-09 09:50:12 +00:00
|
|
|
%{_sbindir}/sheepfs
|
|
|
|
%{_sbindir}/shepherd
|
|
|
|
%{_sysconfdir}/bash_completion.d/dog
|
|
|
|
|
2012-01-12 05:34:06 +00:00
|
|
|
%{_unitdir}/sheepdog.service
|
2017-01-09 11:09:25 +00:00
|
|
|
%{_unitdir}/sheepdog.timer
|
2017-01-09 09:50:12 +00:00
|
|
|
%config %{_sysconfdir}/sysconfig/sheepdog
|
|
|
|
|
2011-05-24 15:38:41 +00:00
|
|
|
%dir %{_localstatedir}/lib/sheepdog
|
|
|
|
%{_mandir}/man8/sheep.8*
|
2017-01-09 09:50:12 +00:00
|
|
|
%{_mandir}/man8/dog.8*
|
|
|
|
%{_mandir}/man8/sheepfs.8*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%dir %{_includedir}/sheepdog
|
|
|
|
%{_includedir}/sheepdog/internal.h
|
|
|
|
%{_includedir}/sheepdog/list.h
|
|
|
|
%{_includedir}/sheepdog/sheepdog.h
|
|
|
|
%{_includedir}/sheepdog/sheepdog_proto.h
|
|
|
|
%{_includedir}/sheepdog/util.h
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
%{_libdir}/libsheepdog.so
|
2011-05-24 15:38:41 +00:00
|
|
|
|
|
|
|
%changelog
|
2022-07-23 08:31:00 +00:00
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-18
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-22 00:48:43 +00:00
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-23 17:29:29 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-03-02 15:12:20 +00:00
|
|
|
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.1-15
|
|
|
|
- Rebuilt for updated systemd-rpm-macros
|
|
|
|
See https://pagure.io/fesco/issue/2583.
|
|
|
|
|
2021-01-27 20:19:23 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-29 10:39:31 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-03-30 11:33:00 +00:00
|
|
|
* Mon Mar 30 2020 Paolo Bonzini <pbonzini@redhat.com> - 1.0.1-12
|
|
|
|
- New patch sha1-extern.patch to fix FTBFS
|
|
|
|
- Delete obsolete patches
|
|
|
|
|
2020-01-30 23:22:43 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-26 23:13:02 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-02 15:19:28 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-14 06:03:55 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-03-23 02:26:56 +00:00
|
|
|
* Thu Mar 22 2018 Kevin Fenzi <kevin@scrye.com> - 1.0.1-7
|
|
|
|
- Rebuild for new corosync. Fixes bug #1559672
|
|
|
|
|
2018-02-09 16:38:20 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 08:24:30 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 18:32:21 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 13:23:18 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-09 11:09:25 +00:00
|
|
|
* Mon Jan 09 2017 Paolo Bonzini <pbonzini@redhat.com> - 1.0.1-2
|
|
|
|
- Introduce sheepdog.timer
|
|
|
|
- For EPEL7, disable on aarch64
|
|
|
|
|
2017-01-09 09:50:12 +00:00
|
|
|
* Mon Jan 09 2017 Paolo Bonzini <pbonzini@redhat.com> - 1.0.1-1
|
|
|
|
- Update to 1.0.1 (Resolves: #1396430)
|
|
|
|
- /usr/bin/collie is now /usr/bin/dog
|
|
|
|
- Added /usr/sbin/sheepfs and /usr/sbin/shepherd
|
|
|
|
- Revamped systemd spec file, added /etc/sysconfig/sheepdog
|
|
|
|
|
2016-02-04 23:56:43 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-19 00:46:07 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-21 17:50:12 +00:00
|
|
|
* Thu Aug 21 2014 Kevin Fenzi <kevin@scrye.com> - 0.3.0-9
|
|
|
|
- Rebuild for rpm bug 1131960
|
|
|
|
|
2014-08-18 02:12:20 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-08 06:16:18 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-12-21 21:45:52 +00:00
|
|
|
* Sat Dec 21 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.3.0-6
|
|
|
|
- Drop empty %%postun script.
|
|
|
|
- Drop INSTALL from docs.
|
|
|
|
- Fix bogus date in %%changelog.
|
|
|
|
|
2013-08-04 14:20:56 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 23:52:20 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-21 19:31:58 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-03-16 10:21:58 +00:00
|
|
|
* Fri Mar 16 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.3.0-2
|
|
|
|
- Rebuild against new corosync (soname change).
|
|
|
|
- Add patch to fix build against new corosync headers.
|
|
|
|
|
2013-12-21 21:45:52 +00:00
|
|
|
* Thu Jan 12 2012 David Nalley <david@gnsa.us> - 0.3.0-1
|
2012-01-12 05:34:06 +00:00
|
|
|
- updating to 0.3.0
|
|
|
|
|
|
|
|
* Thu Nov 24 2011 David Nalley <david@gnsa.us> - 0.2.4-2
|
|
|
|
- adding systemd support
|
|
|
|
|
2011-11-25 01:14:15 +00:00
|
|
|
* Thu Nov 24 2011 David Nalley <david@gnsa.us> - 0.2.4-1
|
|
|
|
- updating to 0.2.4
|
|
|
|
|
|
|
|
* Sat Jun 04 2011 David Nalley <david@gnsa.us> - 0.2.3-2
|
|
|
|
- excluding ppc and ppc64 arch for el6
|
|
|
|
|
2011-05-24 15:38:41 +00:00
|
|
|
* Sat May 21 2011 David Nalley <david@gnsa.us> - 0.2.3-1
|
|
|
|
- updating to 0.2.3 to track upstream.
|
|
|
|
|
|
|
|
* Fri May 20 2011 David Nalley <david@gnsa.us> - 0.2.2-2
|
|
|
|
- removed -n from setup
|
|
|
|
- hardcoded version number.
|
|
|
|
- changed lic from gpl to gplv2
|
|
|
|
- added INSTALL to doc
|
|
|
|
- added proper handling of initscripts
|
|
|
|
|
|
|
|
* Fri May 20 2011 Autotools generated version <nobody@nowhere.org> - 0.2.2-1
|
|
|
|
- Autotools generated version
|
|
|
|
|