Log Message:
-----------
Update to allow RPM builds for Mandrake 10.1 [Hugo Ferreira]

Added Files:
-----------
    pgadmin3/pkg/mandrake101:
        pgadmin3.spec (r1.1)

--- /dev/null
+++ pkg/mandrake101/pgadmin3.spec
@@ -0,0 +1,67 @@
+%define major_version 1.1.0
+%define minor_version %(date +%Y%m%d)
+%define wxGTK2_version 20031010.8
+%define withwxconfig wxgtk2ud-2.5-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 <[EMAIL PROTECTED]>
+BuildRoot: %{_tmppath}/%{name}-root
+
+#
+# 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
+#
+
+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.
+
+%prep
+%setup -q
+
+%build
+export CFLAGS=""
+export CXXFLAGS=""
+configure --with-wx-config=%{withwxconfig} --with-wx=/usr
+make all
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+#strip --strip-debug %{buildroot}/%{_bindir}/%{name}
+
+cp -f ./src/include/images/elephant48.xpm 
%{buildroot}/%{_datadir}/%{name}/%{name}.xpm
+cp -f ./pkg/%{name}.desktop %{buildroot}/%{_datadir}/%{name}/%{name}.desktop
+
+mkdir -p %{buildroot}/%{_datadir}/applications
+
+desktop-file-install --vendor %{desktop_vendor} --delete-original  --dir 
%{buildroot}/%{_datadir}/applications --add-category X-Red-Hat-Base 
--add-category Application --add-category Development 
%{buildroot}/%{_datadir}/%{name}/%{name}.desktop
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root)
+%{_bindir}/%{name}
+%{_datadir}/%{name}
+%{_datadir}/applications
+
+%changelog
+* Mon Jun 10 2003 Jean-Michel POURE <[EMAIL PROTECTED]>
+- Initial build
+
+* Sat Dec 04 2004 Hugo Ferreira <[EMAIL PROTECTED]>
+- Mandrake 10.1 Version
+
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to