Package bucardo: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | Group: Databases # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-build-perl BuildRequires: perl(CGI.pm) perl(CGI/Carp.pm) perl(Encode.pm) perl(Module/Signature.pm) perl(Pod/Usage.pm) perl(charnames.pm) perl-podlators # END SourceDeps(oneline) # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 Name: bucardo Version: 5.5.0 Release: alt1 Summary: Postgres replication system for both multi-master and multi-slave operations License: BSD URL: http://bucardo.org/ Source0: %name-%version.tar Source1: %name.service BuildArch: noarch BuildRequires: postgresql-perl # Build BuildRequires: perl-devel BuildRequires: rpm-build-perl BuildRequires: perl(ExtUtils/MakeMaker.pm) BuildRequires: perl(strict.pm) BuildRequires: perl(warnings.pm) # Runtime BuildRequires: perl(Data/Dumper.pm) BuildRequires: perl(File/Spec.pm) BuildRequires: perl(File/Basename.pm) BuildRequires: perl(Pod/PlainText.pm) BuildRequires: perl(Pod/Parser.pm) BuildRequires: perl(boolean.pm) BuildRequires: perl(open.pm) BuildRequires: perl(Config.pm) BuildRequires: perl(Data/Dumper.pm) BuildRequires: perl(DBD/Pg.pm) BuildRequires: perl(DBI.pm) BuildRequires: perl(DBIx/Safe.pm) BuildRequires: perl(Getopt/Long.pm) BuildRequires: perl(IO/Handle.pm) BuildRequires: perl(Net/SMTP.pm) BuildRequires: perl(POSIX.pm) BuildRequires: perl(sigtrap.pm) BuildRequires: perl(Sys/Hostname.pm) BuildRequires: perl(Sys/Syslog.pm) BuildRequires: perl(Time/HiRes.pm) BuildRequires: perl(vars.pm) BuildRequires: perl(Encode/Locale.pm) # Extra BuildRequires: perl(MongoDB.pm) BuildRequires: perl(DBD/mysql.pm) BuildRequires: perl(Redis.pm) BuildRequires: perl(DBD/SQLite.pm) # Tests only BuildRequires: perl(base.pm) BuildRequires: perl(Cwd.pm) BuildRequires: perl(Exporter.pm) BuildRequires: perl(lib.pm) BuildRequires: perl(Test/More.pm) Requires: postgresql-perl Requires: perl(MongoDB.pm) Requires: perl(DBD/mysql.pm) Requires: perl(Redis.pm) Requires: perl(DBD/SQLite.pm) %description Bucardo is an asynchronous PostgreSQL replication system, allowing for both multi-master and multi-slave operations.It was developed at Backcountry.com primarily by Greg Sabino Mullane of End Point Corporation. %prep %setup # perl.req fails on -*-cperl-*- sed -i -e 's,-- -\*-cperl-\*-,,' Bucardo.pm %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 %make_build %install make pure_install DESTDIR=%{buildroot} DESTINSTALLVENDORSHARE=%{buildroot}/%{_datadir}/%{name} # removing packlist is required for building on fedora-epel find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; sed -i -e '1d;2i#!%{__perl}' %{name} rm -f %{buildroot}/%{_bindir}/%{name} install -p -d -m 0644 %buildroot/var/log/%name install -Dp -m755 bucardo %{buildroot}/%{_sbindir}/%{name} install -Dp -m644 %{name}.schema %{buildroot}/%{_datadir}/%{name}/%{name}.schema install -pD -m 0644 %SOURCE1 %buildroot%systemd_unitdir/%name.service # %{_fixperms} %{buildroot}/ %files %doc --no-dereference LICENSE %doc *.html Changes INSTALL README TODO %dir /var/log/%name %systemd_unitdir/%name.service %{perl_vendor_privlib}/* %{_sbindir}/%{name} %{_datadir}/%{name} %changelog * Wed Apr 10 2019 Ilfat Aminov <aminov@altlinux.org> 5.5.0-alt1 - Build for Sisyphus/classic repo * Fri Mar 01 2019 Igor Vlasenko <viy@altlinux.ru> 5.4.1-alt1_11 - update to new release by fcimport * Mon Dec 17 2018 Igor Vlasenko <viy@altlinux.ru> 5.4.1-alt1_10 - update to new release by fcimport * Wed Sep 27 2017 Igor Vlasenko <viy@altlinux.ru> 5.4.1-alt1_7 - update to new release by fcimport * Thu Aug 03 2017 Igor Vlasenko <viy@altlinux.ru> 5.4.1-alt1_6 - update to new release by fcimport * Wed Mar 15 2017 Igor Vlasenko <viy@altlinux.ru> 5.4.1-alt1_5 - update to new release by fcimport * Sun May 29 2016 Igor Vlasenko <viy@altlinux.ru> 5.4.1-alt1_4 - update to new release by fcimport * Wed Mar 02 2016 Igor Vlasenko <viy@altlinux.ru> 5.4.1-alt1_3 - update to new release by fcimport * Tue Sep 16 2014 Igor Vlasenko <viy@altlinux.ru> 4.5.0-alt3_8 - update to new release by fcimport * Wed Aug 20 2014 Cronbuild Service <cronbuild@altlinux.org> 4.5.0-alt3_7 - rebuild to get rid of unmets * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 4.5.0-alt2_7 - update to new release by fcimport * Tue Jan 29 2013 Cronbuild Service <cronbuild@altlinux.org> 4.5.0-alt2_3 - rebuild to get rid of unmets * Thu Aug 02 2012 Igor Vlasenko <viy@altlinux.ru> 4.5.0-alt1_3 - new release * Thu Sep 04 2008 Mikhail Pokidko <pma@altlinux.org> 3.0.9-alt2 - sisyphus_check fixes * Wed May 14 2008 Mikhail Pokidko <pma@altlinux.org> 3.0.9-alt1 - Initial ALT build + TODO: move .bucardorc to /etc/ |