ALT Linux repos
S: | 1.23.0b-alt3 |
5.0: | 1.9.0.rev7510-alt1 |
4.1: | 1.9.0.rev7174-alt1 |
4.0: | 1.8.0.rev6516-alt1 |
3.0: | 1.2.1-alt2 |
Group :: Databases
RPM: pgadmin3
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define snapshot cvs20041122
Name: pgadmin3
Version: 1.2.1
Release: alt2
Summary: pgAdmin III is a powerful administration and development platform for the PostgreSQL database.
License: Artistic
Group: Databases
Url: http://www.pgadmin.org/%name
Source: %name-%version.tar.gz
#Patch0: %name-alt-syslogger-fixes.patch
Patch0: %name-alt-wx-home.patch
Patch1: %name-alt-old-wx-build.patch
# Automatically added by buildreq on Wed Mar 24 2004
BuildRequires: XFree86-libs gcc-c++ glib gtk+ hostinfo libpq-devel libssl-devel libstdc++-devel postgresql-devel wxGTK2u-contrib-stc wxGTK2u-contrib-stc-devel wxGTK2u-devel
%description
pgAdmin III is a powerful administration and development platform for the
PostgreSQL database, free for any use. The application is running under
GNU/Linux, FreeBSD and Windows 2000/XP.
pgAdmin III is designed to answer the needs of all users, from writing simple
SQL queries to developing complex databases. The graphical interface supports
all PostgreSQL features and makes administration easy. The application also
includes a query builder, an SQL editor, a server-side code editor and much more.
pgAdmin III is released with an installer and does not require any additional
driver to communicate with the database server.
%prep
%setup -q
%__subst "s,2\.5\*),2\.6\*),g" configure
%__subst "s,WX_VERSION=\"2\.5\",WX_VERSION=\"2\.6\"," configure
%__subst "s,include\/wx-2\.5,include\/wx-2\.6,g" configure
%build
#/bin/sh bootstrap
%configure
%make_build
%install
%makeinstall
%__rm -rf %buildroot/%_datadir/%name/docs/en_US
%__ln_s %_defaultdocdir/%name-%version/en_US %buildroot/%_datadir/%name/docs/
%__mkdir_p %buildroot/%_menudir
%__cat >| %buildroot%_menudir/%name << 'EOF'
?package(%name): needs="X11" section="Applications/Databases" longtitle="Advanced PostgreSQL front-end" title="pgAdmin III" icon="%_datadir/icons/%name.xpm" command="%_bindir/%name"
EOF
%__mkdir_p %buildroot%_datadir/icons
%__install -p -m 644 src/include/images/pgAdmin3.xpm %buildroot%_datadir/icons/%name.xpm
#%files -f %name.lang
%files
%doc *.txt docs/*
%_bindir/%name
%_datadir/%name/*
%_datadir/icons/%name.xpm
%_menudir/%name
%post
%update_menus
%postun
%clean_menus
%changelog
…
Full changelog you can see here
Name: pgadmin3
Version: 1.2.1
Release: alt2
Summary: pgAdmin III is a powerful administration and development platform for the PostgreSQL database.
License: Artistic
Group: Databases
Url: http://www.pgadmin.org/%name
Source: %name-%version.tar.gz
#Patch0: %name-alt-syslogger-fixes.patch
Patch0: %name-alt-wx-home.patch
Patch1: %name-alt-old-wx-build.patch
# Automatically added by buildreq on Wed Mar 24 2004
BuildRequires: XFree86-libs gcc-c++ glib gtk+ hostinfo libpq-devel libssl-devel libstdc++-devel postgresql-devel wxGTK2u-contrib-stc wxGTK2u-contrib-stc-devel wxGTK2u-devel
%description
pgAdmin III is a powerful administration and development platform for the
PostgreSQL database, free for any use. The application is running under
GNU/Linux, FreeBSD and Windows 2000/XP.
pgAdmin III is designed to answer the needs of all users, from writing simple
SQL queries to developing complex databases. The graphical interface supports
all PostgreSQL features and makes administration easy. The application also
includes a query builder, an SQL editor, a server-side code editor and much more.
pgAdmin III is released with an installer and does not require any additional
driver to communicate with the database server.
%prep
%setup -q
%__subst "s,2\.5\*),2\.6\*),g" configure
%__subst "s,WX_VERSION=\"2\.5\",WX_VERSION=\"2\.6\"," configure
%__subst "s,include\/wx-2\.5,include\/wx-2\.6,g" configure
%build
#/bin/sh bootstrap
%configure
%make_build
%install
%makeinstall
%__rm -rf %buildroot/%_datadir/%name/docs/en_US
%__ln_s %_defaultdocdir/%name-%version/en_US %buildroot/%_datadir/%name/docs/
%__mkdir_p %buildroot/%_menudir
%__cat >| %buildroot%_menudir/%name << 'EOF'
?package(%name): needs="X11" section="Applications/Databases" longtitle="Advanced PostgreSQL front-end" title="pgAdmin III" icon="%_datadir/icons/%name.xpm" command="%_bindir/%name"
EOF
%__mkdir_p %buildroot%_datadir/icons
%__install -p -m 644 src/include/images/pgAdmin3.xpm %buildroot%_datadir/icons/%name.xpm
#%files -f %name.lang
%files
%doc *.txt docs/*
%_bindir/%name
%_datadir/%name/*
%_datadir/icons/%name.xpm
%_menudir/%name
%post
%update_menus
%postun
%clean_menus
%changelog
…
Full changelog you can see here