Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37470242
en ru br
ALT Linux repos
S:4.2.2-alt1

Group :: Databases
RPM: pgagent

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: pgagent
Version: 3.4.1
Release: alt1

Summary: Job scheduler for PostgreSQL which may be managed using pgAdmin

License: BSD
Group: Databases
Url: http://www.postgresql.org/ftp/pgadmin3/release/pgagent/

Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

%define REL %(echo "%version" | sed -e "s|\\.|_|g")

# Source-url: https://github.com/postgres/pgagent/archive/REL-%REL.tar.gz

Source: %name-%version.tar

BuildPreReq: cmake postgresql-devel libwxGTK-devel gcc-c++

%description
pgAgent is a job scheduler for PostgreSQL which may be managed using
pgAdmin.  Prior to pgAdmin v1.9, pgAgent shipped as part of pgAdmin.
From pgAdmin v1.9 onwards, pgAgent is shipped as a separate application.

%prep
%setup

%build
cmake \
-DCMAKE_INSTALL_PREFIX:PATH='%prefix' \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_C_FLAGS:STRING='%optflags' \
-DCMAKE_CXX_FLAGS:STRING='%optflags' \
-DCMAKE_STRIP:FILEPATH='/bin/echo' \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DPostgreSQL_CONFIG_EXECUTABLE:FILEPATH='%_bindir/pg_config' \
-DwxWidgets_CONFIG_EXECUTABLE:FILEPATH='%_bindir/wx-config' \
-DSTATIC_BUILD:BOOL=OFF \
-DwxWidgets_USE_STATIC:BOOL=OFF \
-DwxWidgets_USE_UNICODE:BOOL=ON \
-DwxWidgets_wxrc_EXECUTABLE:FILEPATH='%_bindir/wxrc' \
.

%make_build VERBOSE=1

%install
%makeinstall_std VERBOSE=1
rm -f %buildroot/usr/{LICENSE,README}

%files
%doc LICENSE
%_bindir/*
%_datadir/*.sql
%_datadir/pgsql

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin