SVN Commit by dpage: r4561 - trunk/pgadmin3/pkg/redhat - Mailing list pgadmin-hackers

From svn@pgadmin.org
Subject SVN Commit by dpage: r4561 - trunk/pgadmin3/pkg/redhat
Date
Msg-id 200510180852.j9I8qU5t011099@developer.pgadmin.org
Whole thread Raw
List pgadmin-hackers
Author: dpage
Date: 2005-10-18 09:52:29 +0100 (Tue, 18 Oct 2005)
New Revision: 4561

Modified:
   trunk/pgadmin3/pkg/redhat/pgadmin3.spec
Log:
Updated Redhat spec file from Devrim


Modified: trunk/pgadmin3/pkg/redhat/pgadmin3.spec
===================================================================
--- trunk/pgadmin3/pkg/redhat/pgadmin3.spec    2005-10-18 08:46:15 UTC (rev 4560)
+++ trunk/pgadmin3/pkg/redhat/pgadmin3.spec    2005-10-18 08:52:29 UTC (rev 4561)
@@ -1,52 +1,61 @@
-%define major_version 1.1.0
-%define minor_version %(date +%Y%m%d)
-%define wxGTK2_version 20031010.8
-%define withwxconfig wxgtk2ud-2.5-config
+# This spec file and ancilliary files are licensed in accordance with
+# The pgAdmin license.
+# In this file you can find the default build package list macros.  These can be overridden
+# by defining on the rpm command line:
+# rpm --define 'macroname value' ... to change the value of the macro.
+
+Summary:    Graphical client for PostgreSQL.
+Name:        pgadmin3
+Version:        1.4.0
+Release:        beta2
+License:        Artistic
+Group:          Applications/Databases
+URL:        http://www.pgadmin.org/
+Packager:    pgAdmin project <pgadmin-hackers@postgresql.org>
+Source:        pgadmin3-%{version}-%{release}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%define wxGTK2_version 2.6
+%define withwxconfig wx-config
 %define desktop_vendor pgadmin
 %define debug_package %{nil}
-%define __os_install_post /usr/lib/rpm/brp-compress

-Summary: Graphical client for PostgreSQL.
-Name: pgadmin3
-Version: %{major_version}
-Release: %{minor_version}
-License: Artistic
-Group: Applications/Databases
-Source: pgadmin3-%{major_version}.tar.bz2
-URL: http://www.pgadmin.org/
-Packager: pgAdmin project <pgadmin-hackers@postgresql.org>
-BuildRoot: %{_tmppath}/%{name}-root
+%define beta 1
+%{?beta:%define __os_install_post /usr/lib/rpm/brp-compress}

-#
-# When rebuilding, wxWindows 2.5 CVS version is needed.
-# wxWindows 2.5 CVS (RPM and SRPMs) snapshots can be downloaded from
-# http://www.pgadmin.org/pgadmin3/development.php page in the Snapshots section
-#
+# When rebuilding, wxWindows source installation is needed. Currently we don't have
+# a stable RPM for wxWindows.
+#BuildRequires: wxGTK2ud >= 2.5-%{wxGTK2_version}, wxGTK2ud-devel >= 2.5-%{wxGTK2_version}, wxGTK2ud-stc >=
2.5-%{wxGTK2_version},wxGTK2ud-xrc >= 2.5-%{wxGTK2_version} 

-BuildRequires: wxGTK2ud >= 2.5-%{wxGTK2_version}, wxGTK2ud-devel >= 2.5-%{wxGTK2_version}, wxGTK2ud-stc >=
2.5-%{wxGTK2_version},wxGTK2ud-xrc >= 2.5-%{wxGTK2_version} 
-
 %description
-PostgreSQL Tools.
+ 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.
+
+ pgAdmin III is developed by a community of database specialists around the world and is
+available in more than 30 languages. It is Free Software released under the Artistic
+License.
+
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}-%{release}

 %build
-export CFLAGS=""
-export CXXFLAGS=""
-%ifarch x86_64 amd64
-%configure --enable-static --with-wx-config=%{withwxconfig} --with-wx=/usr/local --with-ssl LDFLAGS=-L/usr/X11R6/lib64
-%else
-%configure --enable-static --with-wx-config=%{withwxconfig} --with-wx=/usr/local --with-ssl
-%endif
+%configure --enable-static --disable-debug
 make all

 %install
 rm -rf %{buildroot}
 make install DESTDIR=%{buildroot}
-#strip --strip-debug %{buildroot}/%{_bindir}/%{name}
+strip --strip-debug %{buildroot}/%{_bindir}/%{name}

-cp -f ./src/include/images/elephant48.xpm %{buildroot}/%{_datadir}/%{name}/%{name}.xpm
+cp -f ./src/include/images/elephant32.xpm %{buildroot}/%{_datadir}/%{name}/%{name}.xpm
 cp -f ./pkg/%{name}.desktop %{buildroot}/%{_datadir}/%{name}/%{name}.desktop

 mkdir -p %{buildroot}/%{_datadir}/applications
@@ -58,15 +67,32 @@

 %files
 %defattr(-, root, root)
-%{_bindir}/%{name}
+%{_bindir}/*
 %{_datadir}/%{name}
 %{_datadir}/applications

 %changelog
-* Thur Feb 10 2005 Dave Page <dpage@pgadmin.org>
-- 1.2.0
-- Add 64 bit libs per Vasilev Max
+* Tue Oct 18 2005 Devrim GUNDUZ <devrim@gunduz.org>
+- 1.4.0 beta2
+- Changed configure parameters.
+- Spec file makeup

+* Tue Jun 28 2005 Devrim GUNDUZ <devrim@gunduz.org>
+- 1.2.2
+
+* Mon Nov 29 2004 Devrim GUNDUZ <devrim@gunduz.org>
+- 1.2.0 Gold
+
+* Wed Nov 17 2004 Devrim GUNDUZ <devrim@gunduz.org>
+- 1.2.0 RC2
+
+* Mon Nov 15 2004 Devrim GUNDUZ <devrim@gunduz.org>
+- 1.2.0 RC1 rebuilt
+- Fixed spec file so that beta and rc tags will be considered. (Note: AFAICS my previous rpms were broken :( )
+
+* Thu Nov 4 2004 Devrim GUNDUZ <devrim@gunduz.org>
+- 1.2.0 RC1
+
 * Mon Jun 10 2003 Jean-Michel POURE <pgadmin-hackers@postgresql.org>
 - Initial build



pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: bug in beta 2 - dlgEditGridOptions
Next
From: Andreas Pflug
Date:
Subject: Re: Refresh Servers bug