]>
Commit | Line | Data |
---|---|---|
69b2d010 | 1 | %define realname Bucardo |
2 | Summary: PgSQL replication system for both multi-master and multi-slave operations | |
3 | Summary(pl.UTF-8): System replikacji dla PgSQL wspierający multi-master i multi-slave | |
4 | Name: bucardo | |
5 | Version: 4.4.0 | |
601bdf96 | 6 | Release: 0.2 |
69b2d010 | 7 | License: BSD |
8 | Group: Applications/Databases | |
9 | URL: http://bucardo.org/ | |
10 | Source0: http://bucardo.org/downloads/%{realname}-%{version}.tar.gz | |
601bdf96 | 11 | #Source0-md5: bf32b4dc7302baa1bc269dd34ff65da5 |
69b2d010 | 12 | BuildRequires: perl(DBD::Pg) |
13 | BuildRequires: perl(DBI) | |
14 | BuildRequires: perl(DBIx::Safe) | |
15 | BuildRequires: perl(ExtUtils::MakeMaker) | |
16 | BuildRequires: perl(ExtUtils::MakeMaker) | |
17 | BuildRequires: perl(IO::Handle) | |
18 | BuildRequires: perl(Net::SMTP) | |
19 | BuildRequires: perl(Sys::Hostname) | |
20 | BuildRequires: perl(Sys::Syslog) | |
21 | BuildRequires: rpm-perlprov | |
22 | Requires: perl(DBD::Pg) | |
23 | Requires: perl(DBI) | |
24 | Requires: perl(DBIx::Safe) | |
25 | Requires: postgresql-module-plperl | |
26 | Requires: postgresql-module-plpgsql | |
27 | BuildArch: noarch | |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | #testsuite | |
30 | Requires: perl(Test::Harness) | |
31 | Requires: perl(Test::More) | |
32 | Requires: perl(Test::Simple) | |
33 | ||
34 | %description | |
35 | Bucardo is an asynchronous PostgreSQL replication system, allowing for | |
36 | both multi-master and multi-slave operations. It was developed at | |
37 | Backcountry.com primarily by Greg Sabino Mullane of End Point | |
38 | Corporation. | |
39 | ||
40 | %description -l pl.UTF-8 | |
41 | Bucardo jest systemem asynchronicznej replikacji PostgreSQL, | |
42 | pozwalającym na replikację multi-master jak i master-slave. Został | |
43 | on stworzony w Backcountry.com głównie przez Grega Sabino Mullane z | |
44 | End Point Corporation | |
45 | ||
46 | %prep | |
47 | %setup -q -n %{realname}-%{version} | |
48 | ||
49 | %build | |
50 | %{__perl} Makefile.PL INSTALLDIRS=vendor | |
51 | %{__make} | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT | |
56 | install -d $RPM_BUILD_ROOT%{_localstatedir}/run/%{name} | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %doc bucardo_ctl.html Bucardo.pm.html bucardo.schema Changes | |
65 | %doc INSTALL LICENSE README SIGNATURE TODO | |
66 | %{perl_vendorlib}/* | |
67 | %{_mandir}/man3/* | |
68 | %attr(755,root,root) %{_bindir}/%{name}_ctl | |
69 | %{_datadir}/%{name}/%{name}.schema | |
70 | %{_mandir}/man1/%{name}_ctl.1pm* | |
71 | %dir %{_localstatedir}/run/%{name} | |
72 | %dir %{_datadir}/%{name}/ |