5e1c8ef
Name:           galera
071e117
Version:        25.3.12
4730a7e
Release:        4%{?dist}
5e1c8ef
Summary:        Synchronous multi-master wsrep provider (replication engine)
5e1c8ef
5e1c8ef
License:        GPLv2
071e117
URL:            http://galeracluster.com/
845eea4
Source0:        http://releases.galeracluster.com/source/%{name}-3-%{version}.tar.gz
845eea4
5e1c8ef
Source1:        garbd.service
5e1c8ef
Source2:        garbd-wrapper
5e1c8ef
Marcin Juszkiewicz 014d987
Patch0:         kill-mtune-native.patch
Marcin Juszkiewicz 014d987
5e1c8ef
BuildRequires:  boost-devel check-devel openssl-devel scons systemd
5e1c8ef
Requires:       nmap-ncat
5e1c8ef
5e1c8ef
5e1c8ef
Requires(post): systemd
5e1c8ef
Requires(preun): systemd
5e1c8ef
Requires(postun): systemd
5e1c8ef
5e1c8ef
5e1c8ef
%description
5e1c8ef
Galera is a fast synchronous multi-master wsrep provider (replication engine)
5e1c8ef
for transactional databases and similar applications. For more information
5e1c8ef
about wsrep API see http://launchpad.net/wsrep. For a description of Galera
5e1c8ef
replication engine see http://www.codership.com.
5e1c8ef
5e1c8ef
5e1c8ef
%prep
845eea4
%setup -q -n %{name}-3-%{version}
Marcin Juszkiewicz 014d987
%patch0 -p1
5e1c8ef
5e1c8ef
5e1c8ef
%build
5e1c8ef
export CPPFLAGS="%{optflags}"
5e1c8ef
scons %{?_smp_mflags} strict_build_flags=0
5e1c8ef
5e1c8ef
5e1c8ef
%install
5e1c8ef
install -D -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/garbd.service
5e1c8ef
install -D -m 755 %{SOURCE2} %{buildroot}%{_sbindir}/garbd-wrapper
5e1c8ef
install -D -m 755 garb/garbd %{buildroot}%{_sbindir}/garbd
5e1c8ef
install -D -m 755 libgalera_smm.so %{buildroot}%{_libdir}/galera/libgalera_smm.so
5e1c8ef
install -D -m 644 garb/files/garb.cnf %{buildroot}%{_sysconfdir}/sysconfig/garb
5e1c8ef
install -D -m 644 COPYING %{buildroot}%{_docdir}/galera/COPYING
5e1c8ef
install -D -m 644 chromium/LICENSE %{buildroot}%{_docdir}/galera/LICENSE.chromium
5e1c8ef
install -D -m 644 asio/LICENSE_1_0.txt %{buildroot}%{_docdir}/galera/LICENSE.asio
5e1c8ef
install -D -m 644 www.evanjones.ca/LICENSE %{buildroot}%{_docdir}/galera/LICENSE.crc32
5e1c8ef
install -D -m 644 scripts/packages/README %{buildroot}%{_docdir}/galera/README
5e1c8ef
install -D -m 644 scripts/packages/README-MySQL %{buildroot}%{_docdir}/galera/README-MySQL
5e1c8ef
5e1c8ef
5e1c8ef
%post
5e1c8ef
/sbin/ldconfig
5e1c8ef
%systemd_post garbd.service
5e1c8ef
5e1c8ef
5e1c8ef
%preun
5e1c8ef
%systemd_preun garbd.service
5e1c8ef
5e1c8ef
5e1c8ef
%postun
5e1c8ef
/sbin/ldconfig
5e1c8ef
%systemd_postun_with_restart garbd.service
5e1c8ef
5e1c8ef
5e1c8ef
%files
5e1c8ef
%defattr(-,root,root,-)
5e1c8ef
%config(noreplace,missingok) %{_sysconfdir}/sysconfig/garb
5e1c8ef
%dir %{_docdir}/galera
5e1c8ef
%dir %{_libdir}/galera
5e1c8ef
%{_sbindir}/garbd
5e1c8ef
%{_sbindir}/garbd-wrapper
5e1c8ef
%{_unitdir}/garbd.service
5e1c8ef
%{_libdir}/galera/libgalera_smm.so
5e1c8ef
%doc %{_docdir}/galera/COPYING
5e1c8ef
%doc %{_docdir}/galera/LICENSE.asio
5e1c8ef
%doc %{_docdir}/galera/LICENSE.crc32
5e1c8ef
%doc %{_docdir}/galera/LICENSE.chromium
5e1c8ef
%doc %{_docdir}/galera/README
5e1c8ef
%doc %{_docdir}/galera/README-MySQL
5e1c8ef
5e1c8ef
5e1c8ef
%changelog
4730a7e
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 25.3.12-4
4730a7e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4730a7e
b8717bf
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 25.3.12-3
b8717bf
- Rebuilt for Boost 1.60
b8717bf
Marcin Juszkiewicz 014d987
* Wed Sep 30 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 25.3.12-2
Marcin Juszkiewicz 014d987
- Remove use of -mtune=native which breaks build on secondary architectures
Marcin Juszkiewicz 014d987
071e117
* Fri Sep 25 2015 Richard W.M. Jones <rjones@redhat.com> - 25.3.12-1
071e117
- Update to 25.3.12.
071e117
- Should fix the build on 32 bit ARM (RHBZ#1241164).
35e61c0
- Remove ExcludeArch (should have read the BZ more closely).
071e117
00807d3
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 25.3.10-5
00807d3
- Rebuilt for Boost 1.59
00807d3
7e45f8b
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 25.3.10-4
7e45f8b
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
7e45f8b
e5fbf99
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 25.3.10-3
e5fbf99
- rebuild for Boost 1.58
e5fbf99
f953d85
* Wed Jul 08 2015 Ryan O'Hara <rohara@redhat.com> - 25.3.10-2
f953d85
- Disable ARM builds (#1241164, #1239516)
f953d85
845eea4
* Mon Jul 06 2015 Ryan O'Hara <rohara@redhat.com> - 25.3.10-1
845eea4
- Update to version 25.3.10
845eea4
cf87c0d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 25.3.5-11
cf87c0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
cf87c0d
Petr Machata 2e2c463
* Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 25.3.5-10
Petr Machata 2e2c463
- Rebuild for boost 1.57.0
Petr Machata 2e2c463
a3ca861
* Thu Nov 27 2014 Richard W.M. Jones <rjones@redhat.com> - 25.3.5-9
a3ca861
- Add aarch64 support.
a3ca861
ea2a2d2
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 25.3.5-8
ea2a2d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
ea2a2d2
ba4d716
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 25.3.5-7
ba4d716
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ba4d716
Petr Machata a10e0df
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 25.3.5-6
Petr Machata a10e0df
- Rebuild for boost 1.55.0
Petr Machata a10e0df
a13dba7
* Wed Apr 30 2014 Dan HorĂ¡k <dan[at]danny.cz> - 25.3.5-5
a13dba7
- set ExclusiveArch
a13dba7
5e1c8ef
* Thu Apr 24 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.5-4
5e1c8ef
- Use strict_build_flags=0 to avoid -Werror
845eea4
- Remove unnecessary clean section
5e1c8ef
5e1c8ef
* Thu Apr 24 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.5-3
5e1c8ef
- Include galera directories in file list
5e1c8ef
- Set CPPFLAGS to optflags
5e1c8ef
5e1c8ef
* Wed Apr 23 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.5-2
5e1c8ef
- Fix client certificate verification (#1090604)
5e1c8ef
5e1c8ef
* Thu Mar 27 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.5-1
5e1c8ef
- Update to version 25.3.5
5e1c8ef
5e1c8ef
* Mon Mar 24 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.3-2
5e1c8ef
- Add systemd service
5e1c8ef
5e1c8ef
* Sun Mar 09 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.3-1
5e1c8ef
- Initial build