Skip to content

Commit 566c47a

Browse files
author
katsumata.tomonari@oss.ntt.co.jp
committed
release pg_rman-1.2.0.
git-svn-id: http://pg-rman.googlecode.com/svn/trunk@38 182aca00-e38e-11de-a668-6fd11605f5ce
1 parent 686a5b0 commit 566c47a

30 files changed

+12185
-8304
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ OBJS = $(SRCS:.c=.o)
2424
PG_CPPFLAGS = -I$(libpq_srcdir)
2525
PG_LIBS = $(libpq_pgport)
2626

27-
REGRESS = option init show_validate backup_restore
27+
REGRESS = option init show_validate backup_restore snapshot
2828

2929
ifdef USE_PGXS
3030
PG_CONFIG = pg_config

SPECS/pg_rman90.spec

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# SPEC file for pg_rman
2+
# Copyright(C) 2009-2010 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
3+
4+
%define _pgdir /usr/pgsql-9.0
5+
%define _bindir %{_pgdir}/bin
6+
%define _libdir %{_pgdir}/lib
7+
%define _datadir %{_pgdir}/share
8+
9+
## Set general information for pg_rman.
10+
Summary: Backup and Recovery Tool for PostgreSQL
11+
Name: pg_rman
12+
Version: 1.2.0
13+
Release: 1%{?dist}
14+
License: BSD
15+
Group: Applications/Databases
16+
Source0: %{name}-%{version}.tar.gz
17+
URL: http://code.google.com/p/pg-rman/
18+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
19+
Vendor: NIPPON TELEGRAPH AND TELEPHONE CORPORATION
20+
21+
## We use postgresql-devel package
22+
BuildRequires: postgresql90-devel
23+
Requires: postgresql90-libs
24+
25+
## Description for "pg_rman"
26+
%description
27+
pg_rman manages backup and recovery of PostgreSQL.
28+
pg_rman has the features below:
29+
-Takes a backup while database including tablespaces with just one command.
30+
-Can recovery from backup with just one command.
31+
-Supports incremental backup and compression of backup files so that it takes less disk spaces.
32+
-Manages backup generations and shows a catalog of the backups.
33+
34+
35+
## pre work for build pg_rman
36+
%prep
37+
%setup -q -n %{name}-%{version}
38+
39+
## Set variables for build environment
40+
%build
41+
USE_PGXS=1 make %{?_smp_mflags}
42+
43+
## Set variables for install
44+
%install
45+
rm -rf %{buildroot}
46+
47+
USE_PGXS=1 make %{?_smp_mflags} install
48+
49+
install -d %{buildroot}%{_bindir}
50+
install -m 755 pg_rman %{buildroot}%{_bindir}/pg_rman
51+
52+
%clean
53+
rm -rf %{buildroot}
54+
55+
%files
56+
%defattr(755,root,root)
57+
%{_bindir}/pg_rman
58+
59+
# History of pg_rman.
60+
%changelog
61+
* Wed Nov 10 2010 - NTT OSS Center <tomonari.katsumata@oss.ntt.co.jp> 1.2.0-1
62+
* Wed Dec 9 2009 - NTT OSS Center <itagaki.takahiro@oss.ntt.co.jp> 1.1.1-1
63+
- Initial cut for 1.1.1
64+

0 commit comments

Comments
 (0)