Name: pgst
Summary: Intuitive GUI for PostgreSQL management
Version: 1.3
Release: 1.2
License: Artistic
Group: Applications/Databases
URL: http://sourceforge.net/projects/pgst/
Description: Pgst is an intuitive graphical user interface for PostgreSQL management.
The build could not start because the following file is missing: pgst-1.3.tar.gz
The build could not start because the following file is missing: pgst-1.3.tar.gz
The spec file used by the build system currently has the following contents:
# $Id$ # Authority: dries # Upstream: Summary: Intuitive GUI for PostgreSQL management Name: pgst Version: 1.3 Release: 1.2%{?dist} License: Artistic Group: Applications/Databases URL: http://sourceforge.net/projects/pgst/ Source: http://dl.sf.net/pgst/pgst-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: desktop-file-utils %description Pgst is an intuitive graphical user interface for PostgreSQL management. %prep %setup -n %{name} %{__cat} <<EOF >%{name}.desktop [Desktop Entry] Name=PostgreSQL SQL Tool Comment=PostgreSQL database management tool Icon=%{_datadir}/pgst/pixmaps/db-editor.png Exec=/bin/bash %{_datadir}/pgst/pgst.sh Terminal=false Type=Application StartupNotify=true Encoding=UTF-8 Categories=Application;Database;X-Red-Hat-Extra; EOF %build # python prog %install %{__rm} -rf %{buildroot} # strange install script %{__mkdir_p} %{buildroot}%{_datadir} %{__tar} -xf setup.tar -C %{buildroot}%{_datadir} %{__sed} -i 's/python2\.2/python/g;' %{buildroot}%{_datadir}/pgst/pgst.py* %{__sed} -i 's|cd .*|cd %{_datadir}/pgst|g;' %{buildroot}%{_datadir}/pgst/pgst.sh %{__install} -d -m0755 %{buildroot}%{_datadir}/applications/ desktop-file-install --vendor rpmforge \ --add-category X-Red-Hat-Base \ --dir %{buildroot}%{_datadir}/applications \ %{name}.desktop # correct permissions %{__chmod} 644 %{buildroot}%{_datadir}/pgst/config_pgsql.txt # make it runnable from path %{__mkdir_p} %{buildroot}%{_bindir} cd %{buildroot}%{_bindir} %{__ln_s} ../..%{_datadir}/pgst/pgst.sh pgst %{__chmod} 755 pgst %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) # %doc AUTHORS ChangeLog COPYING CREDITS INSTALL LICENSE NEWS README THANKS TODO %{_datadir}/pgst %{_datadir}/applications/*.desktop %{_bindir}/pgst %changelog * Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 1.3-1.2 - Rebuild for Fedora Core 5. * Tue Jan 25 2005 Petr Klima <qaxi@seznam.cz> - 1.3-1 - Update to 1.3. - Added a link in /usr/bin to pgst.sh - Changed BuildArch to "noarch" * Fri Oct 29 2004 Dries Verachtert <dries@ulyssis.org> - 1.2.2-1 - Initial package.