From 2481451e461a44a7f65fb5030e79dc9dee2c2b2b Mon Sep 17 00:00:00 2001 From: amit Date: Mon, 25 Jan 2016 17:08:44 +0900 Subject: [PATCH] Remove spec files. It seems that they are unnecessary in the master branch. Each PostgreSQL major version specific branch has the corresponding spec file, so from here on, update spec files there. --- SPECS/pg_rman92.spec | 78 -------------------------------------------- SPECS/pg_rman93.spec | 78 -------------------------------------------- SPECS/pg_rman94.spec | 65 ------------------------------------ 3 files changed, 221 deletions(-) delete mode 100644 SPECS/pg_rman92.spec delete mode 100644 SPECS/pg_rman93.spec delete mode 100644 SPECS/pg_rman94.spec diff --git a/SPECS/pg_rman92.spec b/SPECS/pg_rman92.spec deleted file mode 100644 index c6e1a13f..00000000 --- a/SPECS/pg_rman92.spec +++ /dev/null @@ -1,78 +0,0 @@ -# SPEC file for pg_rman -# Copyright(C) 2009-2015 NIPPON TELEGRAPH AND TELEPHONE CORPORATION - -%define _pgdir /usr/pgsql-9.2 -%define _bindir %{_pgdir}/bin -%define _libdir %{_pgdir}/lib -%define _datadir %{_pgdir}/share - -## Set general information for pg_rman. -Summary: Backup and Recovery Tool for PostgreSQL -Name: pg_rman -Version: 1.3.1 -Release: 1%{?dist} -License: BSD -Group: Applications/Databases -Source0: %{name}-%{version}.tar.gz -URL: https://github.com/ossc-db/pg_rman -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n) -Vendor: NIPPON TELEGRAPH AND TELEPHONE CORPORATION - -## We use postgresql-devel package -BuildRequires: postgresql92-devel, zlib-devel -Requires: postgresql92-libs - -## Description for "pg_rman" -%description -pg_rman manages backup and recovery of PostgreSQL. -pg_rman has the features below: --Takes a backup while database including tablespaces with just one command. --Can recovery from backup with just one command. --Supports incremental backup and compression of backup files so that it takes less disk spaces. --Manages backup generations and shows a catalog of the backups. - - -## pre work for build pg_rman -%prep -%setup -q -n %{name}-%{version} - -## Set variables for build environment -%build -PATH=%{_bindir}:$PATH USE_PGXS=1 make %{?_smp_mflags} - -## Set variables for install -%install -rm -rf %{buildroot} - -PATH=%{_bindir}:$PATH USE_PGXS=1 DESTDIR=%{buildroot} make %{?_smp_mflags} install - -install -d %{buildroot}%{_bindir} -install -m 755 pg_rman %{buildroot}%{_bindir}/pg_rman - -%clean -rm -rf %{buildroot} - -%files -%defattr(755,root,root) -%{_bindir}/pg_rman - -# History of pg_rman. -%changelog -* Thu Aug 31 2015 - NTT OSS Center 1.3.1-1 -* Thu Jul 30 2015 - NTT OSS Center 1.3.0-1 -* Wed Jan 7 2015 - NTT OSS Center 1.2.11-1 -* Fri Sep 5 2014 - NTT OSS Center 1.2.10-1 -* Tue Aug 12 2014 - NTT OSS Center 1.2.9-1 -* Sun Apr 20 2014 - The pg_rman Development Group 1.2.8-2 -- Fixed the URL. -* Mon Mar 31 2014 - NTT OSS Center 1.2.8-1 -- Update to 1.2.8. -* Fri Dec 28 2013 - NTT OSS Center 1.2.7-1 -- Update to 1.2.7. -- Supporting PostgreSQL 9.3. -- Added required build dependencies. Thanks to Ulrich Habel. -* Mon Sep 2 2013 - NTT OSS Center 1.2.6-1 -- Update to 1.2.6 -* Wed Nov 10 2010 - NTT OSS Center 1.2.0-1 -* Wed Dec 9 2009 - NTT OSS Center 1.1.1-1 -- Initial cut for 1.1.1 diff --git a/SPECS/pg_rman93.spec b/SPECS/pg_rman93.spec deleted file mode 100644 index abdb413b..00000000 --- a/SPECS/pg_rman93.spec +++ /dev/null @@ -1,78 +0,0 @@ -# SPEC file for pg_rman -# Copyright(C) 2009-2015 NIPPON TELEGRAPH AND TELEPHONE CORPORATION - -%define _pgdir /usr/pgsql-9.3 -%define _bindir %{_pgdir}/bin -%define _libdir %{_pgdir}/lib -%define _datadir %{_pgdir}/share - -## Set general information for pg_rman. -Summary: Backup and Recovery Tool for PostgreSQL -Name: pg_rman -Version: 1.3.1 -Release: 1%{?dist} -License: BSD -Group: Applications/Databases -Source0: %{name}-%{version}.tar.gz -URL: https://github.com/ossc-db/pg_rman -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n) -Vendor: NIPPON TELEGRAPH AND TELEPHONE CORPORATION - -## We use postgresql-devel package -BuildRequires: postgresql93-devel, zlib-devel -Requires: postgresql93-libs - -## Description for "pg_rman" -%description -pg_rman manages backup and recovery of PostgreSQL. -pg_rman has the features below: --Takes a backup while database including tablespaces with just one command. --Can recovery from backup with just one command. --Supports incremental backup and compression of backup files so that it takes less disk spaces. --Manages backup generations and shows a catalog of the backups. - - -## pre work for build pg_rman -%prep -%setup -q -n %{name}-%{version} - -## Set variables for build environment -%build -PATH=%{_bindir}:$PATH USE_PGXS=1 make %{?_smp_mflags} - -## Set variables for install -%install -rm -rf %{buildroot} - -PATH=%{_bindir}:$PATH USE_PGXS=1 DESTDIR=%{buildroot} make %{?_smp_mflags} install - -install -d %{buildroot}%{_bindir} -install -m 755 pg_rman %{buildroot}%{_bindir}/pg_rman - -%clean -rm -rf %{buildroot} - -%files -%defattr(755,root,root) -%{_bindir}/pg_rman - -# History of pg_rman. -%changelog -* Thu Aug 31 2015 - NTT OSS Center 1.3.1-1 -* Thu Jul 30 2015 - NTT OSS Center 1.3.0-1 -* Wed Jan 7 2015 - NTT OSS Center 1.2.11-1 -* Fri Sep 5 2014 - NTT OSS Center 1.2.10-1 -* Tue Aug 12 2014 - NTT OSS Center 1.2.9-1 -* Sun Apr 20 2014 - The pg_rman Development Group 1.2.8-2 -- Fixed the URL. -* Mon Mar 31 2014 - NTT OSS Center 1.2.8-1 -- Update to 1.2.8. -* Fri Dec 28 2013 - NTT OSS Center 1.2.7-1 -- Update to 1.2.7. -- Supporting PostgreSQL 9.3. -- Added required build dependencies. Thanks to Ulrich Habel. -* Mon Sep 2 2013 - NTT OSS Center 1.2.6-1 -- Update to 1.2.6 -* Wed Nov 10 2010 - NTT OSS Center 1.2.0-1 -* Wed Dec 9 2009 - NTT OSS Center 1.1.1-1 -- Initial cut for 1.1.1 diff --git a/SPECS/pg_rman94.spec b/SPECS/pg_rman94.spec deleted file mode 100644 index 195500e4..00000000 --- a/SPECS/pg_rman94.spec +++ /dev/null @@ -1,65 +0,0 @@ -# SPEC file for pg_rman -# Copyright(C) 2009-2015 NIPPON TELEGRAPH AND TELEPHONE CORPORATION - -%define _pgdir /usr/pgsql-9.4 -%define _bindir %{_pgdir}/bin -%define _libdir %{_pgdir}/lib -%define _datadir %{_pgdir}/share - -## Set general information for pg_rman. -Summary: Backup and Recovery Tool for PostgreSQL -Name: pg_rman -Version: 1.3.1 -Release: 1%{?dist} -License: BSD -Group: Applications/Databases -Source0: %{name}-%{version}.tar.gz -URL: https://github.com/ossc-db/pg_rman -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n) -Vendor: NIPPON TELEGRAPH AND TELEPHONE CORPORATION - -## We use postgresql-devel package -BuildRequires: postgresql94-devel, zlib-devel -Requires: postgresql94-libs - -## Description for "pg_rman" -%description -pg_rman manages backup and recovery of PostgreSQL. -pg_rman has the features below: --Takes a backup while database including tablespaces with just one command. --Can recovery from backup with just one command. --Supports incremental backup and compression of backup files so that it takes less disk spaces. --Manages backup generations and shows a catalog of the backups. - - -## pre work for build pg_rman -%prep -%setup -q -n %{name}-%{version} - -## Set variables for build environment -%build -PATH=%{_bindir}:$PATH USE_PGXS=1 make %{?_smp_mflags} - -## Set variables for install -%install -rm -rf %{buildroot} - -PATH=%{_bindir}:$PATH USE_PGXS=1 DESTDIR=%{buildroot} make %{?_smp_mflags} install - -install -d %{buildroot}%{_bindir} -install -m 755 pg_rman %{buildroot}%{_bindir}/pg_rman - -%clean -rm -rf %{buildroot} - -%files -%defattr(755,root,root) -%{_bindir}/pg_rman - -# History of pg_rman. -%changelog -* Thu Aug 31 2015 - NTT OSS Center 1.3.1-1 -* Thu Jul 30 2015 - NTT OSS Center 1.3.0-1 -* Wed Jan 7 2015 - NTT OSS Center 1.2.11-1 -* Tue Jan 6 2015 - NTT OSS Center 1.2.10-2 -- Initial cut for 1.2.10