2014-04-28 13:56:12 +00:00
|
|
|
Name: galera
|
|
|
|
Version: 25.3.5
|
2015-06-17 06:54:49 +00:00
|
|
|
Release: 11%{?dist}
|
2014-04-28 13:56:12 +00:00
|
|
|
Summary: Synchronous multi-master wsrep provider (replication engine)
|
|
|
|
|
|
|
|
License: GPLv2
|
|
|
|
URL: http://www.codership.com/
|
|
|
|
Source0: https://launchpad.net/%{name}/3.x/%{version}/+download/%{name}-%{version}-src.tar.gz
|
|
|
|
Source1: garbd.service
|
|
|
|
Source2: garbd-wrapper
|
|
|
|
|
|
|
|
Patch1: galera-verify.patch
|
2014-11-27 22:01:25 +00:00
|
|
|
# Add aarch64 support. Sent upstream 2014-11-27.
|
|
|
|
Patch2: galera-add-aarch64-support.patch
|
2014-04-28 13:56:12 +00:00
|
|
|
|
|
|
|
BuildRequires: boost-devel check-devel openssl-devel scons systemd
|
|
|
|
Requires: nmap-ncat
|
|
|
|
|
2014-04-30 08:00:45 +00:00
|
|
|
# comes from ./chromium/build_config.h
|
2014-11-27 22:01:25 +00:00
|
|
|
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64
|
2014-04-30 08:00:45 +00:00
|
|
|
|
2014-04-28 13:56:12 +00:00
|
|
|
|
|
|
|
Requires(post): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(postun): systemd
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
Galera is a fast synchronous multi-master wsrep provider (replication engine)
|
|
|
|
for transactional databases and similar applications. For more information
|
|
|
|
about wsrep API see http://launchpad.net/wsrep. For a description of Galera
|
|
|
|
replication engine see http://www.codership.com.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}-src
|
|
|
|
|
|
|
|
%patch1 -p1
|
2014-11-27 22:01:25 +00:00
|
|
|
%patch2 -p1
|
2014-04-28 13:56:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CPPFLAGS="%{optflags}"
|
|
|
|
scons %{?_smp_mflags} strict_build_flags=0
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -D -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/garbd.service
|
|
|
|
install -D -m 755 %{SOURCE2} %{buildroot}%{_sbindir}/garbd-wrapper
|
|
|
|
install -D -m 755 garb/garbd %{buildroot}%{_sbindir}/garbd
|
|
|
|
install -D -m 755 libgalera_smm.so %{buildroot}%{_libdir}/galera/libgalera_smm.so
|
|
|
|
install -D -m 644 garb/files/garb.cnf %{buildroot}%{_sysconfdir}/sysconfig/garb
|
|
|
|
install -D -m 644 COPYING %{buildroot}%{_docdir}/galera/COPYING
|
|
|
|
install -D -m 644 chromium/LICENSE %{buildroot}%{_docdir}/galera/LICENSE.chromium
|
|
|
|
install -D -m 644 asio/LICENSE_1_0.txt %{buildroot}%{_docdir}/galera/LICENSE.asio
|
|
|
|
install -D -m 644 www.evanjones.ca/LICENSE %{buildroot}%{_docdir}/galera/LICENSE.crc32
|
|
|
|
install -D -m 644 scripts/packages/README %{buildroot}%{_docdir}/galera/README
|
|
|
|
install -D -m 644 scripts/packages/README-MySQL %{buildroot}%{_docdir}/galera/README-MySQL
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
%systemd_post garbd.service
|
|
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun garbd.service
|
|
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
%systemd_postun_with_restart garbd.service
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%config(noreplace,missingok) %{_sysconfdir}/sysconfig/garb
|
|
|
|
%dir %{_docdir}/galera
|
|
|
|
%dir %{_libdir}/galera
|
|
|
|
%{_sbindir}/garbd
|
|
|
|
%{_sbindir}/garbd-wrapper
|
|
|
|
%{_unitdir}/garbd.service
|
|
|
|
%{_libdir}/galera/libgalera_smm.so
|
|
|
|
%doc %{_docdir}/galera/COPYING
|
|
|
|
%doc %{_docdir}/galera/LICENSE.asio
|
|
|
|
%doc %{_docdir}/galera/LICENSE.crc32
|
|
|
|
%doc %{_docdir}/galera/LICENSE.chromium
|
|
|
|
%doc %{_docdir}/galera/README
|
|
|
|
%doc %{_docdir}/galera/README-MySQL
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2015-06-17 06:54:49 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 25.3.5-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-01-26 22:00:44 +00:00
|
|
|
* Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 25.3.5-10
|
|
|
|
- Rebuild for boost 1.57.0
|
|
|
|
|
2014-11-27 22:01:25 +00:00
|
|
|
* Thu Nov 27 2014 Richard W.M. Jones <rjones@redhat.com> - 25.3.5-9
|
|
|
|
- Add aarch64 support.
|
|
|
|
|
2014-08-16 13:36:12 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 25.3.5-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 13:15:30 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 25.3.5-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-23 00:56:12 +00:00
|
|
|
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 25.3.5-6
|
|
|
|
- Rebuild for boost 1.55.0
|
|
|
|
|
2014-04-30 08:00:45 +00:00
|
|
|
* Wed Apr 30 2014 Dan Horák <dan[at]danny.cz> - 25.3.5-5
|
|
|
|
- set ExclusiveArch
|
|
|
|
|
2014-04-28 13:56:12 +00:00
|
|
|
* Thu Apr 24 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.5-4
|
|
|
|
- Use strict_build_flags=0 to avoid -Werror
|
|
|
|
- Remove unnecessary %clean section
|
|
|
|
|
|
|
|
* Thu Apr 24 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.5-3
|
|
|
|
- Include galera directories in file list
|
|
|
|
- Set CPPFLAGS to optflags
|
|
|
|
|
|
|
|
* Wed Apr 23 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.5-2
|
|
|
|
- Fix client certificate verification (#1090604)
|
|
|
|
|
|
|
|
* Thu Mar 27 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.5-1
|
|
|
|
- Update to version 25.3.5
|
|
|
|
|
|
|
|
* Mon Mar 24 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.3-2
|
|
|
|
- Add systemd service
|
|
|
|
|
|
|
|
* Sun Mar 09 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.3-1
|
|
|
|
- Initial build
|