Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
slony1
slony1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File slony1.spec of Package slony1
# # spec file for package slony1 (Version 1.2.16) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: slony1 %{!?perltools:%define perltools 1} BuildRequires: ImageMagick bison flex ghostscript-fonts-std ghostscript-library openssl-devel postgresql-devel postgresql-libs postgresql-server Summary: A replication system for PostgreSQL Version: 1.2.16 Release: 1 License: BSD 3-clause (or similar) ; GPL v2 or later ; MIT License (or similar) Group: Productivity/Databases/Tools Source0: slony1-%version.tar.bz2 Source1: slony1-%version-docs.tar.bz2 Patch0: slony1-1.2.16-1.2.17rc.diff Url: http://slony.info BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: postgresql-server postgresql-libs %description Slony-I is a "master to multiple slaves" replication system with cascading and failover. The big picture for the development of Slony-I is a master-slave system that includes all features and capabilities needed to replicate large databases to a reasonably limited number of slave systems. Slony-I is a system for data centers and backup sites, where the normal mode of operation is that all nodes are available. Authors: -------- cbbrowne@gmail.com JanWieck@Yahoo.com Slony-I team %prep %setup -q -n %{name}-%{version} %patch0 -p2 %build CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS; ./configure --with-docs --with-docdir=%{_defaultdocdir}/%{name} \ --with-perltools=%{_bindir} --with-toolsbin=%{_bindir} \ --sysconfdir=/etc autoconf make %if %perltools make -C tools %endif mkdir -p doc/html tar jxf %{S:1} -C doc/html %install make PS2PDF=ps2pdf CONVERT=convert DESTDIR=%buildroot install install -m 0755 src/backend/slony1_funcs.so $RPM_BUILD_ROOT/%{_libdir}/postgresql/slony1_funcs.so install -m 0755 src/xxid/xxid.so $RPM_BUILD_ROOT/%{_libdir}/postgresql/xxid.so install -m 0755 src/backend/*.sql $RPM_BUILD_ROOT/%{_datadir}/postgresql/ install -m 0755 src/xxid/*.sql $RPM_BUILD_ROOT/%{_datadir}/postgresql/ install -m 0755 tools/*.sh $RPM_BUILD_ROOT/%{_bindir}/ install -m 0755 share/slon.conf-sample $RPM_BUILD_ROOT/%{_sysconfdir}/slon.conf find doc -name .cvsignore | xargs -r rm -f find doc -name \*.1 -o -name \*.7 -print0 | xargs -0 gzip find doc -type f -print0 | xargs -0 chmod a-x %if %perltools cd tools make DESTDIR=$RPM_BUILD_ROOT install /bin/rm -rf altperl/*.pl altperl/ToDo altperl/README altperl/Makefile altperl/CVS install -m 0755 altperl/slon_tools.conf-sample $RPM_BUILD_ROOT/%{_sysconfdir}/slon_tools.conf install -m 0755 altperl/* $RPM_BUILD_ROOT/%{_bindir}/ install -m 0755 altperl/slon-tools $RPM_BUILD_ROOT/%{_libdir}/postgresql/slon-tools.pm /bin/rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/slon_tools.conf-sample /bin/rm -f $RPM_BUILD_ROOT/%{_bindir}/slon_tools.conf-sample /bin/rm -f $RPM_BUILD_ROOT/%{_libdir}/slon-tools.pm /bin/rm -f $RPM_BUILD_ROOT/%{_bindir}/slon-tools.pm %endif %clean rm -rf %buildroot %files %defattr(-,root,root) %doc COPYRIGHT UPGRADING HISTORY-1.1 INSTALL SAMPLE doc/adminguide doc/concept doc/howto doc/implementation doc/support doc/html %doc /usr/share/postgresql/* %_libdir/postgresql/* %_bindir/* %_sysconfdir/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor