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