Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (38 sloc) 1.23 KB
Summary: PostgreSQL Config Tuner
Name: pgtune
Version: 0.9.2
Release: 1%{?dist}
License: BSD
Group: Applications/Databases
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: pgtune-settingsdir.patch
Requires: postgresql-server
Buildarch: noarch
pgtune takes the wimpy default postgresql.conf and expands the database server
to be as powerful as the hardware it's being deployed on.
%setup -q -n %{name}-%{version}
%patch0 -p0
rm -rf %{buildroot}
install -d %{buildroot}%{_bindir}
install -d %{buildroot}%{_datadir}/%{name}
install -m 755 pgtune %{buildroot}%{_bindir}
install -m 644 -p pg_settings* %{buildroot}%{_datadir}/%{name}
rm -rf %{buildroot}
%dir %{_datadir}/%{name}
%attr(755,root,root) %{_bindir}/pgtune
* Wed Oct 28 2009 Devrim Gunduz <> 0.9.1-1
- Initial packaging for PostgreSQL RPM Repository
* Wed Oct 28 2009 Greg Smith <> 0.9.2-1
- Added copyright file, doesn't install sample postgresql.conf file.
You can’t perform that action at this time.